Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Upgrading to Ver 1.2 from 0.8

Ver 1.0 of our app was built using Titanium Ver 0.8. The app has been published in both Android and Apple store.

We have finished our upgrade to Ver 1.2. For the upgrade, I had created a new app and we have been doing our testing using that APP. Now to publish to the store I need to rename my app. From the forums, I gather than renaming does not work. So looks like the only option is to delete all the files in the original project and replace them with files from the new project.

Do you have any recommendations on what is the best way to do this?

— asked July 15th 2010 by aseem nagar
0 Comments

2 Answers

  • 0.8 t0 1.2 presents a major change in the way Ti works.
    I thinking starting from 1.0 Ti mobile SDK, the move is towards javascript and away from webviews..
    Check the docs.

    — answered July 16th 2010 by Peter Lum
    permalink
    2 Comments
    • I have completed the upgrade as far as code is concerned. My problem is I created a new APP for 1.2. Now I want to rename it to the original name (the one we used for 0.8) so that our users have seemless upgrades from the iPhone store. Ti does not allow you to rename the project. That is my problem.

      — commented July 16th 2010 by aseem nagar
    • This is what I have done

      • Started with the project which was developed in 0.8.
      • Modified tiapp.xml to the new format. Made sure app name and guid stay the same.
      • Removed all the old html and js files
      • Added new js files

      when I run the app using android emulator, the app installs but after the splash screen loads it gives me a message application had stopped unexpectedly. please try again. The last statement in debug trace is

      [DEBUG] C:\android-sdk\tools\adb.exe -e shell am start -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n com.tmaresources.personify/.PersonifyActivity

      — commented July 16th 2010 by aseem nagar
  • You should be able to just copy over the Resources folder and clean out the contents of build/android.

    If you touch tiapp.xml it should force a full rebuild.

    — answered July 16th 2010 by David Ashwood
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.