Archive for the ‘Android’ Category

3.1.2 Release Candidate of Titanium SDK Now Available

Friday, August 2nd, 2013

We’re pleased to announce the release candidate of 3.1.2, an update to our 3.1.1 version of the Titanium SDK. Version 3.1.2 brings numerous fixes and improvements across both products, as well as preliminary support for iOS 7, Android 4.3, and the GA version of our BlackBerry support. Today, we’re asking you to help test out the release and provide feedback before it becomes generally available in mid-August.

Note: This is a pre-production release, and as such may contain regressions or other issues. Please do not use it in production, and keep backups of all important projects and data. If you find an issue, please report it in JIRA with a reproducible test case. We ask you provide feedback by Wednesday, 8/7.

How to Update

These are links to continuous integration builds. To install them, choose “Help Menu > Install Specific Titanium SDK…” from inside Titanium Studio.

NPM Packages

Note: You may need to use ‘sudo’ before these terminal commands on OSX and Linux

npm install -g alloy@1.2.0-alpha4
npm install -g titanium@3.1.2-alpha

To revert back to stable versions:

npm remove -g titanium
npm install -g titanium
npm remove -g alloy
npm install -g alloy

Updates in Titanium 3.1.2

Read the complete Release Notes. A full list of updates is available here.

iOS 7 Preliminary support

Official support for iOS 7 will come in version 3.1.3, scheduled to be released in September or October, based on Apple’s timing of the official release of iOS 7. In the meantime, 3.1.2 will allow you to begin developing apps against iOS 7, and to help us find any remaining issues we need to tackle. You can view a list of current outstanding iOS 7 tickets here:

Android 4.3 Support

This release includes preliminary support for Android 4.3. Full certification will come as part of the 3.1.2 GA release with a complete testing pass.

BlackBerry GA

We are pleased and proud to announce the general availability version of our BlackBerry platform in this release. More announcements will come around this particular milestone, so stay tuned!

Google Cloud Messaging Default for Android push updates

By default, a new application will use Google Cloud Messaging (GCM) as the default push notification protocol for Android. If you have an existing application that uses the MQTT protocol, you either need to transition your application to use GCM or set the acs-push-type property in the tiapp.xml file to mqtt.

Corrected behavior when enabling “do not keep activities” developer option

Having heard you loud and clear, we’ve addressed a important issue for Titanium developers. Fixing this required a major rewrite of some of our windowing architecture on Android. Android 4.0 and greater devices have an option called Do not keep activities under the Developer Options menu. When this option is enabled, the Android OS will destroy an activity as soon as it is stopped. It is intended to help developers debug their apps. For example, it can simulate the case that Android will kill an activity in the background due to memory pressure. In normal use, it is not recommended to turn this option on because this may lead to unexpected issues in your apps, such as freezes, force closes and reboots. Enabling this option causes Titanium applications to close immediately when the first activity is launched (TIMOB-12939).

This issue has been fixed in release 3.1.2 and requires that the root window’s exitOnClose property be set totrue to properly close the application when this option is enabled.

Announcing Titanium 3.1.1 Production Release

Monday, June 17th, 2013

I am pleased to announce the general availability of our latest Titanium release, version 3.1.1.  In this minor release we addressed over 125 bugs fixes and included several enhancements. For a full list of all changes and improvements in this release, please read the release notes.

Android Enhancements

  • Google Maps v2
    •  Support “userLocationButton” property
      • Allows developers to turn on/off the user location button.
    •  Support “regionchanged” event
      • Provides the delta of the latitude and longitude.
    • Support “isGooglePlayServicesAvailable”
      • Allow developers to determine if Google Play Services are available for the app
  • Camera
    • Support “savePhotoToGallery” property. Previously, photos were automatically stored in the gallery. This property gives you the control to store or not store the photos.

BlackBerry Beta

This release also includes the latest version of our BlackBerry SDK beta, with integrated Studio support for creating and running BlackBerry apps.

