Community Questions & Answers
No Data in Analytics for Approved iOS App.
My first app was approved and released in iTunes however, two days later I am still not seeing any data in analytics for it. I did recreate my project the morning of the production build. When does Ti Developer submit the guid to my analytics account? Is...
Apply ellipsis to a label (iPhone)
Is it possible to apply ellipsize or ellipsis to a label on the iPhone?
Calculating icon position based on heading...
Hi guys, I've got a.. Math question, I guess. Anyway, what I'd like to achieve is this: a application which displays a map with the user's current location (I'm that far) and rotates according to the heading of the compass. Then, the hard part. I'd...
global hotkey shortcut to focus desktop application possible?
hi all, I would love to know if it possible to assign an OS specific global 'hotkey' keyboard shortcut to activate/focus a desktop application created with Titanium. Think of this as an application preference setting.
Get crash log from iPhone
Hello My iPhone app works fine on Simulator, but on iPhone, my app is freezing on loading (Resources/Default.png) On Simulator my first window (Titanium.UI.createWindow) open as proper, on iPhone my window doesn't open I tried to delete the build, the...
A big thank you....
We just launched our TSAzr app which was built with Appcelerator and I have to say that without the help of this community we couldn't have done it. Thank you all! <a href="http://www.tsazr.com">www.TSAzr.com</a>
Calling a php script
This is for a desktop app. So I have my my index.php which is my main page that has a button on it. When I press the button I want to call a php script, update.php, that will query my database and fill a div on index.php with update.php output. Which...
How to get the actual file size on ondatastream?
Hello I want to show a message like receiving: 1KB, 2KB ... 100KB on my iPhone app When I download a image on my app How to get actual file size on ondatastream? ~~~ var xhr = Titanium.Network.createHTTPClient(); // ... xhr.ondatastream = function(e)...
Titanium.UI.createWindow works on simulator, fail on iPhone
Hello I created an application, that works fine on simulator, but after deployed on iPhone, the application doesn't work ~~~ alert(1); // Window var win1 = Titanium.UI.createWindow({ title: 'Will it rain today', backgroundColor: '#FFF', height:...
can't install basic sample app onto emulator
I've got everything up and running. I'm able to create projects, the Android SDK is detected properly. I try to launch the Kitchen Sink app in an emulator, but the apk won't install. The emulator is launched properly, and the only failure point is at...
TTS Api
Hello, I am looking for an Api for Android that captures and parses a text to a TTS engine. Can anyone help. Thanks.
SMS Api
Hello, I am looking for an Api for capturing SMS (Text messages) on arrival for Android. Can anyone help? Thanks.
Objective-C Category in iOS Module
I am using a category on a UIKit class (UIImage) in a module and getting an unrecognized selector error (for one of the selectors in the category). 1. Are Objective-C categories supported? 2. Is there anything special that needs to be done to get the...
Is Appcelerator right for this project?
Hi, and thanks for viewing. I need recommendations on the best direction to go for a project. I just began searching cross platform development and now understand the top players in this field but know little of their strengths and weaknesses or the niche...
Switching different screens
Hi By default appcelerator adds navigation control along with two buttons in default app. What I want a navigation less app. User will switch to other window/screen by tapping the button I would add on screen rather navigation. How can I do this...
Saving Image to Folder?
~~~ Ti.Media.showCamera({ success:function(event) { var new_image1 = event.media; if (event.mediaType == Ti.Media.MEDIA_TYPE_PHOTO) { ...
Mac Tray
Is it possible to make an app that resides in the mac tray with Titanium desktop? I would really like to develop an app similar to those that are at the top-right corner of the mac bar. The kind that are next to the volume, wifi, and bluetooth control. Is...
Titanium won't run any iphone project; android's working fine!
Hi guys, I've upgraded to the latest version of Titanium, and it's been a pain. With a lot of trouble I've managed to get Android working, however, at the moment I'm not that interested in building Android apps.. iPhone apps, however, is a whole other...
How to access windows opened with tabGroup.activeTab.open() ?
I have a TabGroup in my iPad application with 2 tabs (each tab with an associated window). I have a button on the first window, that when clicked opens another new window using the function: tabGroup.activeTab.open( Ti.UI.createWindow({ title: "New...
When will we get an overall stable Titanium release?
My app was built with sdk 1.3.2 several months ago. It works okay as it is. I wanted to use sdk 1.4 when it came out but table views were extremely slow for me. Unfortunately nobody really...
Blur not hiding keyboard
In a tableview, I have two rows. Row 1 contains a textfield and row 2 contains a label. When the user touches the first row, focus is set on the textfield: ~~~ customerName.focus(); ~~~ When the user touches the second row, I remove focus with...
dynamically grow scrollView (for feature: very long A-Z index view)
Hi all! Is there any way to dynamically add space to the **TOP** of a scrollView? Unfortunately, if I increase the contentHeight the space usually will always be added to the bottom. If not - is there any way to move the focus of a scrollView...
Changing FBConnect Button...
I would like to change the FBconnect/login button. The only way I've managed to do this is by editing the image in the Titanium source files. Is it 'okay' for me to alter this image? Or even any other way for me to do this? Thanks in advance for the help!
Can't get app to write to database
I'm packaging a database with my app and I can select/read from it, no problem. But when I try to write to it using data in a text area, it doesn't work. The app doesn't crash, but the changes don't stick. Any help would be greatly appreciated! Here's my...
BarImage breaks Title text in navigation group - Just me?
If you have a barImage in a NavigationGroup, it deletes the title Text on child windows, only after one child window is called. The barImage works correctly on the parent and on the first child window called but not subsequent child images Code can be...
HTTPClient.open async has no effect?
I want to wait for my HTTP request to return with an auth token before trying to use it -- but I can't get the async flag to open() to do anything. A minimal example to demonstrate my problem: ~~~ var xhr = Ti.Network.createHTTPClient(); xhr.onload =...
"Hello World" fails to install on emulator
Hi! I just installed Titanium, went through "getting started" guide and decided to build my first app for Android. I did not change anything in default app.js. However, it fails to install on emulator. here is what I got: [ERROR] Failed...
cannot set OnCreateOptionsMenu
Hi all, I'm trying to create an options menu in android, I have the following code in my app: in app.js: ~~~ var main = Ti.UI.createWindow({ titleid:'main', url: 'Views/Main_Window.js', PLATFORM: PLATFORM, hideNavBar:...
Add EventListener to Multitasking Tray Controls
Hey developers, Is it possible to let my Titanium app, which runs background audio using [this hack](http://developer.appcelerator.com/question/47291/background-audio-in-14#113331), receive events using an eventListener, when the user has closed the app...
Creating a menu view / popup
Hi, I'm interested in creating a menu/selection area like the iPhones built in dialer and also a view like when a phone call is active where you could rotate it to see the back of the view.. This is for a VoIP product to put it in context. Say during...
Problem with search function with XML/RSS/TableView
Hi! I'm using RSS.js from kitchensink to load a homemade XML into a TableView. I realize rss.js may not be the best way and kind of nooby, but i've got it working =) Anyways, I would like to use the Search function (from...
Can't get JSS to work on iOS
I feel pretty stupid about asking about this, I can't get JSS to work in a fresh 1.5.1 project. I use [this][guide] example, so I don't really know where I could go wrong... **app.js:** ~~~ Titanium.UI.setBackgroundColor('#000'); var window =...
Giving an iPhone TableView a text value on the right side
Hi, Pardon my ignorance, I'm still learning a lot about Titanium Mobile... I'm looking to add editable text to a TableView on the iPhone on the right side of a row. [Here's an example of what I...
MapView's events are returning NULL in x,y and in the globalpoint
Hello, I am using mobile sdk version 1.5.1. On the click event of mapview, event properties of it like x, y and globalPoint are returning NULL. Is there any way to get its value.
iPhone Bar issue
Any idea on why the bar shows a blank title with a back button, then after hitting back it show the proper title? See images below:   is not working on Android. As I was not getting answers, I contacted them referencing my question... and **they...
Titanium.Network.TCPSocket - unknown method on Android
When I try to create a socket, I get an error. Whats up with this? I am using 1.6 api on android with running 1.2.2 ~~~ var socket = Titanium.Network.createTCPSocket({ hostName:'google.com', port:50000,...
BackgroundImage not showing with grouped tableview (iPad)
I am unable to get a background image for a window to show if I use a grouped style tableview on an iPad. What's even stranger is that the background is all grey. It does not show the standard, striped style. ~~~ var homeWin =...
Installing an application on Windows issues an unknown exception
Hi, I just installed Titanium developer 1.1.2 on OS X and used it to create a desktop application (made by html & javascript). I created the package using the installer type: network Everything runs fine if I install the package on a OS X virtual...
Titanium+Commerce AppStore approval?
Hi, I working on a war game that allows people to buy extra armies for real money. The payment should be processed as an in-app purchase without any download. Do you know if +Commerce will also allow in-app purchases? Will Apple approve an application...
View added to window event
Anyone knows an event that is fired when view is added to window or any other display hierarchy element?
Howto: custom "map": large scrollable image
Hi I have a large JPG (let's say 1000px * 1000px) which contains a drawed map of a terrain. The image is viewed 1:1, which means only a small part of the image is visible. My goal is the possibility to navigate through the map with sliding the image up,...
Using Ti Map View with drawing overlays vs. Google Maps API with draving overlays
Hi there, in reference to this thread ( http://developer.appcelerator.com/question/39111/does-titanium-support-drawing-overlays-on-native-map-view), i have some questions about using map view or using Google Maps API. First of all, in the referenced post...
How to fix the table "rubber band" effect
How to fix the table "rubber band" effect.. I am trying this code ..but does not work. var tableView = Ti.UI.createTableView({ data:data, moving:false, style:...
Database not opening
I just can't seem to figure out the pathing just yet. The file is located at "Resources/data/dbfile.db" I have: var db = Ti.database.open( Titanium.Filesystem.resourcesDirectory + "dbfile" ); but all I get...
Mobile Client
Hi, I am exploring the possibility of using Appecelarator/Titanium as mobile extender (mobile client) for our enterprise solutions. We have a middleware to extract data from heterogenous back-end systems and expose the same as web service. Also, there are...
Showing 37,401-37,450 of 47,485 1 … 744 745 746 747 748 749 750 751 752 753 754 … 950