Community Questions & Answers
Creating a web server
I'm interesting in created a web server on the localhost run from within my iPhone application. I've seen many apps do this...the local web server acts a method to get files from the iPhone onto a desktop computer through a browser. Does Titanium support...
Picker on Android not showing up on real device (Samsung Galaxy S OS 2.2)
I used picker and set useSpinner flag to true. It was working well on emulator but when testing on real device, it is not showing up. Here's the complete phone specs: Device: Samsung Galaxy S OS Version: 2.2 SDK Version: Titanium Mobile 1.5.1
Top corners of tableview are screwed up
I have a grouped tableview on iPhone. When I add a background image to the tableview, some garbage shows up in the top corners. How to clean this up? http://www.cornerstonesolutions.nl/tableView.png ~~~ var tableView = Titanium.UI.createTableView( {...
One codebase for multiple platforms - Best Practice?
I have a fairly large codebase for an Android/iPhone app, and I'm hoping to hear some suggestions on best practice for keeping the code as clean as possible while supporting multiple platforms. In KitchenSink, the following is fairly...
Webview performance vs Titanium & JSS Performance
Does anyone have any experience with the performance differences in webview and titanium views etc? I am planning an app which will require several basic animations which will changed when tapped. I was planning using gif animations in webview but after...
How to
Hello, I'm using TCPSocket connection, it works fine. But when I send two or more message like this: ~~~ if ( socket.isValid ) { try { socket.write("login root root\n"); socket.write("info ?\n"); tf1.value =...
Android device: HTTPClient POST parameters missing
I am working on an Android app, and have run into a problem where my POST parameters are being omitted (or stripped) from my HTTPClient during the send. This is my code: ~~~ //loginClient is an instance of Ti.Network.HTTPClient loginClient.open('POST',...
Resume event not fired on unlock
Hi! I am currently working on an app that check for GPS data every X mins/seconds. I use the "pause" event to stop it while the app is in background and resume it with "resume" event. No problem there. The problem is when you lock the...
Waiting for an HTTP Client to finish loading?
I am trying to build an app that is 100% based around getting information from web pages. I am brand new to Appcelerator. Right now according to my logging, my app tries to get the information from the web page, then leaves the function and displays that...
Building layout using Interface Builder
I am a visual guy, so I need to be able to layout my labels and textfields using a WYSIWYG editor. What I've been doing so far is using Interface Builder for layout to get the x/y values. It works fairly well, although I've noticed that where IB says x/y...
Objective-C files
I am developing a IPhone app using Titanium. Can I also add and link some objective-C files to my titanium project ? If yes then how may I do so? Thankyou.
Appcelerator always asking for updating
PLEASE HELP It's annoying whenever I start Appcelerator, it always updating. I uninstall and reinstall again. It still give me the same problem. I am on Windows 7 machine, with update to SDK 1.5.1 Please help
Could not get coverflow image to view
i could not see the problem in this code. maybe someone could help me Please view the code here:- edit: sorry my mistake.. simple dumb mistake... Thank you.
Local Notifications needs more tools to be manipulate on iOS
Local notification should have more methods to be manipulated! it's not possible to retrieve an old notification once the application has been closed and re open. So, it's not possible to modify it, or cancel it..
Facebook set status
I'm trying to set facebook status using status.set and stream.publish inside Titanium.Facebook.execute(). I have studied the KitchenSink example and read the documentation...
Window sub-context rendering
I am using windows with sub-context feature through out my application. When navigating from window to window, i just use open function and to get back i call the close function. When the new window shows, it starts blank and the controls render one by one...
Can not use android sdk . Titanium 1.2.2
I have downloaded the android sdk from google but titanium saying a message to me "Couldn't find adb or android sdk in your SDK's tools" !!!! I have installed the latest update for titanium but still the same message shows up. Can not use the sdk!
Contact email on iOS
FYI - trying to get contact email on iOS works in emulator, but crashes on the device. if I just simply add this line to my code, it crashes on the device (4.2.1 3GS & 4). contact.email I can use contact.phone and iterate over the phone just fine...
image from gallery size
Without writing it to a temp file first is there a way to get the images file size not width and height from an image that is selected in the gallery? https://github.com/appcelerator/KitchenSink/blob/master/KitchenSink/Resources/examples/photo_gallery.js
Creating Ti modules from existing Xcode projects (calendar)
Since discovering that Apple doesn't allow the native calendar UI to be used in apps, I've been searching around for alternatives, particularly for Titanium. While there are a few out there, none are as eloquent or as well done as...
Refresh Image Without Fade
Hi everyone! I asked this question about 10 month ago: Is there a way to stop the alpha fading transition after loading a new image url? I got something like an "webcam" view, just an image that gets refreshed. Something like: ~~~ var loadImage...
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.
Showing 37,901-37,950 of 47,725 1 … 754 755 756 757 758 759 760 761 762 763 764 … 955