Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (preferences)
Browsing latest articles
Browse All 20 View Live

Ti.UI.Android.openPreferences() doesn't work

I put the preferences.xml to directory platform/android/res/xml/ but when app calls Ti.UI.Android.openPreferences() console says > E/TiPreferencesActivity( 329): (main) [311,986] xml.preferences...

View Article



Assign click handlers to items in preferences.xml on Android

Is it possible to add event listeners to items in preferences.xml? I am using Ti.UI.Android.openPreferences(); but I want to have an item in there that I can use to fire off a function to clear the...

View Article

iOS Device testing not working

When I click "Install to iOS Device" nothing happens, and in my Preferences in Titanium Studio>Titanium>iOS Platform: I get a popup that says: "The current displayed page contains invalid...

View Article

Android Preferences close event

Is there any way to know when the Preferences Window on Android has been closed after calling Titanium.UI.Android.openPreferences(); I'm thinking an event is thrown? I need to call some initial code...

View Article

Where is the file 'preferences.xml' located?

I am trying to get a preferences dialog but i don't know how to edit the preferences.xml file. Any help would be greatly appreciated! FYI: I am doing this for android... thnx, Josh

View Article


How to open a file dialog within preferences.xml?

How can I male a preferences XML where the user will be presented with his default file browser to choose a file when clicking over an option in the preferences screen?

View Article

How to preferences.xml dynamic list?

There is some way to make a preferences XML where the user would be able to add/remove from a list of things? ie. On option on the preferences where the user can add/remove contacts. So when he open...

View Article

How to set the focus of editText textfield in preferences.xml to the end of...

Im using preferences.xml for storing my apps settings. Is it possible to get the keyboard to focus to the end of the line of text without requiring the user to click it themselves. I googled but it all...

View Article


Reading Android Preferences

Hello, Sorry for the newbie question, but although i've figured out how to open up the Android Preferences window and customize the settings and values, i can't seem to figure out how read those values...

View Article


preferences.xml internationalization?

How to localize strings in preferences.xml and array.xml? Thx

View Article

preferences.xml PreferenceScreen custom Activity

I found out that I can call a Activity within a Preferences Activity. That is the closest thing, I was able to find, to what I wanna do. It is like: preferences.xml:... <PreferenceScreen...

View Article

Uncaught exception in Ti.UI.Android.openPreferences()

Ever since upgrading to Titanium SDK 3.1.0, my Android build sometimes fails on a call to Ti.UI.Android.openPreferences(): E/TiExceptionHandler( 7640): (main) [44302,44302] ----- Titanium Javascript...

View Article

Studio IDE changes?

The latest build date I have for Studio is Build: jenkins-titanium-rcp-master-21 (origin/master) Date: 13 September 2013, 00:23:57 I made no changes to my IDE configuration that I know of, now the...

View Article


Android Preferences Example

Hello, I am trying to get the menu option to appear on my Android application. After upgrading to 3.2.0 which required me to uninstall Titanium Studio and reinstall, my app no longer displays an...

View Article

Changes in Ti.UI.Android.openPreferences doesn't fire Ti.App.Properties events

Hi, the headline says all. Is it a bug or an feature? Background: in my app I have a mp3-cache. In the preferences the user can determine the limit in GB. After changing of this property and/or after...

View Article


ti.bar overwrites my preferences

Hello, with Ti.UI.Android.openPreferences(); I can open my preferences under Resources/platform/android/res/xml // and values It works fine until I add ti.bar to my project. Now appears the scan...

View Article

Transparent Background on PreferenceScreen using Titanium Theme

Application type: Mobile Titanium SDK: 3.3.0 Platform:Android 4.x Device: Android GenyMotion Emulator & Sony Xperia E OS: OSX 10.9 Titanium Studio: 3.3.0 After upgrading to 3.3.0 I was having...

View Article


Android Preferences

I have a button in the app.js file which has an event listener that opens the preferences.xml sheet. I have customized this xml sheet to my needs and it all works well. The only problem is that when I...

View Article

Accessing iOS Settings Bundle From Within App

I have tried various others posts on this subject, but to no avail. I have successfully created a Settings.bundle and added it to Resources/iphone. I can access the preferences within the iOS Settings...

View Article

Change language inside app

Hi, I would like to know if it is possible to change locale/language inside an app. I want it to be like in Appcelerator Developer Blog wher you can set the language of the page to English or Japanese....

View Article
Browsing latest articles
Browse All 20 View Live




Latest Images