Changes That Require Your Attention

  • Android SDK 2.3.3
    • We have increased the minimum Android SDK support from 2.2 to 2.3.3.
  • iOS 5.x
    • We have increased the minimum supported version of iOS from 4.3.x to 5.x.
  • Change of the calendar namespace
    • If you are using the calendar in Android our namespace has changed from Titanium.Android.Calendar to Titanium.Calendar. This means that you will have to change any areas of your code referencing Titanium.Android.Calendar to Titanium.Calendar.

Downloading 3.1.1

For new users, download Titanium 3.1.1 by clicking here.

For existing Titanium Studio users, you will be prompted to update automatically on the next restart. You can also manually check for updates by selecting the “Check for Titanium SDK Updates” from the “Help” menu within Titanium Studio.

If you previously installed the Release Candidate versions of the Titanium CLI and Alloy, that is, npm install titanium@3.1.1-cr, or any -beta or -cr packages, you need to first uninstall these components before installing or updating to 3.1.1.GA. The release notes contain specific instructions on how to do so.

As always I want to thank our 470,000 strong community of developers for your constant feedback and support.

3.1.1 Release Candidate of Titanium SDK/Studio Now Available

Friday, May 24th, 2013

We’re pleased to announce the release candidate of an update to our 3.1.0 version of Titanium SDK/Studio. Version 3.1.1 brings hundreds of fixes and improvements across both products. Today, we’re asking you to help test out the release and provide feedback before it becomes generally available in early June.

Note: This is a pre-production release, and as such may contain regressions or other issues. Please do not use it in production, and keep backups of all important projects and data. If you find an issue, please report it in JIRA with a reproducible test case. We ask you provide feedback by Wednesday, 5/29.

How to Update

These are links to continuous integration builds. To install them, choose “Help Menu > Install Specific Titanium SDK…” from inside Titanium Studio.

To update Studio, please visit http://preview.appcelerator.com and follow the instructions to update to the RC stream, or to download a new install.

NPM Packages

Note: You may need to use ‘sudo’ before these terminal commands on OSX and Linux
npm install -g alloy@1.1.3-alpha
npm install -g titanium@3.1.1-alpha
To revert back to stable versions:
npm remove -g titanium
npm install -g titanium
npm remove -g alloy
npm install -g alloy

Updates in Titanium 3.1.1

Read the complete Release Notes. A full list of updates is available here.

Changes in supported OS versions

3.1.1 now has a minimum supported Android version of 2.3.3 (API level 10). The minimum iOS supported version is 5.x, which requires Xcode 4.3 or later.

API Changes

We’ve updated Titanium.Calendar, and deprecated Titanium.Android.Calendar.

Tooling updates

Support for Android r22 tooling. See Updating to Android r22 Tools for information about supporting older SDKs. Note that this beta still has some issues with r22 tooling on Windows, but this will be addressed in the final release.

Google Maps Support

We added a new userLocationButton property and updated the regionchanged event.

BlackBerry Support

We’ve folded in the latest version of our BlackBerry platform to this release. It’s no longer a separate download.

Updating to Android r22 Tools

Thursday, May 23rd, 2013

Recently Google released an update (r22) to their Android developer tooling. This update has rearranged the directory structure of the tools and breaks the building of Android projects both from the CLI and inside Titanium Studio. Unless you need the updated functionality we recommend you hold off updating for now.

How do I know if I’ve run into this issue?

See TIMOB-13944. You’ll get a failure similar to “TypeError: argument of type ‘NoneType’ is not iterable”

How do I fix this problem?

There are a number of different ways to address the issue, depending on your goals:

If you want to use just the very latest version of the SDK, download the pre-release 3.1.1 build from http://builds.appcelerator.com.s3.amazonaws.com/index.html#3_1_X

If you need  to use prior versions of the SDK:

Please Review ListView Phase 2 specification

Wednesday, May 8th, 2013

Last month as part of our 3.1.0 release we introduced a new, faster version of TableView called ListView. As a refresher, it has several key features:

  • Data-oriented vs view-oriented architecture
  • A separate module. Does not replace the existing TableView so you can migrate on your schedule
  • Extremely performant

We’re now working on phase 2 of that implementation. Please review the specification and add your comments by EOD 5/15 (Next Wednesday).

Link: https://wiki.appcelerator.org/display/community/Titanium+ListView+Specification