Re: Auto Startup Application Signing!
[QUOTE=tal.shahar@mobile-mx.com;534057]Hi, I have a more complex need.
Symbian signed criteria require that a user be given control over startup - e.g. Autostart yes/no
does anyone know if there is a way to temporarily disable startup registered through the startuplist API ? of course I can save the fact that autostart is disabled somewhere and have the process kill itself as soon as it is launched, but I am looking for the more elegant solution.[/QUOTE]
I am not aware if such temporary setting exists in Startup List Management API but I would suggest you check this technical solution for enabling/disabling autostart dynamically. [URL="http://wiki.forum.nokia.com/index.php/TSS000371_-_How_can_I_disable_autostart_if_it_is_enabled%3F_How_can_I_make_autostart_/autoboot_dynamic%3F"]TSS000371 - How can I disable autostart if it is enabled? How can I make autostart /autoboot dynamic?[/URL]
Re: Auto Startup Application Signing!
Kiran10182, thanks for the quick turnaround.
maybe you can help sort out the following:
my application consists of a GUI application for settings and an .exe with no UI (no appui) that does the work, this is the process I launch at startup.
since auto start can be disabled, I must allow for the user a way to start it. the way I do it is when the UI application is started, it starts the exe using RProcess:
iCallEngineProcess.Create(_L("\\sys\\bin\\callengine.exe"), _L(""));
iCallEngineProcess.Resume();
now the problem is that when the UI application is closed, it takes the exe down with it ! is there a solution for this ?
Re: Auto Startup Application Signing!
I take back my last post. the code was missing the .Resume call
everything is OK
Re: Auto Startup Application Signing!
Hi,
As we can start up the application on boot by using [URL="http://wiki.forum.nokia.com/index.php/How_to_autostart_an_application_on_boot_up_in_3rd-_Startup_List_Management_API"]Auto Startup[/URL]. I am trying that. I have following doubts
1. How to get the application signed? I am new to this. Do they provide UID for app or something else? Do we need application to be signed even to run on emulator?
2. Can I try start up with emulator? As of now i dont have the S60, 3rd Ed, FP1 device. So i was thinking if i can test this in emulator? or i have to test this only on phone?
May sound silly, but what i have done is followed all the steps and I am starting emulator as stand alone and expecting the application to start up, which is not happening.
Please provide your opinion.
Thanks in advance,
Sandeep
Re: Auto Startup Application Signing!
I have encountered the other thread first, so see comments there ([url]http://discussion.forum.nokia.com/forum/showthread.php?t=156751[/url])
Re: Auto Startup Application Signing!
1>i developed my application
2>requested for Protected range UID
3>got Protected range uid
4>changed UID3 from previous to Protected range UID
5>in 2002976A.rss write like below
[CODE]
#include <startupitem.rh>
RESOURCE STARTUP_ITEM_INFO startexe
{
executable_name = "c:\\sys\\bin\\monitorKey.exe";
recovery = EStartupItemExPolicyNone;
}
[/CODE]
and in .mmp file i updated with below code
[CODE]
SOURCEPATH ..\data
START RESOURCE 2002976A.rss
TARGETPATH \private\10003a3f\apps
END
[/CODE]
and in .pkg file i updated like below
[CODE]
"C:\S60\devices\S60_3rd_FP2_SDK\epoc32\data\z\private\10003a3f\apps\2002976A.rsc"-"C:\private\10003a3f\import\[2002976A].rsc"
[/CODE]
and tried to install it by signing it by open signed online
but getting error message "update error"
please tell me whether i am able to use open sign online only or do i need to go for any other please help
Re: Auto Startup Application Signing!
Have you uninstalled the previous version of the application from the phone? If among the UID3 changes you have also replaced the package UID then the installer sees now a new package trying to install binaries with the same name as ones existing on device.
Also, make sure to replace [B]all[/B] the occurrences of the old UID3 in the project.
Re: Auto Startup Application Signing!
It is a simple RTFM question. But you can also read #39 in this thread - I think I have suggested to do that in some other thread, that is why you are here now.
Practically you have succeeded in following only the first step of my 3-step desciption (the 2nd step is also fine after all, just you have modified it unnecessarily), which is not the best possible ratio I think.
Re: Auto Startup Application Signing!
Hello,
Does the autostart functionality described in [1] fulfill the Symbian test criteria? Because the test criteria state, that the application must not be started if autostart functionality is turned off. But with the solution described in [2] my app starts shortly and if autostart is disable it exits itself after 5 seconds (running invisible in the background for these 5 seconds).
How can I fix this so that the autostart behavior fulfills the Symbian test criteria?
Regards,
[1] [url]http://wiki.forum.nokia.com/index.php/How_to_autostart_an_application_on_boot_up_in_3rd-_Startup_List_Management_API[/url]
[2] [url]http://wiki.forum.nokia.com/index.php/TSS000371_-_How_can_I_disable_autostart_if_it_is_enabled%3F_How_can_I_make_autostart_/autoboot_dynamic%3F[/url]
Re: Auto Startup Application Signing!
the solution fullfills the Symbian test criteria.
Re: Auto Startup Application Signing!
It all depends on what "start" means. If the application starts briefly but then closes before causing any noticeable problems (screen flickers, panics in it or other applications, ... ) then it is OK, the Symbian Signed testers will not even notice it.
If they do notice it, then there is something you could have done better ...
Re: Auto Startup Application Signing!
[QUOTE=ltomuta;732732]It all depends on what "start" means. If the application starts briefly but then closes before causing any noticeable problems (screen flickers, panics in it or other applications, ... ) then it is OK, the Symbian Signed testers will not even notice it.
If they do notice it, then there is something you could have done better ...[/QUOTE]
That's definitely not the case. Thanks for clarifying this issue.
Re: Auto Startup Application Signing!
Hello,
I have tried to test the autostart functionality with the Nokia Remote Device Access (RDA) on several different phones. It does not work on any phone.
When I test it on my test devices (same model and firmware) it does work.
Do you experience the same "problem" with your autostart applications?
Regards,
Re: Auto Startup Application Signing!
I made a copy of your question in [url]http://discussion.forum.nokia.com/forum/showthread.php?109835-Questionnaire-about-RDA-devices-firmware-versions[/url], expect to get some official answer there.
Re: Auto Startup Application Signing!
There are reports about that registration to the startup list fails when the application is installed by QtCreator. They are moved to the feedback boards now: [url]http://www.developer.nokia.com/Community/Discussion/showthread.php?225856-QtCreator-Startup-list-registration-fails-when-the-application-is-installed-with-it[/url]