Pocket PC FAQ Forums Forum Index Pocket PC FAQ Forums
The place to discuss Windows Mobile, Pocket PCs, Smartphones, Handheld PCs, Windows CE and More!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

user application on windows mobile 6

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Pocket PC FAQ Forums Forum Index -> Windows Mobile 6
View previous topic :: View next topic  
Author Message
atique_jcc
Pocketeer


Joined: 03 Aug 2008
Posts: 3

PostPosted: Sun Aug 03, 2008 1:30 pm    Post subject: user application on windows mobile 6 Reply with quote

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
View user's profile Send private message
jblaufuss
Pocketeer


Joined: 03 Aug 2008
Posts: 1
Location: spokane,wa

PostPosted: Sun Aug 03, 2008 10:04 pm    Post subject: Reply with quote

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 Smile
_________________
http://myphonelocator.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ChrisDeHerrera
Site Admin


Joined: 01 Feb 2000
Posts: 7017
Location: Los Angeles, CA, USA

PostPosted: Mon Aug 04, 2008 9:00 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
atique_jcc
Pocketeer


Joined: 03 Aug 2008
Posts: 3

PostPosted: Mon Aug 04, 2008 11:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
ChrisDeHerrera
Site Admin


Joined: 01 Feb 2000
Posts: 7017
Location: Los Angeles, CA, USA

PostPosted: Tue Aug 05, 2008 3:40 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
atique_jcc
Pocketeer


Joined: 03 Aug 2008
Posts: 3

PostPosted: Wed Aug 06, 2008 2:56 am    Post subject: Reply with quote

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
View user's profile Send private message
ChrisDeHerrera
Site Admin


Joined: 01 Feb 2000
Posts: 7017
Location: Los Angeles, CA, USA

PostPosted: Sun Aug 10, 2008 7:25 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Pocket PC FAQ Forums Forum Index -> Windows Mobile 6 All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Copyright 2001-2010, Chris De Herrera, All Rights Reserved

Powered by phpBB © 2001, 2005 phpBB Group