This must be supported for all platforms: UIQ + s60 + other... But as for real you must check it... This is in the same as for ctelephony...symbian support it from 8.0 but not all devices s60...
This is can be far more simple, at least on S60 3rd edition: You just need to create a special resource to tell the system that your application shall be auto-started.
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
There is no public autostart file solution for UIQ3. The method you've written aint working either. How did you get this method? You've actually tried this?
The info came from SE, I've had it working here for months. (pre UIQ3 & S60v3 we were using recognisers, now we're using the UIQ3 and S60v3 supplied methods).
I can't see what you're doing wrongÂ
Thoughts (just because it's what we have here...) :-
You might not see how it works, but it does. I've now found the original mail from SE :-
Quote
Autostart:
The autostarter in the P990 will, in no particular order, launch registered applications on start-up. To register with the autostarter your application must write a .ast file to the autostarter's import folder. On start-up the autolauncher parses the .ast files and will then add new ast files to its database of applications to be started. The ast format contains only the .exe name in plaintext as the folowing example indicates:
calc.ast:
calc.exe
Note: No path is needed, the file is a plaintext, one-line executable name.
The autloauncher will look across different drives for the executable to launch and no path need be specified; if you install to a MS then the autolauncher will launch from the MS; if the executable cannot be found it will be ignored. The ast file must be written (either by the applciation or via SIS) to the following import folder:-
c:\private\10274b9f\import\
Security
The Autostarter will only start your application if it has the ( capability.
Notes / Reminder
• The autostarter only examines it's import folder on start-up
• The .ast file format is a plaintext, no path, simple executable name imported to c:\private\10274b9f\import\
• Your application must have "WriteUserData" Capability
• The autostarter launches in a "Trigger and forget" sense
Forum posts: 23
But as for real you must check it... This is in the same as for ctelephony...symbian support it from 8.0 but not all devices s60...
P.S. To use this you must some capabilites...
Forum posts: 59
Forum posts: 141
check Recognizer example in SDK 9.0
regards,
eswar
Forum posts: 1902
You just need to create a special resource to tell the system that your application shall be auto-started.
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 9
For UIQv3 the file must go in the private folder below, and have a .ast extension, and inside it just contains the name of the exe to launch.
e.g.
\private\10274b9f\import\BarriesAutostart.Ast
where BarriesAutostart.Ast just contains something like :-
BarriesAutostart.exe
So not the same solution for both v3 platforms unfortunately, but both so simple it's not worth wasting too much time grumbling...
Forum posts: 59
There is no public autostart file solution for UIQ3.
The method you've written aint working either.
How did you get this method? You've actually tried this?
Forum posts: 9
I'd forgotten that the exe needs WriteUserData capability (on the device, not on the emu obviously if capability checking is disabled).
Like all exe's etc., with EKA2 the exe must be in c:\sys\bin\
Perhaps post up your mmp, pkg and ast files and I can compare?
Forum posts: 59
- I've tried this for a simple application with one view.
- added WriteUserData i n.mmp file
- added file in my .pkg file:
"..\data\MySpy.Ast"-"!:\private\<sid>\import\MySpy.Ast"
where <SID> is the sub-directory named with the app's ID
- .exe file goes to "!:\sys\bin\MyApp.exe" as it should
- .ast file has only "MyApp.exe" inside
this ain't working, and I still do not think it should...
Or am I missing something?
Forum posts: 9
Forum posts: 59
Forum posts: 9
(pre UIQ3 & S60v3 we were using recognisers, now we're using the UIQ3 and S60v3 supplied methods).
I can't see what you're doing wrongÂ
Thoughts (just because it's what we have here...) :-
Forum posts: 108
Here is a working sample of startup program:
http://symbiancoder.com/
DipakBaviskar
Forum posts: 59
Well, there are no app on UIQ3.
Maybe the issue is you can start only console application?
Forum posts: 59
Here is a working sample of startup program:
http://symbiancoder.com/
That's the S60 example isn't it?
The issues I'm having are for UIQ3.
I really do not see how this would work.
Forum posts: 9
I've now found the original mail from SE :-
The autostarter in the P990 will, in no particular order, launch registered applications on start-up. To register with the autostarter your application must write a .ast file to the autostarter's import folder. On start-up the autolauncher parses the .ast files and will then add new ast files to its database of applications to be started. The ast format contains only the .exe name in plaintext as the folowing example indicates:
calc.ast:
calc.exe
Note: No path is needed, the file is a plaintext, one-line executable name.
The autloauncher will look across different drives for the executable to launch and no path need be specified; if you install to a MS then the autolauncher will launch from the MS; if the executable cannot be found it will be ignored. The ast file must be written (either by the applciation or via SIS) to the following import folder:-
c:\private\10274b9f\import\
Security
The Autostarter will only start your application if it has the ( capability.
Notes / Reminder
• The autostarter only examines it's import folder on start-up
• The .ast file format is a plaintext, no path, simple executable name imported to c:\private\10274b9f\import\
• Your application must have "WriteUserData" Capability
• The autostarter launches in a "Trigger and forget" sense