×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    16

    Talking Easy way to create preinstall application (PA from SA)

    After having some problems of creating preinstall application (PA) I found easy way to do it. I have tested on Symbian 3rd - N92.

    Just create regular SA application. Run installation on the phone, choose install on memory card.

    Take card out and set read-only permission on all files in /sys/bin/myapp.exe, \private\10003a3f\import\apps\myapp_reg.rsc, private\10202dce\[UID].is
    resource\apps\*.mif, resource\apps\*.rsc

    Now you can put this card in any other phone it will behave as preinstall application with TYPE=PA.

    What is good about it:
    1) No need of another PA package troubles.
    2) After you signed your SA .sis file you can use for both type of deployment: regular and preinstalled one.

    Limitations:
    You can not do any custom or condition steps during installation. For example if I want to have one card to be used for both UIQ and Symbian3rd phone it will not, since I will have to select what kind of files to install. In this case I'll need PA type, but if you need simple installation it's simple to use SA type of installer. I still can play with this. For example I use different UID for Symbain3rd and UIQ application and install them both on one card. Would be interesting to see what symbian will do when I insert this card in device.

    What do you think?

  2. #2
    Super Contributor
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985

    Re: Easy way to create preinstall application (PA from SA)

    It doesn't work for me in my Nokia N73. I tried using Hello World example from S60 3rd FP1.

    When you insert the memory card to another device, do you see "Installing" dialog pops up?

    Does it work with self-signed application?

    Antony

  3. #3
    Registered User
    Join Date
    Apr 2007
    Posts
    16

    Re: Easy way to create preinstall application (PA from SA)

    Yes, install dialog pops up.
    It behave same way as PA. It does not auto start installation if this application (same UID) has been ever install on that phone and uninstall after that.

    So try your card on another phone that this Helloworld has never been installed on

    or do factory reset:
    *#7370#
    then Lock code
    12345
    and then insert your card.

    I think this is Symbian feature. If you unisnstalled preinstall application user still can use this card without auto-installing this apps over and over again.

    I tested it for application from protected range, and signed with developer cerificate.
    Last edited by Leanid; 2007-04-23 at 20:45.

  4. #4
    Registered User
    Join Date
    Apr 2007
    Posts
    16

    Re: Easy way to create preinstall application (PA from SA)

    Just found even simple way.
    If you just put your SA sis into private\10202dce\ it will auto-start when you insert card into phone.

    Tested on N73, N92, N80 and UIQ 3.0 phone M600i.

    For symbian phone you have to do reformat *#7370# then Lock code 12345
    to enable auto-start if application with the same UID has been ever installed on phone. Or go to AppManager and install it from there.

    On UIQ phone it always auto-starts.

    Just make me think why do we need PA type at all.

  5. #5
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: Easy way to create preinstall application (PA from SA)

    Hi,

    though this is a very old post, I would still like to thank for the information provided.

    Specially this information:
    For symbian phone you have to do reformat *#7370# then Lock code 12345
    to enable auto-start if application with the same UID has been ever installed on phone. Or go to AppManager and install it from there.
    I was trying this and was not able to get the intented result, however, after formatting the phone, it worked.

    Thanks.
    Amit Kankani
    Nokia Developer Champion

Similar Threads

  1. How can the WAP browser communicate to J2ME application?
    By hbfornies in forum Mobile Java General
    Replies: 20
    Last Post: 2007-03-02, 16:32
  2. Hw to Create user authentication to my application
    By praveena in forum Mobile Java General
    Replies: 0
    Last Post: 2005-09-21, 06:08
  3. Create Application Package is permanently Disabled
    By Shazard in forum Mobile Java General
    Replies: 2
    Last Post: 2003-08-08, 20:46
  4. Unable to create Application Package
    By pvermeulen in forum Mobile Java General
    Replies: 0
    Last Post: 2003-03-31, 14:31
  5. Replies: 1
    Last Post: 2002-11-20, 05:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •