Community Questions & Answers
Audio seek FWD & RWD on desktop app
Hi, Anybody out there know if it possible to search within an audio track by seeking forward / backwards. Developing a desktop app which need a fully functioning audio player... Stuck!
How to detect if another app is installed and/or...
Hello to everyone, I need to detect if another app is installed in the iphone, if installed run that app, if not go to the appstore directly to that app to install it... Would appreciate any help or comments that help me to solve this or at least help me...
Window without TabGroup in Android
When I create a window as my root for Android, I will get the window in fullscreen. If I set win.open({fullscreen:false}) It will load a empty screen before it actually opens my window. So when I press the back button, I will first pass an empty screen...
Android adb has moved!
I installed the latest Android, I installed the latest Titanium. I went to the 'profile' tab, and selected the location of my Android install. Titanium rejected it because it couldn't find 'adb' in the 'tools' folder. I looked in the tools folder of my...
Cannot find documentation to use Titanium.UI.currentTab
Throughout KitchenSink new js files are loaded onto the screen using the line ~~~ Titanium.UI.currentTab.open(win,{animated:true}); ~~~ I cannot find the function Titanium.UI.currentTab anywhere in the API and actually got "Search Results for:...
How to add custom zooming feature for camera with overlay?
Any idea? than let me know. I try to use transform property of show camera for that purpose but did not get desired result.
Detect tabswitch - Close Pop-up window on tab switch
Hello I have create a Pop up window such as the kitchensink example : 'Base UI -> window (standalone) -> Animation Fun' Now i can open and close this window perfectly with a button, but the problem is when i switch a tab it remains on the...
German PDF + WebView Tutorial
Für alle deutschsprachigen Entwickler könnte vielleicht dieses kurze Tutorial interessant sein, in dem ich kurz erkläre, wie man mit einem WebView in einer PDF-Datei eine bestimmte Seite anwählen kann und umgekehrt die aktuell sichtbare Seite...
Possible bug. Compiler doesn't always register code change
Hello. I discovered a possible bug with the compiler. I saved some changes to my app, but the compiler ran my old code. I'm running with Titanium SDK 1.6.1 and Android SDK APIs 2.3. Details: 1. I had a tableView, with one tableViewSection, with 5...
Drag an image and drop it in android
Hi I'm New to Titanium. I'm facing the problem of dropping an image in andriod. When i drag an image i want to move the imge with my 'touch start' and when i drop it in a particular location of the window it should display the dragged image in a large size...
File upload - What php do i need?
Hi Guys. I want to be able to upload some images taken with my app to my website. Looking at the following code from KitchenSink what php would be required to upload the file? ~~~ var win = Titanium.UI.currentWindow; var...
Separate Portrait and Landscape layouts
How can we specify two different layout for portrait and landscape view of same window in Titanium Mobile .
How to add 'phone' in Ti.Contacts.Person
Hi folks, I'm experiencing some problem trying to define the _phone_ property on a _Titanium.Contacts.Person_ object in order to add it on the phone contacts. I think I get it wrong cuz whathever syntax I'm using, it keeps crashing when I add the _phone_...
send a email without emailDialog?
Hi all, I have to sand a email with attachement but i I want to use the mail user agent of iPhone/android and not the emailDialog. How can i do? Thank you
Application Freezes on splash screen
On iPhone simulator works fine, but on device splash screen freeze. Already the ANALYTICS option set to false, but its not working. Can anyone help me? I am using Titanium sdk 1.5.1
Keep getting HTTP error 500 when upload file to Google App Engine
Did someone use Google App Engine (Blobstore) to upload file from Android? Tried the whole night. Still can't make it works. Here is my code. Any suggestion please! ~~~ var httpAsk = Titanium.Network.createHTTPClient(); httpAsk.onload = function() { ...
Automatic alphabet scrollbar: Only uneven work
Hello EDIT: Sorry to edit but it's not the uneven, it doesn't work when there is only 1 person in that header, then it just goes to the next one. I tried to make an alphabetical list next to my tableview so I can click on the 'K' for example and my...
HttpClient Gzip Encoding on Android?
Are there plans to support gzip http encoding on android too?. It works quite well on iphone and it would be rather nice to have it on android too.
MusicPlayer queue = all
Hi, i have a Problem with the MusicPlayer. If a user has no Music selected via iPod and there is no selected queue, every song should selected instead. I want that the user can choose "shuffle all songs". Thanks for help!
Ti.Barcode Module
Hey Guys, Ive had a nightmare over the last two days, and its all down to trying to get barcodes to read and scan, i cannot get Ti.Bar working anymore. It just fails everytime. And im trying to get the new titanium+ module for barcode scanning and its...
XML-elements to picker row?
Is it possible to parse XML-elements into a picker row (like the standardpickers for Android in Kitchensink?
Web radio in link .pls
Hello all, I am developing an iPhone application for my client. The second release should also include a streaming web radio. The link to the web radio that the customer passed me is .pls link and reading the content of the .pls link I only find a simple...
splash screen freeze but works fine on iphone emulator
On iPhone simulator works fine, but on device splash screen freeze. Already desabled the ANALYTICS option, but not work. Can anyone help me? what are the causes of application to be freezed at splash screen on device? And also please can you suggest...
Android : Intent,Activity,Pending
While start playing the music, I need create an Icon in the statusBar and when I pause it should go off. The use of the Icon in the status bar should be, if I am out of the application or in other application..i should be able to launch the Music Player...
The best way to learn Titanium?
Hello everyone. So, I have been playing around with titanium for 4 days now. I understand some simple basic concepts. In fact mostly I don't get or understand. So to use Titanium I have to learn JavaScript language correct? I know/use 3 languages but...
I'm Stock here I need Help .....
I have update to the latest version of xcode and now every time I build an app it show me an error i will appreciate your help i dont know why this happen i have delete and install xcode again i don't know how to resolve this i will appreciate with all...
Save external file to app's filesystem
I'm trying to save a .wav file from Mail. When I save the file it "looks" like it has been saved and will show up in my in-app browser (i.e., being read from the filesystem) but it won't play. Could it be `read-only`? I can alert the file path...
from titanium javascript call object-c form(xcode)
I already build a project in object-c, if now i use titanium to create a form and a button to trigger back my object-c form, how to do it ? possible?
BUG: Website Q&A forum doesn't send notifications
It seems that only one type of notification is sent — to the post's author, when a direct answer is posted. No others, e.g. other commenters or interested people who've clicked "subscribe". Amirite? If true, the result is that Q&A and...
UrbanAirship on Android
I can't get the UrbanAirship module to work on my Droid. I'm registering and including the module just fine, but when I call the registerDevice function, it fails per the log below. Can anyone help me get this working? My code that is causing the error is...
Remember Me / Session Implementation
I have a working user account creation and authentication system tested on Android. It uses HTTPClient POST requests against a PHP+MySQL server backend. How can I add "Remember Me" functionality, so that when a checkbox is ticked at the...
position of label relative to previous label
Hi I'm having a detail view of data from a row. So I have a nice image on top and text below it. Now I want some labels after the text. Because I don't know how long the text will be I can't give it an absolute position? Anyone knows how to do...
[ERROR] Your TARGET_BUILD_DIR is incorrectly set.
Hi I have download the newest version of xcode and now i get this error every time I launch an application [ERROR] Your TARGET_BUILD_DIR is incorrectly set. Most likely you have configured in Xcode a customized build location. Titanium does not currently...
Access a window childwindow as CurrentWindow?
Hi, I'm trying to access my childwindow of a "main-window" from a tabGroup, so I can remove the title from the childWindow when for example using "Ti.UI.currentWindow"? I create a window, and then adds it like this (opens...
WebView is unresponsive in device. works fine in simulator.
we're building an application which downloads all the files of a website then displays the downloaded index.html in a webview. this works fine in the iPad simulator but when testing in the device the contents are unclickeable. please tell me what info to...
geolocation kitchensink
1st - I AM KINDA NEW! With KS + XCODE SIMULATOR (and some other examples) i get : LON = 34 LAT = 135 Work but is not current GeoLocation, can someone point me in right direction? Thanks!
Pull using Json and display in each .tableViewData
Hi there, I'm still pretty new to javascript and titanium. I've managed to create a php script on my server and send to JSON. I have a script from the web which i'm trying to adapt to fit my needs. How can i edit it to get the 20 or more fields it's...
transform is not working with TableViewRow
Hi, I tried to tilt a TableView and TableViewRow in opposite directions to get a tilted TableView, something like: ~~~ var table = Ti.UI.createTableView({ width: 400, transform: Ti.UI.create2DMatrix().rotate(22.5) }); var row =...
javascript assignment not working
Hi, I am struggling with a simple assignment in javascript. After assigning an object property it remains undefined. Can anyone tell me what's wrong? Here is my code, and the...
reverseGeocoder no longer working "No address found"
I have spent months building an app with that uses Appcelerator's build in reverse geo function. It has worked flawlessly. Days before I am ready to submit to the app for review, it has stopped working. It consistantly gives "No address found" or...
AdMob Module Installation
Ok so here is the issue, I've built the adMob but it won't load the module for some reason. I'm able to load the module in Xcode just fine even though it doesn't show an add but this is how I have it written, and a screenshot to show the layout of the...
"Could not find SDK version 1.1.0" on fresh, clean install of Titanium Developer 1.2.2
Have been playing with Titanium Developer going through the tutorials for Desktop applications (which is all I need it for at the moment). Everything was find until this morning -- I can't get it to run any projects I made; even if I start a new project...
TiBar Module
Hey guys, i have got this module working in the past but yesterday/today i am just getting nothing from it, it sometimes works, but crashes quite quickly, or just never launches. This is the error code i am getting. Any help would be amazing. `File...
Can't access table row attributes with addEventListener [undefined]
I am trying access an attribute in a table row (populated through SQLite) with addEventListener, but I can't seem to find the right syntax. When I use the code below, I get the error message: "e.rowData.playerCap is undefined." (I am getting the...
Facebook Checkin with requestWithGraphPath method
I am attempting to perform a Facebook Checkin using the Titanium.Facebook.requestWithGraphPath method. I had this method working fine for a status message update, so I am sure that I am using it correctly at least in that case. However, when I attempt to...
File Include Android Path Issue
I know there are now quite a few questions about this issue. Here is my latest issue, I can include files in iPhone without issue, but in Android I keep getting file not found, yet the file exists and is identical path as running in the iPhone...
How to use Ti.Contacts.getPeopleWithName?
Hi Guys. I want to search for a contact in the phonebook, if they exist - do nothing If they dont exist then add them. i tried this : ~~~ var findus = Ti.Contacts.getPeopleWithName('Adam Kearsley'); if findus.value == 'Adam Kearsley' { // DO NOTHING }...
Localizing Default.png and appicon.png
I'm trying to localize the Default.png and appicon.png on iPhone with the 1.6.1 SDK. I found something about it in [another thread](http://developer.appcelerator.com/question/98921/how-to-localize-the-name-of-your-app-and-the-splashlaunch-image) but this...
platform
~~~ loginButton.addEventListener('click', function(e){ //Next window after log in success var mainMenuWin = Titanium.UI.createWindow({ url:'mainmenu.js', title:'mainmenu' }); if(Ti.UI.platform == 'android'){ mainMenuWin.modal =...
Multi-select pick lists?
I have a iPhone app requirement to present the user with a series of views where they will make multiple selections and I will be adding the selections in each view to its own array. Think of a recipe, where they may need to choose vegetables on one step,...
Showing 34,701-34,750 of 47,739 1 … 690 691 692 693 694 695 696 697 698 699 700 … 955