Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2476] Android: tiapp.xml Javascript Activity Elements Must Allow for Normal Android Elements

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:59:13.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M04
ComponentsAndroid
Labelsandroid, feature
ReporterDon Thorp
AssigneeBill Dawson
Created2011-04-15T03:20:47.000+0000
Updated2011-04-17T01:59:13.000+0000

Description

url needs to be considered an "additional" attribute to be replaced and the standard android:configChange entry for Titanium added. Everything else should be put in the generated activity element as entered by the dev and supported by Android.

Marking as a feature as this was not fully specified in the original ticket.

Comments

  1. Bill Dawson 2011-04-15

    (from [eeefa79aede8df2967c92590ea7c1f673ab8347e]) [#2476 state:fixed-in-qa] Include sub-nodes of js activity elements from tiapp.xml and move them into AndroidManifest.xml as-is. https://github.com/appcelerator/titanium_mobile/commit/eeefa79aede8df2967c92590ea7c1f673ab8347e"> https://github.com/appcelerator/titanium_mobile/commit/eeefa79aede8...

  2. Bill Dawson 2011-04-15

    To test, create a new project, then edit the tiapp.xml and replace its 'android' section with this:

    https://gist.github.com/6b628215e36644edab6f">https://gist.github.com/6b628215e36644edab6f

    Then launch the app. It doesn't matter what the app actually does, we want to look at the build/android/AndroidManifest.xml that is generated during the launch process. If you open that file in the failcase and search for 'Myactivity', you won't see the 'intent-filter' xml element below the Myactivity 'activity' element. In the fixed version, you will see it, like this:

    https://gist.github.com/7f8ac6b22738e812a4ec">https://gist.github.com/7f8ac6b22738e812a4ec

  3. Thomas Huelbert 2011-04-15

    awesome, closing - [INFO] Titanium SDK version: 1.5.0 (12/08/10 10:08 7d08f15)

JSON Source