Community Questions & Answers

Titanium SDK build pitfalls

This is rather a tip than a question - I decided to share it as it costs me some hours: I'm working with several SDK version, 1.5.0, 1.5.1, 1.6.0 and so on. I ran into trouble, that my changes to the sdk where not reflected after rebuild. Pro Tip: Never...

Android map icon

Hi, I'm looking for a way to add My Location on my application. At the moment only I can do that adding an annotation with my current position, but my idea is use the same My Location from the android map, which has a flashing icon. I don't know if it's...

Can I use my own API?

Hey, I'm sorry if this is a simple question. I have a web application which accepts data trough a REST API. Can I use appcelerator to develop a iPhone app that GET/POSTs data from the application? Regards, T

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...

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 =...

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...

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

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

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.

694 views
asked 2 years ago by Samwise Zhan
last activity 7 months ago

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.

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?

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...

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 ;(

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...

Showing 37,851-37,900 of 47,679 1753 754 755 756 757 758 759 760 761 762 763954