Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Autostart application from memory stick

6 replies · 2,265 views · Started 20 April 2004

Is there anyway to autostart (like plug�n play) an application on a memory stick when it is inserted?

/Mihon

well if you have Sman or AutoStart installed on the phone, then if (for example) you want Unreal Player to be started when you insert MS, then just install it on the stick, and choose it to be auto started when the phone restarts.
if the stick is out and you restarted the phone, it won't find the app. but it'll start it whenever the stick is inserted!

don't know if this works evertime the stick is inserted, but sure that i'll work when the phone is restarted (at least once)

hope that would help 😉

Ok, but I got an even better solution (I hope) from an other forum...

"use a recogniser (.mdl)to launch the application.
the recogniser will be started when the card is inserted, and from there you can launch your application."

I will try this out and come back with the result.

/Mihon

good idea.. but don't think it'll work that way, as I guess that only work when you restart the phone!

let us know if if works, and how 😊

It worked perfectly...
The only thing to think about is to create the folders \system\recogs on the MS and put the recognizer there. The application starts when you insert the MS as well as when you restart the phone.

/Mihon

try removing the stick and inserting it again... will it do the same?

edit: and how you created the recognizer?

Yes it starts just fine...

I did not create it from scratch myself, I used this (http://www.cs.helsinki.fi/u/mraento/symbian/autostart.html)
to start with and it worked fine with .exe but did not start my .app.
I used this
(http://discussion.forum.nokia.com/forum/showthread.php?threadid=7954&highlight=%2Arecognizer%2A)
and mixed a bit and now it starts .exe and .app just great. The only thing to bear in mind is that the .app needs more time to start up when you start the phone...

/Mihon