Windows Mobile Application Developer Chat Recap
A few weeks ago we announced the Windows Mobile application developer chat, which took place last Thursday. MVPs and Microsoft employees opened the floor to questions and provided a top-ten tip list for Windows Mobile application development. While you can find the top-ten tip list at this Microsoft blog and will soon see the chat transcript at this Microsoft Web site, I thought it might be nice to post some paraphrased excerpts of the type of questions and answers that came up in the chat.
Question: I've recently started looking at Unit Testing (mainly using NUnit) and have come across NUnitLite for unit testing on the Compact Framework, which works well, but have not been able to find any mocking frameworks (such as nMock), any suggestions?
Answer: I would suggest you check out the unit testing available in Visual Studio 2008. This is also available for .Net CF applications.
Question : Hi, I'm searching for a way to become more than the best Cell Tower from RIL.dll. Is there any chance to get the other Cell Towers?
Answer: There is a RIL API for Windows CE that you can theoretically access with Windows Mobile. However, this is not supported so you would be on your own (i.e. without help from MS) in accessing this APIs from WM. See: <https://msdn.microsoft.com/en-us/library/aa923065.aspx>
Question: Is there a system log in Windows Mobile similar to event log on desktop Windows? I am interested in system events.
Answer:Not really. The OpenNetCF does provide some logging capability you could use. In the Smart Device Framework (www.opennetcf.com/sdf) you can use the OpenNETCF.Diagnostics.EventLog. It is the same object model as the .NET Framework but logs to an XML file. Here is an article that uses the class: https://msdn.microsoft.com/en-us/library/aa446519.aspx
Question: I am looking for errors that occur during OTA sync (not through desktop active sync).
Answer: To enable device logging, go to ActiveSync->Menu->Configure Server->Next->Advanced and turn up Event logging to Verbose. The logs will be saved in the Windows\ActiveSync folder. OTA errors will be here.
If you’re interested in future Windows Mobile application developer chats, the next one is on November 11, 2008, 10-11am (PST). For more information about joining chats and upcoming chats, see this Microsoft Web site.
Comments
Anonymous
October 26, 2008
Any News in Silverlight Integration In Windows Mobile ?Anonymous
October 27, 2008
The question about mocking (not unit testing): rhino mocks reportedly works. RIL: download the source to GoogleGears for Windows Mobile. It has everything you need for doing cell tower stuff.Anonymous
April 13, 2009
I was wondering if anybody know where ActiveSync password get stored on the Device? I need to know tis to ensure security for the password either on File level or registry level [If Any!] Thanks for the help. -DKAnonymous
June 10, 2009
The comment has been removed