Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7242] Create/Expose Ti.Platform.Android.API_LEVEL

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2012-02-14T23:29:00.000+0000
Affected Version/sn/a
Fix Version/sSprint 2012-03, Release 2.0.0, Release 1.8.2
ComponentsAndroid
Labelsmodule_platform, qe-testadded
ReporterHieu Pham
AssigneeHieu Pham
Created2012-01-16T17:51:58.000+0000
Updated2012-02-14T23:29:00.000+0000

Description

Create Android module, which extends Platform module, and generate API_LEVEL property, which returns the sdk_int for Android. Testing steps: - Run this code:
Ti.API.debug(Ti.Platform.Android.API_LEVEL)
You should see a number that reflects the api level.

Comments

  1. Michael Pettiford 2012-02-03

    Closing this issue Tested with Ti Studio 1.0.8.201201262211 Ti Mob SDK 1.9.0.v2012020316313 OSX Lion 10.7.2 Android Emulator 2.2 API level is correctly shown

JSON Source