Given that you are using RAPI I get the feeling that you want to perform some action on the phone once it's connected. There's not any APIs provided to let you do this. What is your end goal here?
Joel Ivory Johnson
Posts
-
Windows Mobile Phone 7 Connection problem.
-
Windows Mobile Phone 7 Connection problem.Windows Mobile and Windows Phone are different operating systems. They are about alike as a PC and an Xbox. Code you write for Windows Mobile will not run on Windows Phone. Windows Phone doesn't interact with the desktop using the Windows Mobile Device Center. It interacts with the desktop through Zune. There is no RAPI on Windows Phone. I'm not sure what your end goal is, but with Windows Phone being different than what I believe your expectations to be it's possible that you are trying to do something with the phone that is not doable. Why is it that you are trying to use RAPI?
-
WP7 appsI've done it before, and the results are not pretty. You can compile programs and you can deploy them to a real device, but you cannot debug them on XP. As already mentioned this isn't supported. Running the Windows Phone Dev Tools on Windows XP[^]
-
shortcut icon for webpage on windows 7 mobileIt's not Windows *Mobile* 7, it's Windows *Phone* 7. Windows Mobile 7 was a product that never made it to the public. Just zoom into the web page to the area that you want to be your tumbnail, open the menu at the bottom, and select "Pin to start." You cannot programmatically do this. The only way your web app could be pined to a user's home page is if she chooses to do so herself.
-
smart device C# 3.5 ,MENU shortcut problemThat's being done automatically by the operating system. On phones with no dial pad that won't occur. There's no need for you to worry about that. It will come and go as needed.
-
How to measure the power of the network (the WIFI signal) in windows-mobile ?There's an article here on CodeProject that shows how to probe Windows Mobile for Wi-Fi metrics. I can't remember the name, but it has the information you are seeking.
-
Making a connection through serial from mobile to pc -
Develop 3D app for iPhone / Android / WinMo -
Can not connect to SSL web service from windows mobile. -
Where to StartNote that if you want to develop for Windows Phone 7 only C# is supported at this time. The Windows Phone 7 developer tools are available as a free download from http://developer.windowsphone.com.
Joel Ivory Johnson
-
How can I install an app inside a storage card? [modified]It's doing this because when you made your CAB you hard coded the destination path. What you should have done is right'clicked in the file system editor and selected "Add Special Folder." The folder you want to add is the Application folder. When the cab is actually installed then the files that you placed in there will be copied appropriatly to their destinations.
Joel Ivory Johnson
-
Future of Windows MobileDr. William J. Blanke wrote:
But no matter how many developers you have, you can't write a VPN for Windows Phone 7 in Silverlight or XNA.
true. Microsoft acknowledges that there are scenarios (Especially business scenarios) that will not be possible for third party developers to implement on Windows Phone 7 with the access that they are giving us to the system today. But Miocrosoft has also repeatedly expressed that satisfying enterprise and business needs isn't first priority in the initial release of Windows Phone 7. ( see the Focus, Focus, Focus [^] blog post). I thought that Ginny Caughey expressed the same concept so eloquently in the MSDN forums not long ago. In this post [^] she says "...for most folks, the measure of a phone isn't whether it has multitasking or a SQL database or removable storage, but how the thing works in their lives." The iPhone started to erode away at the Windows Mobile marketshare at release even without the ability to add applications. But it provided a great experience out of the box. Needs for databases, network access, and other needs will be addressed later on. Right now Microsoft is concentrating on making a phone that provides a good user experience. For now note that Microsoft is still directing enterprises to Windows Mobile 6.5 for their mobile needs.
Joel Ivory Johnson
-
Future of Windows MobileDr. William J. Blanke wrote:
Some ISVs have already thrown in the towel: http://blogs.zdnet.com/microsoft/?p=5654\[^\]
I wouldn't read to much into that. While I expect some developers to leave the Windows Phone platform at the same time the move Microsoft has made brings a much larger body of developers to the platform (or rather it brings the platform to the developers). There was already a number of XNA developers and an even greater number of Silverlight developers. Both will be able to use their existing skillset to target Windows Phone. So developers supporting the platform will be plentiful.
Joel Ivory Johnson
-
How can I run a exe in the start up of a windows mobile deviceThere's an entire article here on CodeProject discussion all the ways you can trigger a program to startup. Automatically Starting Your Application on Windows Mobile[^]
Joel Ivory Johnson
-
Future of Windows MobileAs you've probably found by now Windows Phone 7 is in no way compatible with Windows Mobile. You can't really infer much from it being based off of Windows CE. My Zune's OS is based on Windows CE, the Slingbox's OS is based on Windows CE, some remote controls and Picture frames are based on Windows CE, and Ford Sync is based off of Windows CE. Yet I would not expect for software for any one of these to be able to run on any other. I know Adobe's expressed interest in Windows Phone 7, but have't heard confirmation they are making a flash plugin. There does exist native development for Windows Phone 7 but access to it is limited. Applications will need to be signed to be run and th eonly method of distribution will be the Windows Marketplace for Mobile.
Joel Ivory Johnson
-
Why application icon is not showing up?The icon needs to be set as the icon for the executable in your development environment. Assuming this is a .Net developed program you can right-click on your project, select "Properties", and then you will find the option to set the EXE's icon. If you want the program to show up in the "Remove Programs" UI you will need to have installed it using a cab. For more information on that see htis: Deployment[^]
Joel Ivory Johnson
-
How to program sleep in windows mobileI just answered this above, but for the sake of some one else that reads this question you shouldn't use Sleep to schedule a thread to run. Instead you must use CeRunAppAtTime. For information on using this function with an event you can see the MSDN documentation page ( here[^]) or you could see the CodeProject.com article I wrote on scheduling a program to automatically start (which is also applicable to threads ig you use the info at the above link) from here[^].
Joel Ivory Johnson
-
How can I use CeRunAppAtTime for a threadStart your thread immediatly. When the thread starts have it to create an unnamed event. After creating the event the thread can call CeRunAppAtTime and pass the event handle. Then call the Wait function using the even't handle as athe parameter. The thread will be blocked from running until the event gets triggered. For information on using CeRunAppAtTime with an event handle please see my comment at the bottom of This MSDN Documentation page[^]
Joel Ivory Johnson
-
Fastest drawing with WinMo 6If you are drawing sprites then you should use DirectDraw. Unfortunatly DirectDraw isn't directly exposed to .Net developers. But there's another CodeProject article where some one declared all of the imports necessary to begin using DirectDraw from the .Net Compact Framework.
Joel Ivory Johnson
-
Finding certification errorI think I just answered your question in the MSDN forums. For others looking for the answer you need to change your device security settins so that it will run unsigned executables. Connect your phone to your computer then in Visual Studio select Tools->Device Security Manager. From there you can change the device's security model to "Security Off"
Joel Ivory Johnson