[TIMOB-2275] Android: Support for min/max/target/tooling SDK in tiapp.xml
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:58:37.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M02 |
Components | Android |
Labels | android, feature, rplist, sdk, tooling |
Reporter | Marshall Culpepper |
Assignee | Marshall Culpepper |
Created | 2011-04-15T03:15:20.000+0000 |
Updated | 2011-04-17T01:58:37.000+0000 |
Description
We should detect the platform / SDK version based on settings in tiapp.xml (and fall back to r4 if one isn't specified). We'll also need to copy those settings into the AndroidManifest.xml
Don clarified this: what he wants is to be able to specify the api-level-specific tooling that should be used during builder.py and such. For example, for the install to sdk to work, tools from platform api level 8 need to be used.
We'll create an element in tiapp.xml:
<android> ... <tool-api-level>8</tool-api-level>
(from [b2489591ce090f44861aaa3b730bd7684059e7a2]) [#2275 state:resolved] Support <tool-api-level> in tiapp.xml. If a value is there (i.e., 4, 5, 6, 7 or 8) pass it on to AndroidSDK(...) (androidsdk.py). We already supported setting the tool level in that constructor, it's just that we always called the constructor with a hard-coded 4. https://github.com/appcelerator/titanium_mobile/commit/b2489591ce090f44861aaa3b730bd7684059e7a2"> https://github.com/appcelerator/titanium_mobile/commit/b2489591ce09...