Community Questions & Answers
TItanium Desktop SDK 1.1.0
Hi, I'm pretty new to Appcelarator, and just upgraded the SDK to 1.1.0. Great tool, great update - but since the upgrade i'm running into the follwoing problem: The menu ietms of the app's menu on the Mac are doubled. That means I have 2 Apples, 2 Edit,...
IOS parseInt Bug?
Have you guys tried that parseInt("09")==0 rather than 9 this bug still exist in Titanium 1.5.1 wasted a few hours checking my code, and finally found it was because of this statement.
Hiring Titanium Mobile Developers
Celebrity Apps, developer of premium fan apps for Hollywood Celebrities is hiring Titanium developers. Please contact Randy Adams at randy@celebrityapps.com for details.
Couldn't find adb.exe or android.bat in the SDK's
When I try to specify the Android SDK in the Profile perspective, I get an error message that Titanium developer couldn't find adb.exe or android.bat in the SDK's "tools" directory. I look in the tools directory and I see the android.bat...
"Show Inspector" menu item still there after packaging
I seem to remember reading somewhere that the "Show Inspector" menu item in the Window menu should be removed once an app is packaged in Ti Developer. My app still has it after packaging. What's going on
Background Crashing
Anyone having issues with app crashing while in background service randomly? 1.5.1 \ SDK 4.2 Specifically if I run app it loads, hit home button it runs in background but if I do that about 5 or 6 times it crashes and has to load again and therefore...
TCPSocket
I'm having trouble with the TCPSocket and Android... whenever I run ANY code using TCPSOCKET I get this error: Cannot call method "CreateTCPSocket" of undefined Is TCPSocket not supported on Android?
Webview load url in safari
Hi, Is it possible to include a webview, and have the link load in safari?
Access applicationDataDirectory from a webveiw?
Is there any way of accessing applicationDataDirectory from the webview? I am trying to load images that have been stored there.
Titanium.Facebook.requestPermission is always returning True, even when the user declines the permission
Anyone else running into this?
Building Titanium From Source
Just a tip, if you are building Titanium from source following these instructions: http://developer.appcelerator.com/doc/mobile/mobile-build-osx Make sure there are no spaces in the path to the source directory, otherwise it won't work. Just figured...
App update notifications with private / corporate app distribution
This isn't specific to Titanium, but I'm not sure where else to ask. Maybe someone here knows... If you privately distribute an app (e.g. Apple's Enterprise program), how are app updates handled? With Market/Store published apps, users get a notification...
Do the debug information have any incidence on released applications ?
is there any difference between the debug level (warn, info, debug..) when the application is packaged to be released on the appstore ? i mean, is there any incidence on application speed, memory etc.. ?
Get onload from createimageview download
Trying to get callback when a remote image has been downloaded inside createimageview. The 'load' callback event does not fire when the image is downloaded. Seems like something that should be obvious, but I don't see it. Also, if the image has not yet...
New sample apps, where are they
Hello, in the last newsletter you said: Best of all, we're releasing two new Titanium apps (importable sample projects with full source code) that you can learn from and use! where can i find them ;(
kitchen sink doesnt work !
same as 400+ other people see http://developer.appcelerator.com/questions/search/kitchen%20sink%20doesnt%20work i got a bit of help during todays webcast but i have now installed "1.6" and "apis 1.6" and it still doesnt...
SDK 1.5 - ANDROID - Compiling each time
On SDK> 1.5 i get each time : ~~~ [INFO] Compiling Javascript Resources ... [INFO] Compiling Android Resources... This could take some time ~~~ that wasn't the case in 1.4 SDK. Is there a way to get back to (faster) : ~~~ [INFO] Tiapp.xml...
Camera app -- How do we do filters/effects like picplz, instagr.am?
We're coding an Android and iPhone camera app, that will use filters/effects on the photos like picplz and instagr.am does. How do we do this? Can this be done in JS, or do we need native code for each platform? Basically, the user takes a photo, then...
iPad exit when backgrounded
How can I close (exit) an iPad application when the button is pressed instead of just backgrounding it?
Android - Problem with TableView when Scrolling
Hello, I'm have created a table view with about 15 rows, each row containing a news headline and date. But when I scroll up and down the details in each row disappear as they leave the main view. I have no idea why this is happening, its working fine on...
Mobile API for local use?
Folks, I must be dense, but where can I get the documentation for the API so I have it locally in some form. Docs online are fine, but not on a plane/cell dead zone/etc. Seems like I should be able to build them from the source but not clear on the...
createAudioPlayer to play local files
I am willing to know if I can use Titanium.Media.createAudioPlayer (instead of createSound) to play local (not remote) files. I have tried the following code and the iOS simulator gives the following alert: "File Error. Unable to configure network...
iOS SMS Dialog module
Hi fellow devs, I only wanted to let you know that I just published on github an iOS module for sending in-app text messages. Check it out here: https://github.com/omorandi/TiSMSDialog Cheers!
Keychain API
I am working on an application for which I wish to store credentials. I do not want to store plain text passwords or even md5 hash to be compared in server for security reasons, so I was wondering if anybody has figured a way to use the Keychain API or who...
Is there a Titaniun.js file
Doh sorry for the spelling mistake ( Titanium.js is what I meant ) I'm trying to add code completion to IntelliJ by adding a Global Library and was wondering if there is a source library file that I could include. I've seen instructions for compiling...
webview scroll to top within scrollview
I have a bunch of news articles and when the user clicks on one I have another window with a scrollview populated with all the articles so that the user can easily swipe left for the previous article and right for the next. That is all working fine except...
// Accessibility for blind people! Not fully supported?
Hi together, in Ti1.4 accessibility was almost supported (checked my app with the accessibility inspector in the simulator), but in the newest Ti1.5.1 its totally broken! Most views and elements are ignored by the accessibility inspector... Another...
height property of a label not correct?
Hi, I have a view with a label within it. The label has a dynamic height because the text is read from a database. So the view also has a dynamic height. I try to determine the view's total height by adding the heights of all elements in it. But the...
Button Styles (Non Rounded)
For iPhone, is there a way to make input buttons and buttonbars non rounded (pill shaped)? Currently I am doing this by using a standard View with an image background and a click handler, but I would much prefer to use a an actual button image.
Reload webview on button click
Hi, I want to reload my webview on the button click. I have one button bar with different time range like 1day, 1 month, 3 month etc.. I tried it by adding the eventlistener on the button bar but didn't succeed. pls do...
TableView Index Search Link Magnifier Symbol
Hi, does anyone know how to implement the magnifier symbol that sits on the top of a table view index to take the user to the search field on an iPhone. You can see this if you view your contacts list but I can't figure out how to do this in...
What are the font properties in Titanium.UI.ImageView for?
Well as the title says: I wonder what the font properties in the ImageView object are for, see http://developer.appcelerator.com/apidoc/mobile/1.5.1/Titanium.UI.ImageView-object. As far as I understand an ImageView has no text.
I want declare the variable that can be used throghout Application.
How can we define static variable in Titanium? I want declare the variable that can be used throghout Application.
Creating a linked TableView
Hi everybody, EDIT: I'm using Titanium SDK 1.5.1 and running the app with the iPhone 4.2 SDK. I'm trying to build a tableView that enables users to click on a row and then show another window in the same tab. When I click on a row, I get the following...
Ti.Map.createView fires a "cannot call method createView of undefined"
Impossible to create a MapView in my application. When launching window a runtime error is generated with "cannot call method createView of undefined" I use SDK 1.5.1 with android API 2.2 var mapview = Titanium.Map.createView({ mapType:...
Is it possible to do push notifications without urban airship ?
I guess so, but I want to know if someone has had to deal with this.
App crashes on playbackState of VideoPlayer
As soon as I try to use the event playbackState of the VideoPlayer my app crashes in iPhone simulator when the video ends. steps to reproduce: - create new mobile project - copy movie.mp4 from kitchensink to Resources - ad the following to app.js below...
1.5.1 UI bugs
In a previous post I mentioned that the "setTitleControl" was not working anymore since upgrade. I just figured out that "rightNavButton" expression is not working anymore neither. For what I see I need to re-check all the code I wrote...
detail view make problems on htc desire hd
hello people, for ca. 2 weeks my app(you can find it at the market under hcd) make problems at the htc desire hd. when i go to the detail page, there came an error message and the app will close. Just at the htc desire hd... can anyone help...
String in webview
Hello Guys, Do any one know how to display a single string in a webview. Say var str="MyName"; How can I display this in a webview?
How to see my site in Safari browser in Landscape more of titanium simulator?
Hello, I want to see my website in landscape mode in safari browser of iPad simulator, Now I am able to see in protrait mode but not in landscape, how to do that?
How to write bussiness code in Titanium Mobile
How to write bussiness code in Titanium Mobile(Android)? I write " var date = new Date(); var d = date.getDate(); var day = (d < 10) ? '0' + d : d; var title = day; " When I run the App. A Error occur. The "title" is null. So,...
MapView not visible in a Tab
A Mapview does not render map (only grid) if it's placed on a tab. It works ok in a normal window. Is this normal or am i missing somthing? Here is the code im using: var tg = Ti.UI.createTabGroup(); var win1 =...
Distribution Package error
My app is ready to submit. I am trying to Package it under "DISTRIBUTE" in TI and I am getting this error. I dont even have the file path listed in the error..."/Library/Application...
Is it possible to change the position of the window controls on Mac?
The title says it all, is it possible to change the position of the window controls (Close, Minimize, Maximize) on Mac? Example: Reeder for Mac has a taller title bar, and the window controls are centered vertically (capture:...
How to: Adding a Custom iPhone Module to Your Project (EventKit example)
This was a big hurdle to clear -- I really wanted my app to be able to write events to the iPhone's Calendar app and the only way to do this is to access the EventKit framework -- something that's not included in the standard Titanium SDK. To begin,...
Orientation with older generation devices
Hi, I am testing my app on older devices, and have discovered that any horizontally orientated portions of the app are significantly messed up. They only take part of the screen and run off. Here is two images, one regular and one with a first...
Simulating Titanium.include() during testing
Hi, I'm using Jasmine as my js testing framework for mobile developement with Titanium mobile 1.5.1. It's working fine (with a little bit of hand mocking of the Titanium classes), but I wondered if there's a way I can simulate Titanium.include() to pull...
Does titanium actually embed a web server?
Does titanium actually embed a web server? My php projects havily rely on apache2 mod_rewrite to pass all requests to front controller (like http://url => index.php?url). How can I do the same in titanium?
Help with JSON...
Alright, here is what I need & have: I have on main TableView that has one option on it that opens a new window with a TableView on it that I want to be filled with stuff from a remote JS file in JSON data, like so: ~~~ { "Audi": ...
Showing 37,701-37,750 of 47,504 1 … 750 751 752 753 754 755 756 757 758 759 760 … 951