Archive for December, 2012

Announcing preview availability of the BlackBerry SDK

Friday, December 7th, 2012

A few weeks ago we announced the early Open Source availability of the Titanium BlackBerry Platform on GitHub. Since then things have been super busy on the BlackBerry front; I’d like to share some of the cooler stuff with you.

In support of Appcelerator making the BlackBerry platform publicly available, RIM issued a developer challenge for applications built with Titanium BlackBerry. RIM offered the developers of the three winning applications free travel and first class accommodations for their World Wide Developer Conference (BBJam Asia) in Bangkok, Thailand. As usual our community rose to the occasion and created a diverse set of apps in an insanely short time. The winning apps came from developers all over the world. There was a mobile phone catalog app, an app for coffee connoisseurs, and even an app to control a quadcopter drone. The drone app was profiled in BerryReview.

Which brings me to the next cool thing. I’m pleased to announce the preview availability of the BlackBerry SDK. Unlike the GitHub version, the BlackBerry SDK is fully integrated into Titanium Studio. You can download the Studio and the SDK previews for BlackBerry from the Appcelerator preview site. There is also now a Google Group setup to support Titanium BlackBerry development. The state of the platform is still in early development and some Titanium APIs are not yet available. If you’re interested in Titanium BlackBerry development checkout the links below.

BlackBerry Preview Release
Google Groups

As you’re testing out the BlackBerry SDK, don’t forget to take advantage of an opportunity for developers to receive BlackBerry 10 Dev Alpha devices, and Appcelerator Cloud Services (ACS) for free. All you have to do is build a BlackBerry 10 app.

Titanium Studio/SDK RC2 Now Available

Friday, December 7th, 2012

We are providing a minor update to the Studio and SDK RC versions in light of some packaging bugs which have been uncovered. Read on below for details.

In order to be able to get in any possible changes, we need feedback ASAP, ideally this weekend.

SDK 3.0 RC2 fixes the following issues present in SDK 3.0 RC:

  • TIMOB-11990 CLI: iTunesArtwork when placed into the Studio project root directory is not being copied correctly.
  • TIMOB-11968 CLI: Cannot run iOS 6 with simulator 5.1.
  • TIMOB-11967 CLI : Changed description of the ‘-s’ & ‘–sdk’ flags in build command. This flag specifies the SDK version to use to parse the tiapp.xml file. The SDK version specified in the tiapp.xml file is always used to build the application.
  • TIMOB-11961 CLI: iOS: Facebook – Error on assigning app id to the instance of Titanium.Facebook.
  • TIMOB-11956 CLI: Platform specific option defaults not applied properly.
  • TIMOB-11955 CLI: iOS Build –developer-name needs to accept name with and without ID.
  • TIMOB-11950 iOS: CLI: wrong error about distribution-name.
  • TIMOB-11825 CLI: Updated localized strings in CLI.
  • TIMOB-11486 iOS: Transport – Cannot build the app using transport.py.

Studio 3.0 RC2 fixes the following issues present in Studio 3.0 RC:

  • TISTUD-2990 Disable the “Android Runtime” combo-box in tiapp.xml for 3.0.0+ SDK.
  • TISTUD-2979 Remove CLI logic that calls titanium select prior to running operations.
  • TISTUD-2976 Titanium Project: terminating new project creation process is throwing error.
  • TISTUD-2972 Run Diagnostic Test: add Titanium CLI Enabled: true/false.
  • TISTUD-2969 iOS: Developer name passed to CLI is trimming ID.
  • TISTUD-2966 Disparity in CLI reports from Windows and Ubuntu to Mac OS.
  • TISTUD-2949 CLI: ERROR Invalid ios version value.
  • TISTUD-2940 Unable to finish Android SDK installation with Titanium Studio open..
  • TISTUD-2925 Alloy: alloy.js plugin hook showing “read-only” JavaScript error.
  • TISTUD-2920 TiApp Editor with invalid sdk value opens in dirty state with no notification.
  • TISTUD-2899 Preferences: Android SDK List Not Updated After Android SDK Install From Dashboard Until Studio Restart.
  • TISTUD-2269 Preferences: Add ability to display full Xcode path if truncated.

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. If you are already on the RC stream, click Help > Check for Updates. At the moment, the installer links on the preview page are not working, but updating from the RC stream is working.

Note that if you update to Studio 3.0 RC2, you MUST update to SDK 3.0 RC2. You will be unable to package iOS applications using previous versions of SDK 3.0.

Titanium Studio/SDK RC Now Available

Tuesday, December 4th, 2012

