How do I make my application come at startup? Im using a Nokia N97 phone emulator on my pc .... I'm developing using java for Symbian S60 5th edition.
Please help
Thanks
How do I make my application come at startup? Im using a Nokia N97 phone emulator on my pc .... I'm developing using java for Symbian S60 5th edition.
Please help
Thanks
With Java, as far as I know, you can't, at least not directly. With C++ you can use the Startup List Management API. It might be possible to write a C++ shim that launches your Java app, but I don't think I've ever seen that.
On S40 you can auto-start midlets with Nokia-MIDlet-auto-start. For a lot of application 'auto-start'-like behaviour can be achieved with the Push Registry. I presume you have explored this as a possibility?
On Symbian (at least, on 9.1) information about startup is contained in directory C:\Private\101f875a\startup
Each file contains data in such form:
[01][00][00][00][length(path)*4][path]
Like this:
30*4=120=0x78
v
01 00 00 00 78 63 3a 5c
c : \
73 79 73 5c 62 69 6e 5c
s y s \ b i n \
43 6c 6f 63 6b 41 6c 61
C l o c k A l a
72 6d 53 74 61 72 74 2e
r m S t a r t .
65 78 65
e x e
But to get access to that file, you have to do so much...
I think Symbian C++ applications have some API to add themselves to startup.