Community Questions & Answers

AlertDialog behavior on Android

Hi! The docs tell me: "On Android, the default alert dialog displays text information, via a title and message, without any button s. As the user can use the system hardware back button to dismiss it, a button is optional." The normal behavior...

Error using Maps in iPhone App

I have the following error using a map with a pointer ~~~ [ERROR] : line = 5; [ERROR] : message = "'undefined' is not an object (evaluating 'Titanium.Map.createAnnotation')"; [ERROR] : name = TypeError; [ERROR] : sourceId =...

Titanium.UI.TEXT_STYLE_BODY in HTML

Hi, I'm using the custom module StyledLabel to create a custom Label with HTML content. I would like to be able to change to size of the text using the Text Size option in iOS 7 but the text doesn't change. I tried this in the CSS font-family:...

Debugging Android Crash Reports

Hi, I have an app that has been out for a few years. I get mainly either 5 stars or 1 star in the app store b/c people who have the app working love it, but for a small (but decent) percent of people the app crashes a lot. I personally can't reproduce...

Interface problem

I build an app for iOS and was working fine on iPhone 5, now I upgraded to iPhone 5s and upgraded the simulator version to 7.1 now the screen appears as the attached one, the tab bar, how do I make the icons and text color black not grey, and the title bar...

Android 4.0 Switch Widget

Does anyone know if you can create a switch widget in Android yet? The one I'm referring to is the Switch UI element that was introduced in Android 4.0 (On/Off toggle), similar to the ToggleButton. From what I can tell, Appcelerator has not added support...

Focus on textfield

Hi, I need to change the background of a textfield on focus, and make the other ones with the "normal" background in different pages on my app. The blur can also be when clicking on anything that is not a textfield like the window for...

working with thread

Hi i want to make a thread wich evry 3 seconds run through the remote database and send the newer result as a notification for the mobiel client i have make the notification but I lost i can found a solution to make this thread and thnx a lot...

Android device not receive push notification

Hi all ! I'm setting up push notifications to my android app and I've a problem... After configuration (GCM etc), I create a channel an registre my device with token id and user id with the *Cloud.PushNotifications.subscribe* method. When I'm testing to...

post webservice problem

In my appliction there is problem of post webservice. whenever i send data to webservice its send perfect json format. but whenever response come from server the response is always null. we are trying each and everything solution from net but still...

Can't Able to Login

Hi There , I'm new to titanium , after a fresh install on my mac , i can't able to login , shows server error. iMac12:Desktop mac$ titanium version Titanium Command-Line Interface, CLI version 3.1.0, Titanium SDK version 3.0.0.GA Copyright (c)...

iOS problem

Hi, My project is unable to run in iPad. Titanium studio version : 3.2.1.201402041146 Titanium SDK version : 3.2.0.GA Error : Project failed to build after 19s 565ms I have also tried with titanium SDK version 3.2.1.GA but throw same error. Please...

Error with tiapp.xml

hi i have a problem when i add activities to tiapp.xml <activities> <activity url="eventpref.js"> <intent-filter> <action android:name="android.intent.action.VIEW"/> ...

Project Failed to Build after...

Hi, after updated Titanium to 3.2.0 I am getting every time error with building the project... I have no idea what is going on, I have tried Xcode 5.0 and also 5.0.2. ~~~ ... [INFO] : Finished building the application in 23s 460ms [INFO] : Running...

problem running App on iPhone simulator

when I run my app I have the following error ~~~ [ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : Ld build/Debug-iphonesimulator/Qatif.app/Qatif normal i386 [ERROR] : (1 failure) ~~~ another App is giving the...

Collapsible TableView

I need to create a collapsible table like structure as follows : Initially it should list just an image and title with a right`image with "+" sign- meaning expandable. On clicking each item, it should display the details like desc text, link...

App Crashing Windows

Hi Community, After a recent update from a few weeks back, I've been using Titanium Studio and randomly without any warning my screen will go a strange color and the CPU fan goes crazy. It's only happening when Titanium Studio is open and has happened 3...

Common API call

Hi, i'm new in Alloy and I want to call an API server. We have a server with APIs, theses APIs use GET and POST. The APIs parameters are JSON formatted and responses too. What I want, if possible, is to create a common function like that :...

Login With Twitter: Appcelerator Cloud Services

I want to allow users to login to ACS through my iOS app using either Facebook or Twitter. I already have Facebook working, but I'm having trouble with Twitter. Is it possible to get the required information using builtins.Social? Has anyone use Twitter +...

Emulator exited with error: 1

Application type: mobile Titanium SDK: 3.2.2.GA Platform: Android (all versions installed) Device: Tried them all Host Operating System: OSX 10.9.2 Titanium Studio: 3.2.1.201402041146 Hi, I'm new to Titanium, so bear with me. Trying to work through some...

error running on simulator

I have the following error when trying to run my app on iPhone simulator [WARN] : Requires version >=3.2.1, currently 3.1.2 [ERROR] : [31m Command "build" incompatible with this version of the Titanium CLI[39m [ERROR] Unable to find...

Change backgroundColor of ListItem in ListView on click

I'm trying to give some feedback to a user when a ListItem is clicked. E.g. I'd like to give the clicked ListItem a background color to show that it has been selected and then show the next screen. I can't find a way to do so. This is what I tried (the...

Select all Textfield

Hi, just starting alloy from this day and I don't found something that i really need. I want to select all the windows to make a common function which indicate when page is loaded, but found nothing for the moment. i need something like...

Showing 1-50 of 59,465 1 2 3 4 5 61190