Community Questions & Answers
Can't get scroll to work for my application
Hi guys, I am trying to build a simple application, that goes like this ... https://gist.github.com/852184 ... and then further down the code, I am adding more label's button's etc. However, once everything is said and done and the app gets deployed on...
Blackberry Simulator not showing in Emulator
Pls Delete this - I've re-asked this question in Premium support.
How to open image in new window with this code?
Hi, I have this code and I can't open an image in a new window. What am I doing wrong? ~~~ var win = Titanium.UI.currentWindow; win.title = 'Fotoalbum'; win.backgroundColor = '#fff'; var view = Ti.UI.createScrollView({ layout:'horizontal', ...
Strange behavior with httpClient between TiDev 1.5.1 and 1.6
Hi all, I've been struggling with this very strange problem and have been unable to solve it for days now and was hoping someone in the community can assist or help determine if it is a bug with Ti 1.6. My code accesses the Google Docs List API to export...
iPhone Application Approved - Titanium Developed 100%
With thanks to several members out there ... @Doug Handy<br> @Colton Arabsky<br> </p> My first iPhone app has been approved today. Submitted: Feb 23 @ 08:46<br> In Review: March 1 @ 10:36<br> Ready for Sale: March 2 @...
Change leftImage's size
I'm building a table in a view like so: ~~~ var data = [ {title:'Antique Vicenza', color:'#fff', selectedColor:'red', leftImage:"http://image.com/image.jpg"}, {title:'Row 2', color:'#fff', selectedColor:'red'}, {title:'Row 3', color:'#fff',...
Animate a Gauge
I am trying to animate a gauge and implement a sprite sheet. What would be the best way to accomplish this with Titanium.
License violation detected??
Hi, Somehow the app that I am developing is now generating an error: 2011-03-02 23:29:43.475 Ocomondo[5880:207] [ERROR] License violation detected. Unlicensed module(s) detected. Unlicensed modules can be used for evaluation purposes only.. Please...
All I want to do is click in a table view and open a new window
TableView contains a list. When you click a list item, I want it to open the appropriate window. How do I do this? Can't find anything. Thanks.
Simple: How do I add an event listener to a TableView's items?
Any help would be greatly appreciated. This seems like the foundation of an app, moving from one window to the other by choosing an option in a list. How can I do it?? I'm following this TableView code provided in the API...
rss image problem
Hi, I made my rss reader including an image. Now the problem is that if there is a feed that doesn't have an image included an error occurs. How to write the code that when there's no image in the feed to pick a standard/default image? this is my...
'change' event listener not firing for textField inside tableRow
I'm having no problem placing a Text Field inside of a Table Row, and then calling focus() on the text field whenever the row is clicked. However, my 'change' event listener attached to the text field isn't...
Upgraded Titanium Now CAN'T RUN TEST!
Just updated to the new version of titanium and now I can't test code via emulator or device. I keep getting this error: [ERROR] JDK version 1.5.0_26 Please help!
Clone app to other clients? What's your approach for managing code?
I work at a small ad agency as the sole developer. I'm currently working on our first mobile app (using Appecellerator). The app is for a specific client of ours, but we're confident many more of our clients will be interested in the same idea for their...
Titanium Developer Incompatible with Xcode 4 Organizer
Hi just reporting a bug: I decided to try out xcode 4 since you can now publish with it. Everything in Titanium Developer works great my code works just the same with the new xcode. The issue is when i package for distribution in Titanium it opens...
Updating sqllite database structure in app update
I've read on here a few things, and basically I get that basically you just need to rename your database, maybe based on the app version. What I'm wondering is if there is a one-time way to make this change, instead of constantly checking on every window...
Appcelerator Training Options
I have a question about the two training options available. On the AppU Training page here: https://developer.appcelerator.com/training the modules are $50 each and there is one for UI Fundamentals, one for Working with Local Data and one for Working with...
Creating services with START_STICKY
Is it possible to use the Android.Service API to startup services with different flags? I've been reading through this: http://dalelane.co.uk/blog/?p=1599#more-1599 and it seems difficult to implement everything he is talking about.
Titanium docs app update
All the new Titanium Docs 1.6 in the AppStore: [iPad][ipad] and [iPhone][iphone] Support the development of the Titanium docs by getting the apps & following us on the [Facebook][facebook] [ipad]:http://ow.ly/46Alg [iphone]:...
Android Permissions
if we are calling the standard Android sms, phone calling and google maps functionality from our app....do we need to manually update the Android permissions in our manifest file for these? Thanks ~Brian
authenticating user accounts to a website
I am building an app that will allow users to log into their account on a php/mySQL news based website and view the various articles that they have subscribed to within the site, they will also have the option to post articles on a forum when logged...
Appcelerator people, fix the login
Dont know if I'm the only one, but when I am in the Q/A section and login, it redirects me to my dashboard. If I wanted to go to my dashboard, I'd go there. Also, how about extending the login expiration?
Search Database
Hello, Could someone point me to a tutorial on creating a search view, similar to the search bar in several of the tables found in the Kitchen Sink app, that searches a local sqlite database and returns the values in a table view? I've googled myself to...
gesture orientation implementation. how to do it?
Hello. I'm trying to implement the gesture orientation in my app. I have several windows where I want to reposition some fields depending on the orentation changes while the app runs. After trying some approaches, I'm getting frustrated because I'm not...
Custom modules still broken in mobile sdk 1.6?
It appears that the problem with loading custom android modules that was introduced in 1.5.1+ still is hampering 1.6+. That is what was answered in http://developer.appcelerator.com/question/76381/cant-use-android-module-in-titanium-app However 1.5.0 is...
Only image is shown at the Button
Only the image is shown at the Button: ~~~ MainWindow.shoppingcart = Titanium.UI.createButton({ title: 'Orders', image: 'icons/shopping_cart.png' }); ~~~ What is the code to show both, the title and the image?
RTL
Hi, ~~~ var row = Ti.UI.createTableViewRow({ title: titreArticle, rightImage: imageArticle }); ~~~ my title is in arabic (right to left) how display from right to left ? thank you
threaded event
Hello, on a mobile app, in a textfield, while the user writes some text, I do a search in a database and fill a tableview.Each time the user write a char the Chnage event is fired and I do the search. Some search could be long and I would like to interupt...
Playback m4v files that live above web root
This is directly related to Ti, but I know this forum has some pretty knowledgeable people. I have some m4v files that live above web root. The reason is I don't want people that aren't logged in able to download the videos if the link was acquired. The...
JS GeoLocation not working within webview
I have created a mobile version of a site, and that mobile version uses GPS from the browser to get the position of the phone. In other words, I have a mobile site and if you pull that site up in a browser on an android or IOS device, the browser prompts...
setActiveTab Child Window
Hi, In my app I have three tabs. In the second tab I have a event click go to in a child window where I want to activate the first tab. With setActiveTab sent me in the parente window and not in the child window as I would like It is possible?
tableView EventListener problem
I've got 3 listeners on a table view one for click and one for touchstart and one for touchend. touchstart and touchend don't report the correct index after 6, but the click listener does. Can anyone confirm that this is a bug and if not what could I be...
Subscription Models and Pricing
Are there any plans to reintroduce a monthly subscription option or perhaps create a new lower priority response model at a more affordable rate ? The product is great but the support cost is prohibitive, at the current rate i'm sure it wont be long...
bundle identifierer problem while uploading
hi i got the following message and have no idea what to do Cannot reserve bundle identifier <here my identifierer> for application (MZPurpleSoftware#null adamId:<id>)null, as that identifier is already in use
Slider touchend not fired in Titanium SDK 1.6.0 with Android emulator APIs 2.2.
~~~ // this sets the background color of the master UIView (when there are no windows/tab groups on it) Titanium.UI.setBackgroundColor('#000'); // create 3 sliders for Celcius and Fahrenheit Ti.API.info("in tempconv"); // // Celcius // var...
Custom TableViewRow with extra data, how?
i copied the Table_View_Layout_2.js so now i have this table view in my app, i want to have an tableview with the following: - a picture on the left side; - a title; - a description below the title in a smaller font; - the entire row must be...
ARti: Facebook session not being stored
Hi guys, is anyone else having an issue with ARti where, after logging into Facebook, on the device, you are not returned back to the ARti app? Opening ARti again doesn't pick up the logged in session either. Bizarrely, it works fine on my simulator,...
OpenGL Possibilities for Appcelerator Titanium Desktop
Hello, I am trying to evaluate Appcelerator Titanium Desktop as a potential framework for an application we are building that makes heavy use of OpenGL. I have been browsing the source code, trying to what is possible using native modules (obviously...
Creating HTML pages with the correct size
Hi I want to create a simeple html page that I can load using the Titanium.UI.WebView for a Samsung Galaxy i9000 My page contains an index.html page and a style.css stylesheet. I want the page content to display full screen on the phone, so I am setting...
Optimizing app
Can anybody help me discover how to strip the code before compiling for unnecessary ballast? For instance if I make a new mobile (Android) app in Appcelerator and the default code is generated (with the 2 tabs and windows), What can I delete to make the...
animation don't restart in multitasking....
I ve got an animation , it don't restart in multitasking if i exit and comme back the soft with my iphone 4.2 anyone know a solution ? thanks jbcorazzi@m6.fr
I want to add admob
I want to add admob in my application for android but i cant find a way to do that does anyone know how to do this? I have follow some example but none of them works Thanks
SQLite Database Install
Hello All, I'm dusting off my very few and very old SQL skills. Following a couple of tutorials on importing data as tables. My questions is - how can I install multiple or all of my tables from a database? Everything I've seen refers to bringing in...
How to create popup window on android with titanium?
May I know how can I create a popup window in android with titanium? It is just like an alert box, without button and the layout can be customized. It will close when back button on phone is pressed. Thank you. Ti:1.6, Android 2.2
File Not Found!
I have this file in this path: *Resources/suds.js* When I use *include*, I do: ~~~ Titanium.include('../suds.js'); // '../' because I'm including it from Resources/Controllers/, //so go back one folder and find file suds.js. ~~~ It **does** find the...
ERROR Wrapped java.lang.NullPointerException
I get an error using this code :http://developer.appcelerator.com/question/77561/final-solution-to-integrating-admob-into-android This is the error: Wrapped java.lang.NullPointerException (file://android_asset/Resources/app.js#28 this is the code I...
Driving distance / time - without showing maps
Hi, Is there a built in function for calculating driving distance from a lat/long to another lat/long? I have up and running some code that uses Google Directions API, but to what I can understand, is that that API is not allowed to be used without...
UnicodeDecodeError
Hello. After installing and starting a new project "Desktop" ( Win32), an error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 32: ordinal not in range (128)" Please, help me.
Android service from module
HI I create a module in titanum Android win 32 which has a service. how can I start service from titanium Android application from java script. What type of mainfeast.xml or tiapp.xml required to be change for startservice. How we can use...
Is it possible to create a ProcessDialog?
I've dug through the documentation for Titanium and can't find what I'm looking for. [Documentation for ProgressDialog is here.](http://developer.android.com/guide/topics/ui/dialogs.html#ProgressDialog) My current use case is for pausing during network...
Showing 35,901-35,950 of 47,732 1 … 714 715 716 717 718 719 720 721 722 723 724 … 955