Community Questions & Answers
Hiding numeric keyboard
I have a form with numeric keypad. What I want is a "Next" button or someway to hide keyboard when user tap on any part of the background(View). How can I do it? I am using iphone and Titanium's latest SDK Thanks
Loading external URL.
Hi, Community :) One of my tab is opening a website of mine and it seems like there is a glitch with my source code. Whenever I double tab to zoom and double tab to zoom out the app crashes.... I tried it with other websites and same thing happened so i'm...
DatePicker Dialog
Hi guys. I'm fresh new to Titanium Mobile and I'm trying to build a simple datapicker dialog to be shown upon a click to a button. From what I've experimented and read, the way to do it is by assigning a view to an OptionDialog with the picker...
Error in map
When i write mapview code run in iphone but in android it shows error [ERROR] Failed installing com.map.example: pkg: /data/local/tmp/app.apk
[ERROR] Failed installing ding.ding: pkg: /data/local/tmp/app.apk
Hi installed android sdk and titanium , i started new project and runned successfully ,it shows two tabs UI . but I installed kitchen sink from https://github.com/appcelerator/KitchenSink i tried with new project and copied resources i tried...
Looking for freelancers
I have a somewhat large app under construction and I need 1 or possibly 2 people to assist me in the following areas: 1) Optimization - this is my first iPhone app based on Titanium, and I'd like to have someone around who can dig into the code and find...
Why no tabs in tweetanium?
I'm curios why the tweetanium code doesn't use the standard API for tabs and tab groups? What couldn't be accomplished with the tab API? I ask because I was planning on using the tab API but now am considering following the tweetanium paradigm.
Best Way to Output Static HTML/CSS using Titanium
I'm thinking that the old document.write way of outputting HTML won't work.. i.e. ~~~ document.write("<h1>Hello World!</h1>"); ~~~ Has anyone experimented with how to just output and format a screen for content? I can't seem to...
Load a french file in a string (iso-8859-1)
Hi, I need to open a text file encoded with french accents (not in UTF-8). All I get for the moment is a TiBlob that I can't manipulate in any way. blob.text or blob.toString() return null. Is there a way to access to my file content so I can at least...
. in app name (1.5.1)
I have app called xxx. When I change the app name to xx.xx then the simulator and also the distribution build fails. Do anybody have any solution for this?
Data loads in wrong window in tab group
I have a tab group and if I switch between the tabs fast enough, the data is loaded in the wrong window. I have "var win = Titanium.UI.currentWindow;" at the beginning of each subcontext but before it has a chance to load I'm already on another...
How to change the path to an existing Project?
Is it possible to change the path to your project once its been established? I moved my app to another directory and changed the name, but can't seem to find anyplace to change it. I tried deleting the project and importing it again, but obviously the...
close() and Insert SQL statements
So I've spent most of the afternoon trying to track this issue down. I am having seriously weird SQL behavior that is causing my app to stop processing. When I enable Trace as the filter in Ti Developer, I notice the following error: [TRACE]...
Mix Titanium.Platform.openURL with WebView?
I have an ad in my webview that I would like to open another of my apps in the ios appstore. I have the link set to go to "itms://itunes.com/apps/app-name" but whenever I click on the ad it just spins. I've read that I potentially need to use...
Facebook.createLoginButton not working on iPhone but works fine on emulator
After days (literally) of non-stop hassle trying to compile my app for use on an iPod Touch and bending over backwards whilst jumping through fiery hoops for Apple's certificates, keys and god knows what else, I've finally got my app running on the iPod...
How Does Titanium Mobile Work?
How does Titanium Mobile work at a high level? What do the build scripts run by Titanium Developer do?
scrollview scrollbar color
Is it possible to change the color of a scrollbar in the scrollview? If not, is it possible to make a custom scroll bar?
Module for adding AAC streams?
Somebody clever could make some money by writing a module that added the capability of streaming AAC format streams via Appcelerator. Several people, including me, have asked about AAC support and have never been given an answer as to if it will ever be...
Fresh Titanium Install won't run a fresh HelloWorld app
I am running a fresh install of Xcode 3.2.5 and iOS SDK 4.2. Creating a basic hello world app in cocoa works and runs correctly there. Then I downloaded and installed titanium and I am having a few problems. 1. In titanium, if I go to build and run in...
[Android] Ti.App.fireEvent not detected on some devices
I am testing my application on Android devices, and while it works perfectly on one device, there is another device that does not detect an event. The code is pretty simple: ~~~ //app.js Ti.App.addEventListener('loggedIn', AppListener.loggedIn); //in my...
Installing Error / Codesigning (Device: iPhone)
I'm stuck with this and it really starts annoying me! Whenever I try to run my app on my iPhone it return this error: ~~~ Install Error Error: Traceback (most recent call last): File "/Library/Application...
Looking for Titanium Developer
We're looking for a Titanium developer to help us build an app that can be deployed to iPad, Droid tablet, PC, and Mac laptops. App will need to store data locally and work offline and then sync up with REST services when online. Please email your...
Upload photo from Android camera to PHP script
I've been doing a lot of Googling and forum searching to get a photo uploaded from a Titanium Android app. Here's the code I have at present, bound to a button click: ~~~ var button1 = Titanium.UI.createButton({ color:'#fff', title:'Capture', ...
using titanium.py for debugging
Howdy, I was trying to use titanium.py (from the mobile sdk) to debug my code. Now running from my project's folder the following command: `/path_to_titanium_mobile_sdk/titanium.py run --platform=iphone` makes the app be built/installed/run on the iOS...
Android:back on lightweight windows
I am opening a lightweight window in order to have the tab group displayed along the top on all windows. However, when I do this, the app closes when the back button is closed. I've tried using exitOnClose on the window when creating it and that does...
Could not find SDK version 1.1.0
Im trying to Launch an test app with the 1.1.0 SDK, and when i click the button, the console just return this: ############ Preparing to package and launch desktop app. One moment... Traceback (most recent call last): File "C:\Documents and...
Why shit happens or why Ti crashes when I launch my app in Titaminum desktop?
Hello! Yestrday I installed Titanium to my Win XP SP3 Russian. I signed in and logged in, installed 2 updates: for Desktop and Mobile, created a desktop project: (Edit mode) info: MSDO, com.potapov.msdo, 1.0, No description provided, anton,...
Titanium.Database.install not working :*(
Hi, Hi i have a SQLite database located in a folder called 'data' within de 'resources' folder called conferences.db. ~~~ var db = Titanium.Database.install('data/conferences.db','conferences.db'); ~~~ All i am trying todo is 'install' the database but...
Can't set ImageView X or Y property alone?
I want to change an ImageView's X or Y position, but I'm having to do this to get it to work: ~~~ win.addEventListener('touchmove', function(e) { var center = { x:e.globalPoint.x, y:image.center.y }; image.center = center; }); ~~~ If I do...
JSON parse fails
Hi, Further to this question ` http://developer.appcelerator.com/question/104551/postzip-code-from-lat-long` I get a parse error on JSON string from the google geolocation API. My code to get it is ~~~ var postCodeData = getPostCodeData(retType ,...
php - doesn't work at all (nothing!)
Hi there, I just tried the given php examples (from programming guides) like this: ~~~ <script> function my_php_function($item) { $result = array(); for ($index = 0; $index < $item->count(); $index++) { ...
Android emulator slow?
Hi, I've installed the Android emulator and successfully used it with Titanium on a Mac, however, it's very painful to work with it. Very slow to build (2-3 min) and the apps also work very slowly. In comparison, the iPhone emu works wonderfully, having...
Titanium open grouptab in a new window
Dear all, I have an issue of opening grouptab in a new window. For example i would like to have a login window, after logged in user will be directed to the main window that consists of group tab. thus, login window's code is available on app.js and...
Store a image to load later
Ok so I have a settings view which is a modal view in my app (iOS iPad) The settings menu has 3 options - insert name - create/upload character - create/upload house The name is inserted and the name would appear in the book part. I do this by setting a...
How to start a new Android Activity?
I'm trying to start a new custom Android activity with Appcelerator and having some trouble. I'm not sure where to put the java file in my Appcelerator project and how to correctly link to it. Here's the HelloAndroid.java activity I'm trying to run from...
Sudden Titanium Developer Instability (crashes on launch)
This has happened before, and somehow resolved itself magically. Yesterday, I was cruising right along - Titanium is running OK. At the end of day, I close the Titanium (but I don't, shut down machine). This morning I come in, and Titanium won't even...
Problem with Environment Settings with new Windows install
Hi all I installed Andriod SDK Tools and Titanium Dev 1.2.2 today on a Windows box. I'm trying to import the Kitchen Sink project but when I try to enter my Android SDK Environment Settings I get the following error: `Couldn't find adb.exe or android.bat...
not recognized
Hi everybody, I'm working with the mobile sdk (1.5.1 and 1.6.0) on a mac. I did exactly what it is mentioned in this post : http://developer.appcelerator.com/question/89761/tilocalegetstring-or-l-wont-work The problem is that the...
Styling a clickable label
My app will likely have a number of labels that will need to be clickable. Functionally I have it working fine but I'm struggling with the best way to visually indicate that the link is clickable (without the ability to use underline). I'm curious as to...
[DEBUG] ignoring new layout while animating in layout Child..
Just a small question: What does this mean ? ------------------ **[DEBUG] ignoring new layout while animating in layout Child..**
Trying to make a hover-button, with addEventListener
Hello, this is my first post here. Just started to develop with titanium so i am very new with this. Anyway, my problem is that i am trying to make a very basic app with just a button on it, in the middle of the screen. After that, I want the phone to...
Post/zip code from lat long.
Hi, I am trying to figure out the user's postcode from their current position. Is there any way to do this using the google api (from Titanium, not in a web view) as otherwise it is going to be a large database of postcodes and a serious distance...
Problem : Titanium.Gesture : shake disable after keyboard blur
hello, I have seen in my app and in kitchen app, the event "shake" disabled after call blur function (ex : search bar). There are a lot of thread about this. But someone know when it will be resolved? edit : I work only on simulator. I write...
SQLite multiple INSERT
Hi all ! I need to insert a lot of lines into a SQLite database. I currently do this : ~~~ for (var i=0; i<xml_length; i++) { db.execute('INSERT INTO myTable ("id", "value") VALUES ("'+xml.id+'",...
Problem with Urban Airship
I have made an app which can receive push notifications from Urban Airship through a .NET Service I created. Everything works great when I restart the app by double clicking the iPhone button and killing the app and then start it. Then the phone gets...
Remote .MP3 and .OGG files not playing, locally they work fine
I am trying to using the sound object on Android to play mp3 (or ogg) files. If the files exist locally, I play the local files otherwise I want to play the remote file. The local file works fine. The remote file doesn't Here is some sample...
help for simple interactive presentation
hallo i would like to develop a very simple application for a free elearning: is a short movie , at the end you tap on the screen and you see the next movie. Very simple, like a Powerpoint presentation . but for iphone. Well, someone could help me to start...
Webview Error
Hi, Community :) One of my tab is opening a website of mine and it seems like there is a glitch with my source code. Whenever I double tab to zoom and double tab to zoom out the app crashes.... I tried it with other websites and same thing happened so i'm...
Reterive the Date
hai all, I have picker in Titanium.UI.PICKER_TYPE_DATE, when i select the date i need to have a date only .
Package iPhone applications from bash/shell/terminal
Is it possible to create the iPhone Application package from bash with Titanium?
Showing 37,301-37,350 of 47,780 1 … 742 743 744 745 746 747 748 749 750 751 752 … 956