×
Namespaces

Variants
Actions
(Difference between revisions)

Auto-start at reboot

From Nokia Developer Wiki
Jump to: navigation, search
Rahulsingh1m (Talk | contribs)
(Related Links)
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot update - Fix metadata)
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[Category:Usability]][[Category:Testing]]
+
{{ArticleMetaData <!-- v1.3 -->
 +
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
 +
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 +
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
 +
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
 +
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 +
|signing= <!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Required capabilities for code (e.g. ID_CAP_LOCATION, ID_CAP_NETWORKING) -->
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20070314
 +
|author= [[User:Satu]]
 +
}}
 +
[[Category:Testing]]
  
==Introduction==
 
By default, application should not automatically start itself when device is rebooted. For some applications this is allowed, for example it is not reasonable to expect that if the user has installed an anti-virus application, s/he should go and switch it on manually each time device is rebooted. Hovever, it will improve user experience if there is a setting, which user can use to set auto-start off. When application is installed, it is also good to ask from the user if s/he wishes to have auto-start on or off. This is important from the user point of view as now user has the full control of her/his device and the applications s/he wants to have on.
 
 
==Symbian Signing and auto-start==
 
If you plan to submit your application to Symbian Signed for Nokia, notice that the Nokia test criteria has test cases related to auto-start as detailed in test number [http://wiki.forum.nokia.com/index.php/How_to_conform_with_Symbian_Signed_criteria#Autostart_at_device_boot-up_.28UNI-11.29 Autostart at device boot-up (UNI-11)].
 
  
 
==Main points to consider for auto-start applications==
 
==Main points to consider for auto-start applications==
Line 17: Line 31:
 
     <td align="left">
 
     <td align="left">
 
'''Example of bad auto-start implementation'''<br>                     
 
'''Example of bad auto-start implementation'''<br>                     
[[Image:Screenshot0114.jpg]]
+
[[File:Screenshot0114.jpg]]
 
   </td>
 
   </td>
 
     <td align="left">
 
     <td align="left">
 
'''Example of giving user auto-start option on first run'''<br>                     
 
'''Example of giving user auto-start option on first run'''<br>                     
[[Image:Screenshot0113.jpg]]
+
[[File:Screenshot0113.jpg]]
 
   </td>
 
   </td>
 
   </tr>
 
   </tr>
Line 31: Line 45:
 
     <td align="left">
 
     <td align="left">
 
'''Example of good auto-start implementation'''<br>                     
 
'''Example of good auto-start implementation'''<br>                     
[[Image:Screenshot0112.jpg]]
+
[[File:Screenshot0112.jpg]]
 
   </td>
 
   </td>
 
<td></td>
 
<td></td>
 
     <td align="left">
 
     <td align="left">
 
''' Example of good auto-start implementation'''<br>                     
 
''' Example of good auto-start implementation'''<br>                     
[[Image:Screenshot0111.jpg]]
+
[[File:Screenshot0111.jpg]]
 
   </td>
 
   </td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>
  
*Auto-start feature has been implemented correctly; meaning that it is implemented using Startup List Management API in S60 3rd Edition. See article "[[How to autostart an application on boot up in 3rd- Startup List Management API]]" for details.
+
*Auto-start feature has been implemented correctly; meaning that it is implemented using Startup List Management API in S60 3rd Edition. See article "[[How to autostart an application on boot up using Startup List Management API]]" for details.
* [https://developer.symbian.com/wiki/display/pub/Symbian+OS+system+libraries| The Start-On-Boot Registration API] is provided by Symbian to implement autostart in 2nd edition applications.
+
 
*Removing the memory card when application is auto-starting, does not cause anything unexpected and harmful (device to reboot itself, jam, etc.).
 
*Removing the memory card when application is auto-starting, does not cause anything unexpected and harmful (device to reboot itself, jam, etc.).
 
* In case the application marked auto-start earlier is set to off, the device boots up properly. Also if the auto start application is exited it does not impact the device functionality in any ways.
 
* In case the application marked auto-start earlier is set to off, the device boots up properly. Also if the auto start application is exited it does not impact the device functionality in any ways.
Line 54: Line 67:
  
 
'''This technique works on all the available S60 devices.'''
 
'''This technique works on all the available S60 devices.'''
 +
 +
Note: I don't think this is true - Looking at 3 random S60 devices - N95, 6700 Slide and E71 none of them even has a pencil key
  
 
==How to control auto-start==  
 
==How to control auto-start==  
Line 59: Line 74:
 
There are cases where you want to detect if the application auto-started or was it started manually by the user from the application’s menu.
 
There are cases where you want to detect if the application auto-started or was it started manually by the user from the application’s menu.
  
The link details how to find that out on Symbian C++  [[TSS000371 - How can I disable autostart if it is enabled? How can I make autostart /autoboot dynamic?]].  
+
The link details how to find that out on Symbian C++  [[Archived:Implementing user-selectable autostart feature using Symbian C++]].
  
 
You might also want to disable auto-start by default, it can be done as detailed on the wiki link [[Disabling autostart by default]].
 
You might also want to disable auto-start by default, it can be done as detailed on the wiki link [[Disabling autostart by default]].
Line 65: Line 80:
 
==Limitations of managing autostart of other applications==
 
==Limitations of managing autostart of other applications==
  
3rd party applications can not control what applications are autostarted or not, see the link [[KIS001322 - Managing the autostart feature of 3rd party applications]] for more details.
+
3rd party applications can not control what applications are autostarted or not, see the link [[Managing the autostart feature of 3rd party applications (Known Issue)]] for more details.
  
 +
==Related Links==
 +
* [[Autostart Qt applications at boot on Symbian devices]]
  
<b>--- Edited by Mayank on 22/06/2009 ---</b>
 
  
 
+
<b>--- Edited by Mayank on 22/06/2009 ---</b>[[Category:Usability]]
==Related Links==
+
* [http://wiki.forum.nokia.com/index.php/How_to_autostart_an_application_on_boot_up_in_3rd Autostart an application on boot up in S60 3rd]
+
* [http://wiki.forum.nokia.com/index.php/Autostart_applications_on_bootup_in_Qt_S60 Autostart applications on bootup in Qt]
+

Revision as of 03:41, 27 July 2013

Article Metadata
Article
Created: Satu (14 Mar 2007)
Last edited: hamishwillee (27 Jul 2013)


Contents

Main points to consider for auto-start applications

  • By default, auto-start should not be on. It's allowed for certain types of applications, such as anti-virus and device management application.
  • User can set auto-start on when installing the application and change the setting later on from the application settings.
  • The option to on/off auto-start in settings can never be hidden and must not be protected by a security code.

Example of bad auto-start implementation
Screenshot0114.jpg

Example of giving user auto-start option on first run
Screenshot0113.jpg


Example of good auto-start implementation
Screenshot0112.jpg

Example of good auto-start implementation
Screenshot0111.jpg

  • Auto-start feature has been implemented correctly; meaning that it is implemented using Startup List Management API in S60 3rd Edition. See article "How to autostart an application on boot up using Startup List Management API" for details.
  • Removing the memory card when application is auto-starting, does not cause anything unexpected and harmful (device to reboot itself, jam, etc.).
  • In case the application marked auto-start earlier is set to off, the device boots up properly. Also if the auto start application is exited it does not impact the device functionality in any ways.

How to skip Auto-Start Applications

There are situations when we might want to skip the applications which load themselves automatically - which are generally called autostart applications.

These applications may be unwanted or may be taking much more time to load. Hence, to skip any auto-start applications that are normally run at startup:

Press the "pencil key" after turning on the phone and hold it down until the PIN code query is displayed.

This technique works on all the available S60 devices.

Note: I don't think this is true - Looking at 3 random S60 devices - N95, 6700 Slide and E71 none of them even has a pencil key

How to control auto-start

There are cases where you want to detect if the application auto-started or was it started manually by the user from the application’s menu.

The link details how to find that out on Symbian C++ Archived:Implementing user-selectable autostart feature using Symbian C++.

You might also want to disable auto-start by default, it can be done as detailed on the wiki link Disabling autostart by default.

Limitations of managing autostart of other applications

3rd party applications can not control what applications are autostarted or not, see the link Managing the autostart feature of 3rd party applications (Known Issue) for more details.

Related Links


--- Edited by Mayank on 22/06/2009 ---

188 page views in the last 30 days.
×