detect autostart on 3rd edition

Login to reply to this topic.
Thu, 2007-06-07 18:01
Joined: 2005-09-04
Forum posts: 135
Hi
I managed to autostart my app using the Startup list management API.
But I can't detect if it was autostarted of manually started.
I use the code described here:
http://www.newlc.com/How-to-detect-if-an-application-is.html

But at ProcessCommandParametersL method I always get to the "else" block(when app autostarts and when I open it manually - same result).

Did anyone encounter this problem?
Do you know what can cause this?

Thanks

Thu, 2007-06-07 23:02
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 1978
Re: detect autostart on 3rd edition
Have you regenerated your registration file ? If you go into the "else" statement,  that means that the opaque data cannot be found and this could be the cause.


Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Fri, 2007-06-08 11:01
Joined: 2005-09-04
Forum posts: 135
Re: detect autostart on 3rd edition
Thank you
Yes I regenerated all resources and checked the creation date of the files.
But the result is the same ...
  • Login to reply to this topic.