Symbian 9 autostart

Login to reply to this topic.
Tue, 2006-05-30 07:16
Joined: 2003-08-19
Forum posts: 17
Hi
Is there anything in Symbian 9 that will allow me to do auto start on phone boot ?

I have found the nokia Startup List management API but I was wondering if there is is something that will work across all platforms.

thanks in advance
Guus Davidson

Fri, 2006-06-09 10:11
Joined: 2004-09-20
Forum posts: 23
Re: Symbian 9 autostart
 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...

P.S. To use this you must some capabilites...
Tue, 2006-06-13 15:00
Joined: 2005-03-14
Forum posts: 59
Re: Symbian 9 autostart
Wouldn't recognizers do the trick? They're still supported in Symbian 9.
Thu, 2006-06-15 16:30
Joined: 2005-09-16
Forum posts: 141
Re: Symbian 9 autostart
Hi,

check Recognizer example in SDK 9.0

regards,
eswar
Thu, 2006-06-15 17:28
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 1902
Re: Symbian 9 autostart
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

Fri, 2006-06-16 12:24
Joined: 2006-06-06
Forum posts: 9
Re: Symbian 9 autostart
and in UIQv3 there's a plain text file that does the same as the s60v3 resource.

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...
Thu, 2006-06-22 08:08
Joined: 2005-03-14
Forum posts: 59
Re: Symbian 9 autostart
Hej

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?
Thu, 2006-06-22 10:24
Joined: 2006-06-06
Forum posts: 9
Re: Symbian 9 autostart
Yup, its up and running on p910i and m600i.

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?
Thu, 2006-06-22 12:44
Joined: 2005-03-14
Forum posts: 59
Re: Symbian 9 autostart
Checked on both P990 and M600.

- 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?
Thu, 2006-06-22 12:48
Joined: 2006-06-06
Forum posts: 9
Re: Symbian 9 autostart
use the private folder I said for the Ast file, the one highlighted in red.
Mon, 2006-06-26 12:25
Joined: 2005-03-14
Forum posts: 59
Re: Symbian 9 autostart
I doesn't work.
Mon, 2006-06-26 15:29
Joined: 2006-06-06
Forum posts: 9
Re: Symbian 9 autostart
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  Sad

Thoughts (just because it's what we have here...) :-
  • Try it with a simple exe not an app.
  • Install it directly to c: not !:
Tue, 2006-06-27 06:39
Joined: 2004-07-09
Forum posts: 108
Re: Symbian 9 autostart
Hi,

Here is a working sample of startup program:

http://symbiancoder.com/

DipakBaviskar

Tue, 2006-06-27 08:25
Joined: 2005-03-14
Forum posts: 59
Re: Symbian 9 autostart
Quote from: Barrie
  • Try it with a simple exe not an app.

Well, there are no app on UIQ3.
Maybe the issue is you can start only console application?
Tue, 2006-06-27 08:26
Joined: 2005-03-14
Forum posts: 59
Re: Symbian 9 autostart
Quote from: Dip
Hi,

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.
Tue, 2006-06-27 10:08
Joined: 2006-06-06
Forum posts: 9
Re: Symbian 9 autostart
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

  • Login to reply to this topic.