×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Jul 2012
    Posts
    20

    Application update simulation.

    Hi all,

    I want to test the application update scenario for my application, for e.g. i have my application with version 1.0.0 on app store and also installed on my phone now i updated my application on store with version 1.0.1 then definitely the application on my device also gets updated from app store. this is real case scenario but i want to test it without app store,

    please suggest me way to do it.

    Thanks.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    925

    Re: Application update simulation.

    There is no automated way of simulating an app upgrade process. If you want to update data that is stored on the isolated storage you need to deploy some test data with your app to test the upgrade as if the data was already there for version x-1. Its not a very easy task. I know that with WP7 some devs used Isolated Storage Explorer to put the test data on the phone after deploying the new version. Then on first Run the app would make its magic to update any files or settings.

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2012
    Location
    Bilbao
    Posts
    53

    Re: Application update simulation.

    Hi mehul_raje

    I think the best way to do this is to publish the app version 1.0.0 as beta with you marketplace Account, when you install the app, publish version 1.0.1 as beta also, (update) and test the update in your phone.

    Only requeriment is that you need to have a valid Publisher Account to publish an app as beta.

  4. #4
    Registered User
    Join Date
    Jul 2012
    Posts
    20

    Re: Application update simulation.

    hi joaocardoso,josueyeray

    thanks for your help, I have one doubt.

    When i install any wp8 app from IDE for the first time and after the successful installation, suppose i made some minor modifications in my project (say i changed version number in manifest file) and i didn't clean or rebuild my solution i just saved it and tried to install it again then on console logs says application already exist hence updating the application (my question is, this is same as update from store ???) but when i rebuild solution after some changes then existing application from my device is gets uninstall first then it install fresh copy of my application (i got this from console logs again).

  5. #5
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    509

    Re: Application update simulation.

    Yes, if you do a rebuild it will redeploy the application cleaning the IsolatedStorage. As for updating - it is pretty much the same as when installing from the Marketplace. It will leave the IsolatedStorage as is and deploy your updated App. It is always up to the App to determine that it has been updated and that it might have to update some of the existing data.

    This is actually one of the most problematic things to test properly at the moment.

  6. #6
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    542

    Re: Application update simulation.

    As well as the other methods and tools mentioned, there's the Windows Phone Power Tools which allow you to test the updating of XAPs...

    http://wptools.codeplex.com/

  7. #7
    Registered User
    Join Date
    Jul 2012
    Posts
    20

    Re: Application update simulation.

    Thanks theothernt, SB Dev i got my answer!!!

  8. #8
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    509

    Re: Application update simulation.

    Great tool theothernt, didn't know about it.

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    925

    Re: Application update simulation.

    Quote Originally Posted by theothernt View Post
    As well as the other methods and tools mentioned, there's the Windows Phone Power Tools which allow you to test the updating of XAPs...

    http://wptools.codeplex.com/
    Didnt know about this one. Seems very interesting. Thanks for sharing.

  10. #10
    Registered User
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    2,571

    Re: Application update simulation.

    Quote Originally Posted by joaocardoso View Post
    Didnt know about this one. Seems very interesting. Thanks for sharing.
    Very cool.
    1. Would someone like to add this to Toolkits_and_Libraries_for_Windows_Phone?
    2. Would be great to have a standalone page which describes what you can do with this tool. Does anyone know the authors of http://wptools.codeplex.com/ who might like to create it? If not, I can raise as a discussion or just do it myself.

  11. #11
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    542

    Re: Application update simulation.

    Quote Originally Posted by hamishwillee View Post
    1. Would someone like to add this to Toolkits_and_Libraries_for_Windows_Phone?
    I've just added it.

Similar Threads

  1. How to update my application?
    By sachinkanade in forum Mobile Java General
    Replies: 4
    Last Post: 2010-03-02, 05:24
  2. Right way to update my application
    By paul.yan in forum [Closed] Publishing to Nokia Store
    Replies: 3
    Last Post: 2009-12-07, 15:37
  3. Heap failure simulation tool PANICs for console application
    By apache256 in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2009-10-15, 14:21
  4. PHP WML Application: Simulation
    By HamzaAbuSalah in forum Mobile Web Server
    Replies: 0
    Last Post: 2009-02-28, 03:34

Posting Permissions

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