[TIMOB-7242] Create/Expose Ti.Platform.Android.API_LEVEL
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-02-14T23:29:00.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Sprint 2012-03, Release 2.0.0, Release 1.8.2 |
| Components | Android |
| Labels | module_platform, qe-testadded |
| Reporter | Hieu Pham |
| Assignee | Hieu Pham |
| Created | 2012-01-16T17:51:58.000+0000 |
| Updated | 2012-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.
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