I am making Windows Mobile 6.5 Application using C sharp.
In the application, I am opening the default browser in a case. When I open the browser, the application is still runing in background. But I wish that the application is not runing and when the user returns to the application, the application is runing again.
So, I should know t开发者_如何转开发he status that the application is runing in background or in foreground. How to know that???
If anyone knows that, please reply to me. Thanks in advance.
Take a look at this
http://msdn.microsoft.com/en-us/library/microsoft.windowsmobile.status.systemproperty.aspx
The property ActiveApplication
Will help you with what you want.
Also I found this video with Daniel Moth using the stuff above
http://www.microsoft.com/uk/msdn/screencasts/screencast/191/Windows-Mobile-Managed-APIs-Status.aspx
精彩评论