Community Questions & Answers
[1.5.1] Window stack on Android
Hello, I'm trying to do something that seems simple but I can't get it working. I'm developing an application on the Android emulator, and I want a first window with a table view, and a detailed view for each element. The problem is that when I hit the...
CTIA Wireless 2011
Do you know if Appcelerator will be at the CTIA Wireless 2011 at Orlando?
App builds, but won't install.
My app builds just fine. It opens iTunes to install on my iPhone, and then it says (after backing up and install the app), An unknown error has occurred 0xE800004C. I can't even install my other app that has been on my phone before!!! I uninstalled and...
Keyboards constants do not work on iPad
The following keyboardType values do not display on the ipad as they do on the iphone: KEYBOARD_EMAIL KEYBOARD_NAMEPHONE_PAD KEYBOARD_NUMBER_PAD KEYBOARD_PHONE_PAD They just display as either default, or with numbers and punctuation. Is this a...
Multiple modular apps with same database
Hello, I would like to know if there is any way to create multiple apps so you have a general one and sort of modular external apps that you can access from the general one. How could the general app open external apps and communicate data between them...
Trying to remove a geolocation event listener
I am managing my app using javascript classes where possible, but seem to have hit a few *geolocation/eventlistener* snags. Structure ====== I have a class file setup like this: ~~~ var MyClass = { init: function(){ // set some vars // Call geo...
Cloud offline on Sign-up!!
I tried now a couple of time to Signup but I get the Cloud is offline everytime I tried to click on the Sign-up button While filling in the details I have internet connection and cloud is online... Please help Thanks R
Double key stroke problem on Titanium Desktop (Ubuntu 10.10)
When I type an alphabet (i.e. "abc"), it shows "aabbcc." I have seen this problem only on Ti Desktop Applications. Does anyone know how to fix it?
NavigationGroup closing more than one window gives a blank screen
I'm having a problem when i'm trying to close 2 windows at a time thats been opened under a navigation group. For example: ~~~ navgroup.open(window1); navgroup.open(window2); navgroup.open(window3); in window3 i have a button with an event listener...
Open new window on iPad
Hi When I open a new window on the iPad like this: var win = Titanium.UI.createWindow({ url: 'ownage.js', navBarHidden: true, backgroundColor: '#000' }); win.open(); ... the new window doesn't get slided to like you usually see when...
Change a class dynamically
Hi, Do you know if it's possible to change dynamically the classes associated to a TabViewRow (or any other kind of view)? I have tried : ~~~ row = Ti.UI.createTableViewRow({ classNames: ['class1', 'class2'] }); row.classNames = ['class3',...
Serious Memory Issues with Android
Hi, I'm using Android 2.2 APIs, and Titanium's 1.6.0 RC. I've been trying to load around 20 images, each around 40Kb in size (on average) in a scroll view. However, after a few loads / refreshes, I get a memory problem. I've copied part of the trace as...
Touchstart for rightNavButton?
I have some problems handling touchstart (or, equally, touchend) events for right navigation button. The code is very much like this one: ~~~ //create win here var button = Titanium.UI.createButton({title:'TouchMe'}); win.rightNavButton =...
Trying to connect to web browser through iphone simulator
Hi, i am trying to connect to web browser through iphone simulator, but i have some problem here, as it is a secured network, 1st i need to give my credentials, but i am not able to type in the UI and i think it is not connecting. I am using this...
Geolocation - show pins inside a radius
How do I show pins that is inside a radius of 5 km from the user, and how do I update the pins if the user moves? Morten.
Trying to install it into my iPhone
Hi, i have almost finished building my app. When i try to install it into my iphone to test run, i received this error. Install Error Error: Traceback (most recent call last): File "/Library/Application...
Call Facebook login dialog when user selects "yes" from a switch
Hi, I'm trying to create similar functionality like Yelp when you select the "share on facebook" switch, click "check in" and it prompts you with a dialog box to login to facebook. Is that possible with Appcelerator and if so, can...
Reusing webView in a scrollable view is not working
I am trying to show 10 pdfs in a scrollableView and the number of pdfs can grow up to 50. I am using 5 webViews to show the pdf and trying to reuse the same 5 webViews but when running the code (without the url manipulation logic) on emulator it only...
Passing complex object to web service example
Does anyone have a working example that demonstrates how to send a complex object to a .NET web service? For example, say I have a web service that accepts a Person object: C#: ~~~ [WebMethod] public void SetPerson(Person person) {} ~~~ Person object...
What is the solution to R.java manifest error ?
New installation, Titanium SDK: 1.5.1, Tried APIs 2.2, APIs 2.3, 2.2, 2.3. Do New project, don't change anycode and get: [ERROR] Error generating R.java from manifest But import Kitchen Sink project leaving all other settings the same as above: Titanium...
Ti.include
What is the use of Ti.include can any one explain with sample code
Emulator keeps showins SDK=loading... and Screen=loading...
I have installed titanium and all other requirements per the installation guide. When I go to create a new project, I get no options under my "Run Emulator" screen. If I download the KitchenSink example and import it in, I am getting...
if setTimeout() is triggered call a function
a button show an loading screen and load data with createHTTPClient() and set a setTimeout(). in the xhr.onload function hide the loading screen. but what if the xhr.onload not triggered? is there a way to call a function if the setTimeout() is triggered,...
https not working on the device with Titanium.Network.CreateHTTPClient
Just before sending the URL in xhr i am setting the property. validatesSecureCertificate to false: Note: set this to control how SSL certification validation is performed on connection. defaults to false if in simulator or device testing and true if...
Problems with UrbanAirship?
So I set up Urban Airship for my App using the [Titanium Guide](http://guides.appcelerator.com/en/push_notifications.html). I got up [How to consume APNS messages in your...
Link TextFields to use "Next" Keyboard button
I'm building a signup for and I'm trying to link text fields so that the "next" button on the soft keyboard takes you to the next field automatically. I can hack something with something like this: ~~~ l_firstname =...
Tweetanium and jss
Hi, I have a little question about Tweetanium. It is said on Titanium website: >"The Tweetanium Mobile application, when finished, should represent some of the better tips, tricks, and best practices that we’ve assembled over the last year...
Android Action Bar
Hello Guys,, I am new to mobile development using Titanium (excuse my ignorance). I have been trying to implement Twitter / Facebook like header call ActionBar for a simple kitchen application. I have noticed that we can do so by modifying the main.xml...
Can't get TableView data (continue)
This post is closed as being solved (http://developer.appcelerator.com/question/112731/cant-get-tableview-data) and the post says that the data variable works on android. This complete program works on iphone and not android and uses the example solution....
SimpleGeo Usage?
Has anyone used simplegeo with Appcelerator? If someone has and can post some sample usage code to hit the endpoints that would be great! Thanks
Titanium 1.2.2 + Titanium 1.5.1 sdk + Tibar 4.2.0 = cannot install into device
Hello, i red all the posts but I think there is no current clean solution to this issue: if I am using Titanium 1.5.1 with Tibar 4.2.0 I am able to compile and run my project into the emulator (with some tricky work, as stated for example here:...
Forward & Reverse Geocoders
What underlying service does the forward and reverse geocoders use? I've noticed a few limitations: 1. I can't forward geocode a zipcode. 2. Often reverse geocoding doesn't return a valid city (for relatively well known places). 3. Reverse geocoding...
Ability to detect disabled or restricted conditions
I have and app which is in test right now and I have a very specific need. I have been forced to use the new Facebook module in the 1.6 SDK, due to a serious and fatal bug in 1.5 dealing with scrollviews now fixed in 1.6, and the implementation currently...
Can't get TableView data
I have added a table view and wish the rows to be checkable. Then after checking and unchecking various rows, I want to be able to get a list of all the data rows that are checked. My current problem is that I can't find any way of retrieving all the...
Fun Application
Hello everyone I am new to Titanum and I'm starting to take its first steps between applications for iPhone and Android. My intention is to create applications such as http://www.phizuu.com/ -> Assuming that I bought from a week with my first...
Titanium Docs for iPad - new App in the AppStore
Hi everybody and thanks for your support with [iPhone version of Titanium Docs application][iphone]! During the last two weeks we have updated the app and released iPad version of the docs (with code examples) [which you can take from the AppStore][ipad]....
Android: window.width/height no longer contains a value in SDK 1.6.0
Hi, today I switched from 'Titanium SDK version: 1.6.0 (01/29/11 17:49 f9036efc1f4a524603bf)' to 'Titanium SDK version: 1.6.0 (02/14/11 16:58 4056f5d...)' cause the latest SDK contains a fix for non-cached network images. Since this update I'm no longer...
after 1.6 RC upgrade, window show hide issue
Is anyone else having this issue after upgrading to Titanium 1.6 RC mobile sdk.? It plays up in the following way. My code is pretty simple was showing and hiding a window, but since upgrading from 1.5.1 to 1.6 RC, when I call the window to show on the...
setTimeout/setInterval from a Worker
Is it possible to use timer functions from a Worker -- I can't seem to get them working with Titanium Desktop. I know setTimeout/clearTimeout/setInterval/clearInterval come from the window object (which isn't accessable from a Worker), but the mozilla...
Is there a way to pass custom command line arguments to a desktop app?
e.g. MyApp --option1 --option2 And then access them somehow within the ap... I'm not seeing anything in the API that references this, so I'm guessing not, but wanted to ask to be sure.
Hoptoad iOS Notifier and Titanium?
Can I use Hoptoad iOS Notifier (sends iPhone errors to developers) with a Titanium Appcelerator iPhone application? (http://hoptoadapp.com/pages/ios-notifier). I cannot tell for sure from their website, but it looks like it is an Objective-C library, so...
Recommended way to get user's location
We started off with the recommended route by using Titanium.Geolocation.getCurrentPosition() we then realized that only the location that is returned in the last known location rather than invoking the gps signal. We tried the watch position &...
Desktop cloud woes
I'm using the 'Package' area of TI Builder to send my code to the Appcelerator cloud. This can be flaky but can be prodded into action if I restart TI Developer - However... Today I find if I download my assembled app via the public link in the 'Links'...
Solution: call getCurrentPosition multiple times
I finally have a solution to an old problem. I have a function I call multiple times using setInterval. Inside the function i make a call to GeoLocation.getCurrentPosition. However it seems while my function is called correctly every second,...
adb devices returned 0 devices/emulators
Tried Titanium on Win XP, installed, checked documentation, reinstaleld, read posts on this error, tried every (I think) suggestions but this error still pops up and no app i emulator. Checked missing files with Filemon, no clue. Titanium seems very...
Double tab or click trigger?
*RESOLVED - see post by Aaron Saunders Hi, is there a way to trigger a double tab or double click after opening a WebView? I'm trying to zoom into a local HTML file once it is opened. It has a fixed width and height, and when it is opened it doesn't scale...
Iphone: Image map like thing
Is it possible to perform certain action on different parts of image? I have images and I want to open views based on clicking different parts of the image. How could it be done? Thanks
language of the selection menu
hi, where can i change the language/wording of the selection menu? it is in english despite my device language is german. i quite confused.
Tableview with images really slow
It appears the TableView with images is really slow. It seems to load all the rows first and then scrolling is enabled. So if you have 25 rows the end users has to wait till all the rows are being loaded. This has started to happen after 1.5.X. We were...
Refresh table view and modal crashes
Hi Guys, Really Random bug. * I have a table view which is populated with data. * I have an event listener that opens a web view(Modal Window) on click (Works Fine) * I have a refresh button (Top left) This issue I have is that if i click refresh and...
Showing 37,451-37,500 of 48,737 1 … 745 746 747 748 749 750 751 752 753 754 755 … 975