Appcelerator Blog

The Leading Resource for All Things Mobile

Release Candidate for Titanium Mobile 1.5.0

0 Flares 0 Flares ×

The long anticipated Titanium Mobile 1.5.0’s general availability (GA) release is getting close. We’re anticipating rolling out the GA release early next week. On Monday we had an internal release candidate, found a few issues, and are now ready to make Titanium Mobile 1.5.0 Release Candidate 2 available for those of you who want to preview it. We are currently working on more API documentation, Programming Guides, and other Goodies. You’ll find download information at the end of the post.

Few Important Items

Before we jump into some of the fun stuff, we want to mention that there is one breaking change on Android. Ti.UI.Android.createMenu and Ti.UI.Android.Menu have been removed. The are four menu examples in KitchenSink. map_view.js has been refactored to use the new menu API. There is also android_menu_1, android_menu_2, and android_menu_3.

Also, if you want to take advantage of specifying your Android configuration in your tiapp.xml you’ll need the soon to be released Developer 1.2.2 update.

Finally, the new 2.3 emulators have a serious issue with WebViews and the Javascript to Java Bridge. See Issue 12987 in the Android bug database for more information. Short story, until Google addresses this issue and pushes a patch we recommend using the same emulators for testing as you were before if you use a WebView

What’s New

Firstly, in 1.5.0 we’ve addressed over 500 issues on iOS and Android. On both platforms we’ve added or improved:
  • Memory Usage and Performance
  • Javascript Stylesheets (JSS)
  • Localization
  • Multiple Density Images
  • Drillbit – Platform Unit Tests
  • Clipboard
  • Simple Services
  • Module Development Kit

This is a big Android feature release and we’ve only begun to scrape the surface of what’s possible:

  • Exposing several Android native classes: Activity, Service, Intent, PendingIntent, Menu, and MenuItem.
  • Javascript based Activities and simple Services
  • Extensive support for providing resources for the different screens and densities
  • Pickers
  • Calendar
  • Contacts (Read-only)
  • Remote Image Cache when using ImageView
  • and many other features

We’ve also added iOS features as well:

  • Drawing performance improvements, especially in TableView
  • Coverflow Views
  • Improved background and local notification support

More Information will be made available over the coming weeks.

Download and Installation

Download Links for Titanium Mobile 1.5.0 RC2

OSX (iOS/Android): mobilesdk-1.5.0.RC2-osx.zip Win32 (Android): mobilesdk-1.5.0.RC2-win32.zip Linux(Android): mobilesdk-1.5.0.RC2-linux.zip

To install, you’ll want to download the appropriate distribution above and then extract into your Titanium directory.

For example, on OSX, your Titanium directory will be under either /Library/Application Support/Titanium or~/Library/Appcelerator Support/Titanium..

On Linux ~/.titanium.

On Windows Vista/7 C:ProgramDataTitanium and on Windows XP C:Documents and SettingsAll UsersApplication DataTitanium

Once you locate your Titanium directory, extract the zip file into this directory. The zip file will expand the contents and create/overlay some new directories for 1.5.0.

NOTE for OSX users who use Safari to download : Safari by default will auto uncompress your downloads, how handy. However, if you have a directory named mobilesdk, your extracted directory will be renamed. On OSX, I suggest you use curl and do it the old fashion way. In the terminal, go to your Titanium directory and then run the following commands:

> curl -L http://builds.appcelerator.com.s3.amazonaws.com/RC/mobilesdk-1.5.0.RC2-osx.zip >mobilesdk-1.5.0-osx.zip
> unzip -o mobilesdk-1.5.0-osx.zip
Now, you’ll need to restart Titanium Developer to pick up the new release. Once restarted, remember to change your application SDK version and then click the ‘Save’ button.

You should now be able to test with the latest release.

0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 Email -- 0 Flares ×

