Community Questions & Answers

textfield value and app crash

Hi, in my android app i have a textfield with this code, can you tell me why my app crashes? ~~~ var piu_prima_cifra= Ti.UI.createButton({ top:100, height:200, width:200, title:'+', }); win.add(piu_prima_cifra); var number_prima_cifra=1; var...

Callbacks in javascript

Hi ALL, I want to implement CallBack functionaliy in javascript.I don't want to do network call or ajax call or any RPC call.I want to do local data processing. What I want is described below. file1.js contains module named C1. In C1 module there is one...

Hide keypad.

I have a textarea field in a window. And I have write the code to close the window when user will click on android device back button. But now I have issue i.e. when I focused to that text filed and click on device back button it just close the window as...

How to release window memory.

Hi All, I have a quick question. Let say I have two windows. Win1 and Win2. Both window have different controls(views). Now I have to navigate from Win1 to Win2. While navigating I need to release the memory captured by Win1. So I while opening a new...

Facebook login button does not 'just work'

I'm building a iOS mobile app, using 2.1.1 and have added Facebook functionality. At fun, it was all fun and happiness, but I noticed that when I logged out using the Facebook button, I can't log in with another user as the button does not let me enter any...

2x Images in IOS

Question about image sizes with retina displays. I know you can do the thing where you save two versions of a file. my_image.png & my_image@2x.png Of course the "@2x" version is shown if you have a retina display. So for example...

map for geo location

So I am playing with the geo location feature. I have been looking at kitchen sink and the geo location function in it. Is there a way to display a map and show where they are located on the map instead of in text form? Here is the code from kitchen sink...

Push does not depend on the iOS device

Hello, I've created an iOS push through the cloud. Following this tutorial: http://www.titaniumtutorial.com/2012/07/appcelerator-cloud-push-notification-in.html He also shows me my registered device (You currently have "1" iOS client, 0 Android...

Syntax error: Unexpected token "delete"

Hello, I am trying to use events delete function but Ti Studio does not allow me to do that. I cannot use Cloud.Events.delete because then I get the error: Syntax error: Unexpected token "delete". How can I fix this?

Issue with Tweetanium

Hi, I am trying to run the tweetanium project on Titanium and I get this error: ~~~ ERROR] Error: Traceback (most recent call last): File "/Users/mixalismavris/Library/Application Support/Titanium/mobilesdk/osx/2.1.1.GA/iphone/builder.py", line...

ACS - What is working and what is not?

Hello, I am trying to develop a iOS app based on ACS but there is a lot of problem. I got the photo upload solved (custom sizes) but I am constantly running into problems with other endpoints (not all). For example. Now I need to query events created on...

iPhone Back Button on a Tabgroup

Hi, My main window (with fullscreen and exitOnClose set to true) has a tableview and upon click on a row, I am opening a tab group. With the tab group active, I want the back button to take me to the main window instead of exiting the app. When the...

Map Annotations have a problem!

Hi! I am working on an app that uses map annotations and I found a problem. I added a variable that increases each time the `annotation.addEventListener` fires. Normally one would think that each time you click on one annotation the variable increases one...

Mobile Web app global properties

I want to ask about how can i clear my app properties when i launch my mobile web app again i.e next time after closing last time. I dont know why but it is showing me different username in my login but the information according to that username and id is...

Parse DateString ?

Hey, is it possible to parse a date-String formatted like this to a Date Object?? 2012-08-10 20:00:00 ?

Syslog functionality

Is there any API or other Syslog functionality for iPhone ? Would like to track network related event.

Error regarding attaching the database

Hi I am developing an application in titanium. I am trying attach the existing database to the new database Here is my code: var win1 = Titanium.UI.createWindow({ backgroundColor : '#fff' }); var scrollView = Titanium.UI.createScrollView({}); var...

create a switch and forms.js

How do I edit the form.js github code to add support for checkbox (createSwitch)? I am new to titanium and am having trouble figuring this out... please help!

ImageView with images property

When set images to array of image url, does ImageView load all images straight away OR only load all urls but render single one url at any given time?

IOS Android back button

I'm looking for a recommendation on the best way to create a back button that would work on both IOS and Android. Would it be to simply create a Ti.UI.createButton() that links to the previous back?

Air print market place module styling

Hi, we are using the marketplace airprint module (the one from appcelerator) is there is any way to set colors/styles on the print popup. It’s got that purplish gray color, would be nice if we could get the gray to match our application design. I...

Showing 27,901-27,950 of 64,381 1554 555 556 557 558 559 560 561 562 563 5641288