Today we announce the release candidate of the newest version of our Titanium platform–SDK and Studio 3.0.0. We’ve made some important fixes since Beta 2. Important changes include the ability to specify additional properties on HTTPClient, as well as improvements in TableView speed and a number of fixes surrounding the integration between Studio and the new Node.js-based CLI.

Read on below, and for full information, please see the release notes.

In order to be able to get in any possible changes, we need feedback by end-of-day on December 7th (this Friday).

Changes Since 3.0 Beta 2

This release includes two new features since 3.0 Beta 2:

  • TIMOB-11755, TIMOB-11756 Added username, password, and domain properties to HTTPClient. The new properties are currently supported on iOS and Android. Mobile Web support will be added in a subsequent release.
  • TIMOB-10232 Android: Capturing onKeyPress from the hardware keyboard.

 

This release also fixes the following issues present in 3.0 Beta 2 and earlier releases:

  • TIMOB-9400 iOS: Children are not removed from parent’s view hierarchy when context is shutdown.
  • TIMOB-10072 Android: CLI won’t launch Android Emulator.
  • TIMOB-11223 Android Debugging: adb.exe hangs on push to device on Windows 7.
  • TIMOB-11294 Android: console.log doesn’t work in CommonJS modules or in Windows opened with the url parameter.
  • TIMOB-11478 CLI: Projects created on Linux and Windows include iOS targets.
  • TIMOB-11502 Android: TableView – Application crashes when adding a TableViewSection with headerView. This issue affected SDK 2.1.3.
  • TIMOB-11510 iOS: TableView very slow.
  • TIMOB-11530 When using the Brightcove module, a TableView full of Brightcove video objects does not work properly. This issue is under investigation.
  • TIMOB-11537 iOS: Ti.API.timestamp results in runtime error. This issue was a regression.
  • TIMOB-11540 Runtime error in performance test. This issue was a regression.
  • TIMOB-11541/TIMOB-11678. iPad Simulator launches as iPhone Simulator. This issue was a regression related to the new command-line interface.
  • TIMOB-11578 iOS: Unable to set ActiveTab on TabGroup.
  • TIMOB-11580 Android: VideoPlayer.playbackstate.playbackstate event property should be playbackState.
  • TIMOB-11593 Android: button border visible when button is set to invisible. This was a regression in Titanium SDK 2.1.3.
  • TIMOB-11594 MobileWeb: TableView rowHeight does not get automatically calculated.
  • TIMOB-11658 iOS: Build fails when there is a space in the Xcode path.
  • TIMOB-11691 iOS: Click event on button in TableViewRow doesn’t include row property.
  • TIMOB-11763 Android module with JNI won’t build. This issue was a regression in SDK 2.1.0.
  • TIMOB-11730 Mobile Web: Wrong value for opacity in some UI elements.
  • TIMOB-11745 iOS: TableView error message: “TableViewRow structures for className does not match.”
  • TIMOB-11761 Anvil: Android jsUrlActivity test fails due to timeout.
  • TIMOB-11766 Android: Automatically show action bar title when the title is set.
  • TIMOB-11776 CLI: Could not find all required Titanium Modules: ti.cloud if Titanium SDK not in default location.
  • TIMOB-11781 CLI: Titanium build for Android cannot detect the Android SDK targets even when they are available.
  • TIMOB-11799 Android: builder.py fails on Galaxy Nexus with Android 4.2 (Jelly Bean). This issue was caused by an Android OS change to the /sdcard symlink and mount points.
  • TIMOB-11851 Android: hardware back key event not fired. This issue was a regression in SDK 3.0.
  • TIMOB-11861 iOS: TableView – unexpected behavior of table view rows. This issue was a regression in SDK 3.0.
  • TIMOB-11875 CLI: Unable to package for iOS distribution using non-default keychain.

 

Note: This is a beta 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. We will follow with a release candidate in the coming weeks. If you find an issue, please report it in JIRA with a reproducible test case.

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.

New Features in Titanium SDK 3.0.0

The docs are all available at: http://docs.appcelerator.com/titanium/3.0/

As a reminder, some of the new features coming in SDK Platform 3.0:

  • On-Device Debugging
  • Alloy Framework
  • Titanium Command-Line Interface
  • Event Bubbling API Changes
  • Android Action Bar Support
  • Accessibility Features

New Features in Titanium Studio 3.0.0

One of the major differences with version 3.0 of the Titanium SDK is that a number of projects come as node modules. Studio will look for a Node.js installation on your system. If it does not find it, it will install it, and then prompt you to install the necessary modules via NPM.

  • Performance Improvements
  • Alloy Integration
  • Node.ACS Integration
  • On-Device Debugging
  • Deprecation Warnings