View previous topic :: View next topic |
Author |
Message |
atique_jcc Pocketeer
Joined: 03 Aug 2008 Posts: 3
|
Posted: Sun Aug 03, 2008 1:30 pm Post subject: user application on windows mobile 6 |
|
|
Hi,
I am newly joined member here.I really want to participate in several interesting discussion actively..
Anyway I am doing some development works on mobile applications based on windows mobile 6 platform.But facing some obstacles.
That is I want to design my application in such a way that it will automatically boot with the device startup time.Moreover it will run on background process like virus scanner application to observe several types of events(voice call,networks cell-id changes,incoming messages).
I will be really grateful if someone can give me some guideline about the design process..
Atique..
Helsinki,Finland. |
|
Back to top |
|
 |
jblaufuss Pocketeer
Joined: 03 Aug 2008 Posts: 1 Location: spokane,wa
|
Posted: Sun Aug 03, 2008 10:04 pm Post subject: |
|
|
The only way I know of to get your application to start automatically is to install it to the Windows startup folder.
As far as having it run in the background, I have always started the app and the call this.hide() It hides the form from view and is not visible in the processes.
Hope this helps  _________________ http://myphonelocator.com |
|
Back to top |
|
 |
ChrisDeHerrera Site Admin
Joined: 01 Feb 2000 Posts: 7017 Location: Los Angeles, CA, USA
|
Posted: Mon Aug 04, 2008 9:00 am Post subject: |
|
|
Hi,
You can also setup services as well.
In either case, you need to make sure that your app is very efficient from a ram and performance perspective because it will handle many events. Otherwise it will appear to slow down the device.
Also, there's a limit on the number of processes that can run at one time on a device so that may be another issue. _________________ Chris De Herrera
Microsoft MVP - Mobile Devices & Tablet PC
http://www.pocketpcfaq.com- The most complete set of FAQs on Windows CE
http://www.tabletpctalk.com - Get the latest Tablet PC News
http://www.pocketpctalk.com - Get the latest Pocket PC News
http://www.mobilitytalk.com - Quickly view all the Pocket PC & Tablet PC News on one page |
|
Back to top |
|
 |
atique_jcc Pocketeer
Joined: 03 Aug 2008 Posts: 3
|
Posted: Mon Aug 04, 2008 11:39 pm Post subject: |
|
|
Thank you very much for your reply...
Anyway,do I need any modification in my application or just to install in windows startup??
And I am not quite clear about service setup as I am novice in this area.Can u pls explain me?Do u have idea about process limit?? |
|
Back to top |
|
 |
ChrisDeHerrera Site Admin
Joined: 01 Feb 2000 Posts: 7017 Location: Los Angeles, CA, USA
|
Posted: Tue Aug 05, 2008 3:40 pm Post subject: |
|
|
Hi,
To have it run in Startup you do not have to modify the app. However it may be closed by the user. There is a limit of 32 apps running at once on Windows CE however Windows Mobile overrides this based on the amount of free ram and cpu reqirements so your app may be closed.
The service function is somthing for an advanced developer.
Overall I suggest that you visit http://msdn.microsoft.com to research these items. _________________ Chris De Herrera
Microsoft MVP - Mobile Devices & Tablet PC
http://www.pocketpcfaq.com- The most complete set of FAQs on Windows CE
http://www.tabletpctalk.com - Get the latest Tablet PC News
http://www.pocketpctalk.com - Get the latest Pocket PC News
http://www.mobilitytalk.com - Quickly view all the Pocket PC & Tablet PC News on one page |
|
Back to top |
|
 |
atique_jcc Pocketeer
Joined: 03 Aug 2008 Posts: 3
|
Posted: Wed Aug 06, 2008 2:56 am Post subject: |
|
|
Hi,
Thanks again.
Another thing is, if I want to implement process backup in case of process crashes in my application ,what sort of thing I need to do?? |
|
Back to top |
|
 |
ChrisDeHerrera Site Admin
Joined: 01 Feb 2000 Posts: 7017 Location: Los Angeles, CA, USA
|
Posted: Sun Aug 10, 2008 7:25 am Post subject: |
|
|
Hi,
I do not suggest that you create 2 processes. You can schedule a process to check on yours if you want.
This is another advanced feature. _________________ Chris De Herrera
Microsoft MVP - Mobile Devices & Tablet PC
http://www.pocketpcfaq.com- The most complete set of FAQs on Windows CE
http://www.tabletpctalk.com - Get the latest Tablet PC News
http://www.pocketpctalk.com - Get the latest Pocket PC News
http://www.mobilitytalk.com - Quickly view all the Pocket PC & Tablet PC News on one page |
|
Back to top |
|
 |
|