|
|
User login
Feeds |
Autostart strategies for Symbian 9.1...
|
|||||
| Tue, 2006-03-21 21:38 | |
|
We've previously used an MDL recognizer to autostart a UI-less server process in our application (it does Bluetooth listening among other things).
What I'd like to hear is if someone has been successful at launching a process from a Symbian 9.1 ECOM-based recognizer? I've have had troubles making it work (yep, the installer has been signed with a developer certificate with the required Capabilities). This has, so far, been on prototype hardware. Of course, 3rd Edition has its Startup List Management API which would fit our bill perfectly (I think; depending on its need for Capabilities). But what about devices based on UIQ 3 (assuming ECOM-based recognizers do not work for process launching, or one'd prefer to not be forced to certify&sign the installer)? I have read something somewhere (forgot where) to the effect that there'd be a not yet documented (or possibly private) Symbian 9.1 API for this sort of thing. Assuming it's just undocumented, does anyone have any pointers to details/headers/experiences/whatever that might help? As a side-note, I find it Best. -- Jonas |
|
Forum posts: 31
You say you're using Bluetooth. Are you sure that the Bluetooth subsystem has been initialised when you try to use it from the server you start at boot? You might need to delay for a short while before starting to listen.
Gavin
Forum posts: 25
as far as I know there is no need to "wait for a while", because a process can theck that a server is running (TFindServer) and launch a server you need with RProcess:Create(). and ensure that the server has started.
Forum posts: 9
But now at least I know it's not impossible to achieve this with an ECOM recognizer in 9.1, so it's worth spending more time in debugging this.
You did try this with a real device, right?
Best.
--
Jonas
PS. I should correct/clarify my first post for future readers: the S60v3 Startup List Management API does require the installed application to be trusted (Symbian Signed), so this approach doesn't hold any advantages over the ECOM model in that regard.
You say you're using Bluetooth. Are you sure that the Bluetooth subsystem has been initialised when you try to use it from the server you start at boot? You might need to delay for a short while before starting to listen.
Gavin
Forum posts: 31
Yes, the technique has been used successfully with pre-release s60v3 and UIQ3 phones.
You can use ECOM recognisers on the emulator, so you should be able to debug that side of it before getting your BT service running on the device. The epocwind.out log in %TEMP% might help highlight some problems.
Gavin
Forum posts: 9
Best.
--
Jonas
Yes, the technique has been used successfully with pre-release s60v3 and UIQ3 phones.
You can use ECOM recognisers on the emulator, so you should be able to debug that side of it before getting your BT service running on the device. The epocwind.out log in %TEMP% might help highlight some problems.
Gavin
Forum posts: 174
http://ptrmobile.blogspot.com/
Forum posts: 17
How to remove the autostart property of my application from programming.