Guest pronto Posted April 6, 2003 Report Posted April 6, 2003 Hi, I need to invoke my application when a specific SMS comes in. I've found the API "SmsSetMessageNotification" which start the application. The thing is, I need this process of registration to be as transparent as possible to the user. I would prefer him not to manually start a "listener" application first. In other words can I create some sort of "NT service" or "Unix daemon" type of application which will start when the handset is turned on? Does anyone know how to do this? Is that the correct way to go about solving the problem?
Guest v1nn1e Posted April 6, 2003 Report Posted April 6, 2003 I am not too sure what exactly you want to do but if you want a program/service to start with the phone you can put it in, or provide a shortcut in, the startup folder in IPSMwindows
Guest pronto Posted April 7, 2003 Report Posted April 7, 2003 Thanks vin, putting the application in the startup folder would be a good idea, but isn't any way to create a service that would run automatically when the phone starts like a desktop service that could not be remove easily like a shortcut ?
Guest v1nn1e Posted April 7, 2003 Report Posted April 7, 2003 You mean putting entries in the startup section in the registry like windows? if it has one!
Guest florin_m Posted April 8, 2003 Report Posted April 8, 2003 In Hkey_local_machineinit u have all the services starting :lol: So to add/modify u need to be privileaged to do so! So that's the hint for you.
Guest pronto Posted April 8, 2003 Report Posted April 8, 2003 Thanks guys for the answers. Do you know what privileges do I need and how do I get it ? what do I have to do in order to add my own service ? :?
Guest pronto Posted April 8, 2003 Report Posted April 8, 2003 another thing, the problem with putting application on the startup folder or putting entries in the registry is that they'd create an unnecessary window for the application, unlike NT service on desktop that runs quietly upon system startup without any console or window. is it possible to do something like that on smartphone ?
Guest madu Posted April 9, 2003 Report Posted April 9, 2003 Do a similar thing to 'Smartface' (whocall) - it just runs in the background... (as i understand)
Guest pronto Posted April 13, 2003 Report Posted April 13, 2003 does 'Smartface' runs as invisible window ?
Guest madu Posted May 1, 2003 Report Posted May 1, 2003 Seems like that.. How are you getting on with that??
Guest Soyale Posted May 3, 2003 Report Posted May 3, 2003 You don't need an invisible window, you can just go into a non busy loop in your WinMain function, no Window required. Any help? There isn't really a concept of a service on Windows CE. One thing you might try is to write a driver DLL which will be started by the system on bootup and has no window. Depending what you want to achieve, this might be the way.
Guest madu Posted May 3, 2003 Report Posted May 3, 2003 Or maybe amend/recode the original driver to default the SMS Notif. ON, but you'l prob need the source for that ;) and since the original's most likely an MS DLL, the hopes for source are in vain....
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now