24 Comments

  1. jean-louis

    Thanks for all; it is Xmas in advance.

    Beware that unzip -o mobilesdk-1.5.0-osx.zip will unzip into the 1.3.2 directory

    • Thanks for the heads up. I accidentally left the old bitly short link in the example using curl. It’s been updated to point to the correct 1.5.0 download.

  2. nada_aver

    thkx you for your good work.
    Appcelerator makes mobile dev (native apps) very easy.

  3. Jérôme Danthinne

    Just tried this new version, but got errors when I try to launch Simulator (OS X, SDK4.2):

    [ERROR] Error: Traceback (most recent call last):
    File “/Library/Application Support/Titanium/mobilesdk/osx/1.5.0/iphone/builder.py”, line 993, in main
    execute_xcode(“iphonesimulator%s” % iphone_version,[“GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s” % (log_id,sdk_version)],False)
    File “/Library/Application Support/Titanium/mobilesdk/osx/1.5.0/iphone/builder.py”, line 915, in execute_xcode
    output = run.run(args,False,False,o)
    File “/Library/Application Support/Titanium/mobilesdk/osx/1.5.0/iphone/run.py”, line 31, in run
    sys.exit(rc)
    SystemExit: 1

  4. Martin Reeves

    Did in-app purchases for iOS make the cut for 1.5?

  5. Thanks people :)

    Question: How can I make my AudioPlayer work with background audio on iOS?

    Note to other people: if you get an error when compiling for the first time, delete your build directory. 😉

  6. Steve

    Will audio streaming work again in Android, been waiting what, six months, so I REALLY hope so, after having to remove an app from the Marketplace! (PS I love your really but it was rather annoying!)

  7. Jérôme Danthinne

    Thanks for the note, deleted build folder and working fine.

  8. This is really great, where can we get the docs about the new features, for instance how to use the Clipboard?

    Thanks, and congrats on this new release.

    Antonio

  9. Great Job Gents,

    (Oh and many thanks for applying the blog archive here, really helps find hints ‘n’ tips from the past).

  10. cauld

    If you are seeing the builder.py error mentioned by Jérôme Danthinne in comment #4 please try to remove your build directory and let Developer do a full rebuild of your project.

  11. Alan Bourke

    Mmmm Android goodness.

  12. Karlo

    Thanks Appcelerator folks! A Titanium rockin’ holiday! woo!

  13. Bert

    Another thought around the builder.py – if you see a permission denied, make sure you didn’t unzip as ROOT – otherwise you’ll need to remove the 1.5 and re-unzip or at least change your permissions.

    That being said – has anyone seen any weird ImageView issues with custom TableViews?

  14. Clifford

    Thanks Don and all you guys @ Appcelerator! You guys rock!

    For the official 1.5.0 release, will there be support for admob ads & a smaller apk size on android?

    Kinda important ^_^

  15. Andy Perkins

    Great stuff guys.

    Just wondering when we can expect to see anything of the BlackBerry support? Do you have an anticipated release candidate for that (happy to be part of Beta but not yet heard).

    Thanks

  16. Andy,
    Blackberry support is available for our Enterprise/Pro customers. We expect to release it to the community in Q1 of 2011.

  17. Feeling a little abandoned here. You guys blogged that there was a target release date for Desktop 1.1 of the first week in December. You’re nearly a week past, and while there’s no update or revised ETA, we get to see this announcement of progress on Mobile.

    Feeling a little shat upon right now.

  18. Conny

    Any payment SDK for 1.5? If not, what are the plans for it? I’m dependent on it, otherwise I need to go native :(

  19. Greg:
    That was the targeted date, but was just a target. We’re prepping a 1.1 Desktop release that will go out very soon now.

  20. @tguntharp: Not upset target was missed. That happens. Upset that there was no communication when it was. Don’t like being left hanging.

  21. Jon Clarke

    Titanium 1.5, iOS 4.2

    I get the same as the person above

    [ERROR] Error: Traceback (most recent call last):
    File “/Library/Application Support/Titanium/mobilesdk/osx/1.5.0/iphone/builder.py”, line 993, in main
    execute_xcode(“iphonesimulator%s” % iphone_version,[“GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s” % (log_id,sdk_version)],False)
    File “/Library/Application Support/Titanium/mobilesdk/osx/1.5.0/iphone/builder.py”, line 915, in execute_xcode
    output = run.run(args,False,False,o)
    File “/Library/Application Support/Titanium/mobilesdk/osx/1.5.0/iphone/run.py”, line 31, in run
    sys.exit(rc)
    SystemExit: 1

    • Kevin Whinnery

      @Jon Clarke/others As per the comment policy we’d prefer not to get stack traces here in the blog comments. If you create a Q&A item and shoot the link to community@appcelerator.com, we’d be happy to take a look though.

Comments are closed.

Sign up for updates!

Become a mobile leader. Take the first step to scale mobile innovation throughout your enterprise.
Get in touch
computer and tablet showing Appcelerator software
Start free, grow from there.
0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 Email -- 0 Flares ×