Community Questions & Answers
android, regression with responseXML from 1.2.0 to 1.5.1 - slow XML parsing
I've submitted this : https://appcelerator.lighthouseapp.com/projects/32238/tickets/2661-android-regression-with-responsexml-from-120-to-151-slow-xml-parsing is there a way to speed up XML(orJson) parsing ? on iPhone i have not this problem. Thanks
iPad modal/pop-up window (similar to lightbox)
I have looked around trying to find this. Hopefully it's something simple that I've just overlooked. Is there an easy way to get this pop-up/lightbox-style window on iPad? Perhaps a modal window of some type? http://cl.ly/1Y3O1U1b0a3t0G0l3Z3v
Analytics haven't been showing up for weeks
Anyone have any idea why? I haven't changed anything in my code that would disable it or anything. I have hundreds of users so there should be activity. And, I even have custom events set up in my app as well. Nothing is updating. This is an iphone app...
problem witth google jsapi on titanium desktop
Hi I am trying to use google jsapi in titanium desktop to provide google user authentication.. Unfortunately when I call the login()function on the google api, the user gets forwarded to google login, but when he signs in he is not getting sent back,...
Audio Recoridng in Android?
Is audio recording in Android supported with Titanium 1.5.0?
Titanium Desktop keeps on requesting to update to 1.2.2
My Titanium Desktop installation keeps on requesting to update to 1.2.2 everytime I launch the program. What happened?
Any getArguments equivalent in resume event?
I am using Ti.App.getArguments() to retrieve the query string in a custom URL called from Safari. If my app is not already running, this works fine. However, if the user switches apps and ultimately calls a URL from Safari again my app resumes by I can't...
How do I pass a callback to tableViews scrollToIndex?
I would like to trigger some code when the scroll is done. Can't seem to find a way.
Is there a way to currentWebView feature similar to that of currentWindow ?
I am a new developer and was trying create an app with the following: 1. Created a tabGroup with tabs 2. Added windows to each tab 3. The windows have webviews to external urls 4. Each window utilizes the url: property that points to a menu.js file 5. The...
error code 2203
trying to install the file after a download. it does not download with this error code.
fontSize in iPad not work
In some objects such as TabbedBar and ButtonBar the properties of Font in iPad do not work. And the iPhone style (ex: Titanium.UI.iPhone.SystemButtonStyle.BAR) either. var bbtime = Titanium.UI.createTabbedBar({ labels:['Hola', 'Mundo'], font:{fontSize:8} });
How do you transition between two images?
I have two images taking up the full screen. I want to display 1st image for 10 secs then fade/transition into image 2, then repeat. Here's the code I am using but no idea how to get it to animate. ~~~ var images = []; for (var i=1;i<3;i++) { ...
tableView header and search
Hi, everyone. Is there a bug that headerView and search doesn't work together in tableView? In tableView I have a search field. It worked fine before I added a headerView to tableView. After this search has disappeared and there is only...
Only show button once
I am not sure I am doing this right so would love some help/guidance. I have 4 images on the screen that when clicked individually a webview will open showing some content. When the user clicks the image for the first time a button appears on the screen...
Only show button once
Disregard, double post.
GWT generated JavaScript playing Jedi mind trick on Titanium?
I'm generating some JavaScript using GWT (google web toolkit). Lots of good wrapping of the Titanium SDK going on. Lots of excitement from corporate types for reusing their Java code on a variety of platforms. This used to work great when it ran in a...
AAC Streams - progress?
Since asking this question several months ago others have also stated they wish to be able to play Shoutcast style aac format streams. However the current TI AudioPlayer API is unable to oblige. We then learned that John McKnight had solved the problem...
Overlay text on video?
Is it possible in iOS to overlay text on top of a playing video?
Android Packaging error
Since the move to Titanium Mobile 1.5.1 i cant seem to package my android app for deployment to the android market anymore. I get the following error message; http://pastie.org/1402799 . Anyone have any idea how i can fix it?
Titanium cant find the iPhone SDK - but it is installed
Hi, I was just about to try out Titanium but seem to have got stuck at the first hurdle. I have installed the latest version of XCode which has the SDK plus I have installed the latest version of Titanium all on the latest version of Snow Leopard. As...
Problem with textarea. When its one line tall, the text automatically scrolls out of view
I'm not sure if this is a bug, but I have a textarea that is 35 high and when i focus onto the element, the text is not visible. Its being pushed a line higher and out of view. Is there a bottom padding setting on a text area?
Keeping aspect ration with remote image
Hi, I download pictures from a webservice (as TIBlob) to display them in a grid. All pictures are 128 pixels max size (width or height depending of pictures). I have to display them in a imageview of 64x64 pixels. the problem is tht for now the picture...
How do I set a back button background image and onclick background image?
Im trying to style a back button. I cant seem to find a way to do it.
App Id problem with dash
I can't pass the "New Project" form because my (sub)domain uses a dash, and Titanium Developer doesn't validate the App Id field because of it. (ie. cc.co.**name-name**.appid doesn't work). Any help on this, please?
How pick the path of an image with Titanium.Media.openPhotoGallery
Hi, is there a way to pick a photo with openPhotoGallery and get not only the image but also the PATH of the image file. I'm trying to not duplicate the image after selecting it.
unable to find deployed application on Android emulator
Hi, I am using Titanium 1.2.2, I have downloaded KitchenSink and tried to launch on Android Emulator, it says it got deployed but I couldnt see KitchenSink on Android emulator. Can anybody suggest where I am going wrong. The following is the Titanuim...
How to read a properties file
i want to store the key value pairs in a properties file for my application.How can we do. Pleaze help me ASAP. Regards, Kishore
Passing a URL from CoverFlow to a modal window using createWebView
Hi. I'm new to Appcelerator and Javascript in general but I've been picking up as much as I can. I have a data set of images that I have working in coverflow. When I click on one though I want to open a specific URL in a modal. If i hard code the...
Webview not reloading on popover
Using the following code to open a popover which contains a webview with a local url. Works fine the first time the popover appears but when the popover is closed and re-opened the content of the webview fails to load (I just get blank content). ~~~ var...
Retrieve webPage Title attribute in a WebView
Hi there, I am building a basic WebBrowser in my iPad app, I would like to display the Title of the webpage being rendered in the WebView. Is there a way/method to retrieve a page's title from a WebView?
App / emulator trying to contact Codestrong.com
I am running Titanium Developer Mobile with the 1.4.2 SDK. When I test my app in the Emulator, I get a message from Little Snitch that the app is trying to contact ec2-75-101-138-225.compute-1.amazonaws.com I Googled this and it appears to be...
Background disappears after re-opening window
Since upgrading to mobile sdk 1.5, I'm losing backgrounds on windows that are closed and then re-opened. Here are definitions of some of the windows I'm using: ~~~ var loadingWindow =...
Password Input and International Keyboard Problem
Hi, I'm doing a multi language app and i found that when I create a password field using `passwordMask:true` the 'globe' button on the keyboard is not available which prevents the user from selecting a keyboard in a different language. The code I'm using...
What is the intended usage of Titanium.Filesystem.File.exists?
Seriously. to use the exists method, you first have to have a file or directory object, right? And to do that you use Titanium.Filesystem.getFile, right? `var file = Titanium.Filesystem.getFile('foo.txt');` But if 'foo.txt' doesn't exist it throws an...
App crashes on Android simulator on launch
I started this app by developing for and testing it on the iPhone. Now I'd like to make it run on Android, and the new 1.5.1 SDK was supposed to help with making that happen. With the 1.4.2 SDK I couldn't even get the app to install on Android, with 1.5.1...
Missing libTiCore.a
Downloaded the new 1.5.1 sdk, now when I try to compile my app for the iPhone it does the following: [INFO] iPhone SDK version: loading... [ERROR] Error: Traceback (most recent call last): File "/Library/Application...
How to manage the local notifications, to edit/delete them?
my app uses the local notifications. But, when a user set up a notification, then he closes the application.. how do i do to edit or delete this notification once he re opens the application ? I think more code examples could pleased a lot of people...
Android Custom Fonts
Hey, I am trying to get custom fonts work on android. I got it working on iPhone following the post and the video in the post. http://developer.appcelerator.com/question/49151/custom-font-solution I know Kitchen Sink does not support custom fonts for...
TV Out iPad/iPhone
Does anyone know if its possible to get videos to play using the TV out function? When ever I try to get it to work it will not work with the native video player. I think I could get it to work by doing the video player through a web-view but I would...
ImageView scaling in Android
I'm having the same issue described in [this](http://developer.appcelerator.com/question/77051/imageview-scaling-in-android) post but i'm using Titanium SDK 1.5.1 over Android 2.2. Here's my code: ~~~ //Contenedor de imagenes var imageView =...
VideoPlayer on android raises error when added to window
We are building a slide-show-like app for android tablets and iPad devices which cycles a playlist of images and videos. but for android this code raises an error : ~~~ imageView.hide(); //hide the imageview win1.add(activeMovie); // add the...
Force portrait orientation on Android
Please shed some tips on how to force portrait orientation on all of my windows for an Android app. I've read that you need to create a AndroidManifest.custom.xml and add the orientation to the activities, but I'm using 1.5.1 SDK and it says that's been...
Get every gps update
Hi guys, Is it possible to make a function which gets every gps update and not one based on distance. I have tried using GetCurrentLocation with a 1 second timer. But that turns off the gps after every try and it doesnt get very good signal. Any ideas?
adb.exe isnt in /tools/ its in /platform-tools/
and you get the error "cant find adb.exe in tools dir" http://www.flickr.com/photos/osde-info/5285287379/  apparently the workaround is to manually copy...
Battery Level in iOS
Hi All, Currently working on an app idea and was playing around with the Platform battery methods. My code looks something like this ~~~ Titanium.Platform.batteryMonitoring =...
Variable reference from another javascript file.
How to I reference a button variable and window from a different javascript file (from test.js to app.js)? ~~~ Titanium.Gesture.addEventListener('orientationchange',function(e) { navigationBar.width =...
saving images
downloading image from remote to specific folder of my app. if anyone has the code please provide it Thanks in advance.
Coverflow Loaded with External XML
I am trying to use an external XML file to populate a coverflow. Then, once an item gets clicked in the coverflow, I am wanting it to open different webview pages. I am using the Titanium object Titanium.UI.createCoverFlowView to call the CoverFlowView...
Problem getting object properties
Hi, I have an array like that : var collections = []; and ~~~ for (var c=0;c < jsonResponse.members.length;c++) { var members = jsonResponse.members[c]; Titanium.API.info('members: ' + members); var entry = new...
createTableView on Android much slower than iPhone
We are creating about 850 rows for display in a table that users can search. var rows = []; for (i = 0; i < 850; i++) { var row = {title:'test'}; rows[i] = row; } Titanium.UI.createTableView({ top: 0, height:...
Showing 38,201-38,250 of 47,576 1 … 760 761 762 763 764 765 766 767 768 769 770 … 952