[TIMOB-2049] Android: Support Android Preferences UI
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:55.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M05 |
Components | Android |
Labels | android, feature |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T03:09:01.000+0000 |
Updated | 2011-04-17T01:57:55.000+0000 |
Description
Try and expose support for using the built in preferences framework.
Add method Ti.UI.Android.openPreferences()
App developer needs to put a
preferences.xml
in theirAPPDIR/platform/android/res/xml/
folder. The format of the file is described http://developer.android.com/resources/samples/ApiDemos/res/xml/preferences.html"> here(from [49ec6cba58495e8a3b0b614f98657e976ba262ee]) [#2049 state:fixed-in-qa] Needs documentation. Merge branch 'prefs' of https://github.com/npmccallum/titanium_mobile">https://github.com/npmccallum/titanium_mobile into npmccallum-prefs https://github.com/appcelerator/titanium_mobile/commit/49ec6cba58495e8a3b0b614f98657e976ba262ee"> https://github.com/appcelerator/titanium_mobile/commit/49ec6cba5849...
(from [baca9fbb5386aea610e0749731555edcd12c503a]) [#2049 state:fixed-in-qa] Added documentation for openPreferences. The current implementation has no arguments. We may extend to allow multiple preference sets in the future. Currently uses properties in the 'titanium' shared preferences. https://github.com/appcelerator/titanium_mobile/commit/baca9fbb5386aea610e0749731555edcd12c503a"> https://github.com/appcelerator/titanium_mobile/commit/baca9fbb5386...
failed on 1.6 Sim and Device for KS.
Moving to M05 to record when it was actually fixed.
(from [50a5c01be96834c5af80b1a33e302499ba373846]) [#2049 state:fixed-in-qa] Removed silent failures. Check for empty string. Add missing resources to the platform folder https://github.com/appcelerator/titanium_mobile/commit/50a5c01be96834c5af80b1a33e302499ba373846"> https://github.com/appcelerator/titanium_mobile/commit/50a5c01be968...
G1 (1.6) G2 (2.2) RC2