×

Discussion Board

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

    Installing application updates over HTTP

    Guys,

    I have my app downloading component updates over http, which is all working good on the emulator.

    I'd like to know what people think about how these updates should be applied..i.e the updates could be an upgrade to an existing dll, should they be download as a sis and then installed, or should the dll be directly replaced ?

    I'm happy to directly replace but cannot implement this currently on the emulator because dll's/exe's are not kept in \sys\bin, which is a bit of a pain.

    Can you simulate a *.sis installation on the emulator ?? I'm guessing you cannot and you'd need capabilities to directly replace the dll.

    Suggestions ?

    thanks

  2. #2
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    Re: Installing application updates over HTTP

    You're right, you'd need TCB to install the update directly. You're going to need to go via the install engine,

    I'd suggest you deliver your updates in the form of SIS Patch (SP) or Partial Upgrade (PU) SIS files (probably the later if you need to replace things) and then feed them to the installer on device.
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

  3. #3
    Regular Contributor
    Join Date
    May 2007
    Posts
    91

    Re: Installing application updates over HTTP

    Quote Originally Posted by pbmau
    Guys,

    I have my app downloading component updates over http, which is all working good on the emulator.

    I'd like to know what people think about how these updates should be applied..i.e the updates could be an upgrade to an existing dll, should they be download as a sis and then installed, or should the dll be directly replaced ?

    I'm happy to directly replace but cannot implement this currently on the emulator because dll's/exe's are not kept in \sys\bin, which is a bit of a pain.

    Can you simulate a *.sis installation on the emulator ?? I'm guessing you cannot and you'd need capabilities to directly replace the dll.

    Suggestions ?

    thanks
    Dear...

    I also want to develope such an application.. Can you help me in the design of it. How you did it? I am not very experianced developer in the symbian env.
    If you help I will be very grateful to you.

    Thanx & Regards,
    Vinod.

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

    Re: Installing application updates over HTTP

    Hi VinodRaut

    1. Set up an HTTP server with your update files.
    2. Test download by using your desktop and submitting an http request that
    returns XML containing details of all files available (URI's that point to update files are contained within that XML).
    3. Submit the HTTP request on the device.

    Look at the AppProts code example on how to use RHTTPSession/RHTTPTransaction classes. This API has made it real easy.

    4. Parse the XML.

    Check-out CParser class to do this. Some links below:

    http://mobile.antonypranata.com/2007...in-symbian-os/
    http://wiki.forum.nokia.com/index.ph..._CParser_class

    How you structure the XML response is up to you, you may need version information inside it etc.

    Hope that helps


    Paul

  5. #5
    Registered User
    Join Date
    Apr 2007
    Posts
    30

    Re: Installing application updates over HTTP

    Thanks Mr Davies )

Similar Threads

  1. problem installing application
    By MaryVince in forum Symbian
    Replies: 0
    Last Post: 2005-09-20, 09:57
  2. Replies: 1
    Last Post: 2005-04-06, 15:45
  3. Problem in installing Application on Nokia 6600
    By p4nokia in forum Mobile Java General
    Replies: 0
    Last Post: 2004-04-06, 07:44
  4. Problem in installing Application on Nokia 6600
    By p4nokia in forum Mobile Java General
    Replies: 0
    Last Post: 2004-04-06, 07:38
  5. filtering application as a recipient?
    By aidj in forum General Messaging
    Replies: 1
    Last Post: 2002-11-12, 06:26

Posting Permissions

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