Community Questions & Answers

Photo Slideshow Control

I had the requirement of needing a photo slideshow that lets you have a list of thumbnails and you can click on one to view the full sized image. I didn't see any existing for Titanium so I went ahead and created one, in case anyone else can benefit from...

Ti.include / require_once issue...

I'm using the require_once function in conjunction with commonJS approach. I had everything working as intended on iPhone and Android, so decided to create a new folder as I wanted to change app name, create new prov profiles, etc... Although this has...

Autocomplete textfield

i want to create autocomplete textfield. for example i have variable ~~~ var data = ['AAA','BBB','CCC']; ~~~ by using var data i want to create autocomplete textfield in android,,if user input something in textfield. [like this...

Animations abort in iOS 5

Hi, when I try to do a second animation after the first has finished, the second animation won't animate but instead jump to the endstate of the animation. Is this an iOS 5 Problem, or has this occured to someone somewhere else too? best regards, Tom

scrollable views in scrollable views

Hello, I would like to have views in group that can scroll horizontally. I tried to make scrollable views in scrollable views but it can only move within group, not concatenate all the views into one big array. Could anyone help me out here? Thanks much...

Playing long videos

Hi, I'm making an app to play long videos residing on my server. Which method apple acepts, a webview with a html5 or a videoplayer method?

Can't upload image from showCamera

Hey guys, I've been having some issues uploading the resulting image from show camera. The following code will take a screen-shot and send it to my server with some other information and that works perfectly. When I take the event.media from the success...

Detect when app loses focus

Hi, How can I detect when app loses focus and then run and even that does something? by "losing focus" I mean when the user is clicking the "home" button in either iPhone or Android. I saw applications both on iPhone and Android that...

getting a value from webview after form submit

Hi all, I've got a webview running in my iOS app that loads a html form from a remote sever and returns a value I need for my app after a successful POST submission. The returned value is stored in a javascript variable inside the webview and I'd like to...

Show/Hide more custom options?

Hi, i start dev in appcelerator and i little question :) What is the best way to do something similar as the ios in Setting-General-Network if click on Cellural Data show more options (Data roaming) How to make a similar Show/Hide Sorry for my English...

Validate a text field

Hi , I have a text field and i want only alphabets to be entered. Can i disable the number or speacial characters keypress???Means if the user pressed a number or a special character it wont come in the textfield.Is it possible.

multiple "click" calls being called

in the 1.8.0 ci, not sure if anyone noticed, but click event listeners are being called multiple times. I traced it to the fix for TIMOB-5394. Hope someone can fix this :D

locked screen

When data is being fetched, the whole screen should be locked which means none of components (button, textfield) can be clicked. How can I do this? I am now using activity indicator while waiting for data coming.

Do go I get to start?

Hi Team! I am currently looking into making a mobile version of our current application. I'm kind of wondering about how I can use titanum to accomplish this. My target mobile devices are Andriod and iPAD. Basically, my questions are: 1. How do I get to...

Android not installing on emulator

No matter which API I use, Titanium always stops on this: ~~~ D/dalvikvm( 205): LinearAlloc 0x0 used 663068 of 4194304 (15%) D/dalvikvm( 53): GC freed 1003 objects / 48680 bytes in 233ms ~~~ I'm using OSX Lion

Playing audio from WebView

Is it possible to play audio from a WebView, instead of using Ti.Media. If so, is there any advantage? I am developing for iOS.

Issues with Xcode 4.3 released oct, 12th

Related to issue below, i thought i would put my experience here with latest Xcode 4.3 released on October 12, 2011. The new xcode relocated former xcode folder to developer-4.2, that seems to trouble TI Developer, the only iOS SDK selection shows up is...

click event not firing on iOS

hello all, i have a simple application which has a login screen, everything works fine for android, but on iOS the click event is never fired. here is my code ~~~ var mainView = Titanium.UI.createView({layout:'vertical', height:'auto',...

Module Not Found

I made changes to the iOS UDP module so that it can send bytes instead of just a string. [ChrisFJones UDP Module](https://github.com/chrisfjones/titanium_module_udp) I rebuilt the module using "titanium run", which actually works with my...

Titanium Calendar Widget

Hi! Is there some kind of Calendar widget which works on both iPhone and Android? Because I found some open source projects separately but they do not work for both platforms? Thanks!

Getting to Install Remote DB

Hi, I am not sure, how far this question is right, But I need information about this. In general,for connecting DB , we need to install the DB then after executing the data from required tables. But here, I have a problem, Currently I am working with...

Opening a new window

I have a window which contains a button. When the button is "clicked", I want to load a different window. Clearly I'm still grasping at the fundamentals because what seems to be happening is that the new page loads on _top_ of the current window....

Draw a table for showing records android .

how to get this type of view in android using nat ive. currently I m using webview for that but its not good for gui so i m now thinking about native if any one have any idea please tell mi. ~~~ <table border="1"...

Showing 40,951-41,000 of 62,906 1815 816 817 818 819 820 821 822 823 824 8251259