Community Questions & Answers
Android and orientationchange problem(s)
I'm bumping into what seems like a Titanium-bug here - consider the following scenario in APIs 2.2 and Titanium 1.6 -> I have a window with a background-image, thats set to \Resources\android\images\res-long-port-hdpi\test.png the app picks it up fine,...
Controls do not render in tabbed windows
I have created two windows in two tabs in a tab group. It is almost identical to the initial code generated for a new app. Both tabs have the correct title, and the tab bar has the correct icons and switches tabs correctly. Unfortunately, any control that...
TabGroup
I'm writing an iphone app that uses a tabgroup. I created the tabgroup and added my tabs but when I open the tab group it automatically opens tab 1, I'd like to display something in the windows and have the user decide what tab to open. Is this a default...
Error while Building KitchenSink
I've tried to run the KitchenSink with android emulator through Titanium but I keep getting this error: <script src='http://pastie.org/1583785.js'></script> I couldn't find the same error in other questions. My Android SDK is properly set...
Error in compiler
Despite having compiled and run my project successfully in the Android emulator (under Win XP), I now repeatedly get the following error message for source code that previously worked OK. I've no idea what's wrong. Can anyone help? Thanks. Error in...
unable to delete temporary files
I'm trying to delete temporary files that get created during an HTTP post operation. The files end up on the SDCARD root directory and all begin with 'tixhr'. When I run the code below I get this error: "TypeError: Cannot find function deleteFile...
Android File Upload
Had this working in 1.4.3. But, since upgrading, I'm unable to post an image to a JSON Webservice via an HTTPClient send request. iPhone is fine. Android is the issue. It seems to stringify the blob/file I'm sending. Anyone else experience this...
Advanced Layouts and Styles
When I learned programming and web development I learned the complex stuff by dissecting sample apps and reading source code. Unfortunately, I cannot find any beautiful interface samples to dissect and learn from. Advanced styling is probably the one...
Website does not zoom in completely
I'm showing an external website in a webview. The website however does not fit into the page. What is is that I'm doing wrong. var window = Titanium.UI.createWindow({ backgroundColor:'#cc0000' }); window.orientationModes = [ ...
Application Restart Require then Crash then everything OK?
I just submitted my first app to the Android Market, how exciting! However I found something that is quite frustrating. After install the app from the market is shows a message "Application Restart Required" then you click OK, then it restarts...
Transformed slider rendering appears broken on Android
I have a simple slider that has a slight rotation (10 degrees) and it appears overdrawn by itself as the slider button moves from left to right. This only happens on Android (2.2) - it appears OK on iOS (4.2) It looks like it is being clipped/masked by a...
Updating picture gallery after adding or deleting a picture
I am creating a picture gallery app that allows people to add or delete pictures from the gallery. The main view of the gallery is on a tab within the app uses a gallery.js script to generate the gallery when it is clicked on. I want to ensure that the...
bug: sometimes "setTimeout" doesn't work on Android
Hi, Sometimes setTimeout works, sometimes setTimeout doesn't work on Android. Are there some conditions to make it work always? Versions: Android APIs 2.1&2.2 and Titanium 1.6RC1 I tried the following simple code based on the app.js in the default...
My ANDROID app works in emulator, dev phone, but not on MARKET app.
I find this a real pain in the butt, but I can get an app working perfectly on the emulator and on my development phone. But when I upload the app to the Android Market, some of the features are not working. I have DDMS running on the droid phone, and I...
bug: setContentInsets() is undocumented and not supported on SDK 1.6.0
note that setContentInsets() method of tableView object is undocumented and not supported on SDK 1.6.0 use scrollToTop() instead titanium mobile SDK: 1.6.0 iOs
Problem parsing XML with href='#idx'
This is the XML I'm trying to parse ~~~ <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"...
Playing WAV with AudioPlayer fail
I'm trying to play a WAV file with AudioPlayer on Android (SDK 1.5.1) from an HTTP location. The initialization of the AudioPlayer fails with java.io.IOException: Prepare failed.: status=0x1 see full Trace here: https://gist.github.com/835047 Is it...
Loading the html/javascript/css from a server
Hi, I am needing to build an iPhone application that will have some of it's content dynamically generated and I am trying to establish if what I am needing to do is possible with Appcelerator. I am looking to build a hybrid application where some of the...
Bug tracker?
Hi Everybody, Is there a bug tracker where I can file bugs instead of posting them here in the forum? I've the feeling that some of the bugs posted here get lost. In particular tracking would be nice to see if it is actually solved.... greets Daniel
ScrollView horizontal scroll not working.
Hello. I have a scrollView in my app (for Android), but I can't scroll horizontally. (Vertical scrolling works fine though.) I have tried adding a View, and toying around with the input parameters of createScrollView. The code can be find here:...
Moving row to end of previous section crashes the app
Hi, [This code](http://pastie.org/private/xzqyuhvhkb1qwqm0e0rvew) crashes in the iPhone Simulator when doing the following steps: 1. Click the "move" glyph of one of the rows from the second section. 2. Move the row to the END of the first...
Ti won't build code
Everything was working ealier and every since I tried to Build a Package its been crashing. Can't Build for Itunes or Build to Distribute or even build for simulator. ~~~ File "/Library/Application...
How to manage Android Navigation
file app.js var win = Titanium.UI.createWindow({ title: 'My Root Window', backgroundColor: "#fff", title: "Vocab", exitOnClose: true }); var btn1 = Titanium.UI.createButton({ title:...
Twitter OAuth... Any help?
So today I got Facebook working on my app using the new [Ti.Facebook APIs and modules](http://developer.appcelerator.com/blog/2011/02/facebook-module-changes-in-titanium-mobile-1-6-0.html). What I'm having problems now is getting Twitter working. Basically...
bug: scrollEnd event is not returning negative contentOffset.y titanium SDK 1.6.0
this is bug report: titanium SDK 1.6.0 iOS i am trying to integrate pull to refresh from kitchen sink example (https://github.com/appcelerator/KitchenSink/blob/master/KitchenSink/Resources/examples/table_view_pull_to_refresh.js) i am expecting getting...
Couldn't find module: ti.facebook + ARti
Hi there, I've downloaded mobileSDK 1.6.0RC1 so I could run the newly released ARti but I get the error message: [ERROR] Script Error = Couldn't find module: ti.facebook. The github download I've been directed to seems to be for Android. Any ideas, or...
Anyone can help in creating a module?
Hi! We are looking for a way to embed Unity3D games into our Titanium apps. It looks like the prominent way to do that is to make it a module. Has anyone tried to do anything like that? If someone can help, we are ready to pay for the job, give credit...
Table view grouped style: how to change header font and text color
Hi, I have a tableview with: ~~~ style:Titanium.UI.iPhone.TableViewStyle.GROUPED ~~~ I want to customize the font (expecially color) of the header label that I set with (in data) ~~~ header:'Simple Table API' ~~~ can someone give me a hint? thank you
Android: Can't catch event when tab changed
I want to catch event when a tab is changed in a tab group. It's OK on iPhone with focus and blur events binded to a window of tab. But on Android, the events are not triggered correctly. Is there any way to detect tab changing on Android? I use Titanium...
Open already created window from within another window
In my app.js file I've created a window called login_window. I have a window called win1 which has my basic app functions. In there, I have a Logout button. When clicked, I'd like to have it open the login_window. Can't seem to get this to work.
T-Mobile myTouch 3G errors
I have created an Android app that works great in the emulator and on my Motorola devices. I have an Droid X and Incredible. But the app crashes on T-Mobile phones. I have tried it on the 2G and 3G. The app was built with Android 2.2 SDK. All of the...
Want to display tab bar in bottom
I want to display tab bar in bottom of the phone in android. Also want to reduce the size of the tab bar.
Clicking on Label crashes the app in android
I have labels containing Address and email id etc. in an app. In android when i click on label the app crashes on actual device. It works fine on Emulator.
appcelerator development with windows vista? can it be done?
hey everyone I've decided to give appcelerator a shot and would like to start trying out some android development with it, however I'm currently running on windows vista and from the research I've done I've noticed a few complaints from people attempting...
I submitted my android app to the Store and NOW its crashing...
This project was working great on the emulator... now it is crashing after it hits the store... this is the crash log. http://drupal.pastebin.com/MwdnAtW9 I unpublished the app. so its not in the store anymore. could I get some hints please. thanks
Close windows in tab (revert to default window)
Hi All, This one is driving me mad, i have noticed others have asked before and failed to get a definitive answer. I will explain the issue through an example: The user clicks on a tab defined in the TabGroup i.e. "Home" which points to...
tableView.scrollToTop
Hi, Can someone let me know whether the scrollToTop() method for a tableview is available on android or not. I could use this method successfully on iPhone but when I try to use the same on android, I get an error saying "cannot find method...
How to scale remote image with keeping aspect ration on Android?
Hi, I'm trying to display a remote image from a 3rd party web service. The aspect ratio depends on image and it's not constant. I want to scale them down to fit my table rows. Is there any way to scale them beautifully? I tried to use 'load' event of...
Windows Phone 7 Support
Do you plan to support Windows Phone 7, and if so, what's your estimated support date?
How to prevent TableView "flashing"
I have a TableView where each row contains three labels. Two labels are left justified while the third is right justified. The problem is that when the rows are created, the right label appears briefly on the left and *outside* the table, which is a...
String.formatTime() JavaScript Date Object Possible Issue
**Possible Issue:** String.formatTime() changes time-zones on Date object when not needed. E.g. A new JavaScript Date object returns current system time. Date object should has same time as local time. No need for String.formatTime to convert time-zone...
Android only module prevents iOS launch
I have created an android module to save a contact to the address book. Since this functionality exists for iPhone, I only needed an Android module. I built it, tested it, added it to my app. It works fine on the Android platform. When I try to launch...
Can't find variable: window at ext-base.js
First time working with Sencha and Appcelerator. I'm not getting very far. I'm getting the following error when I try to launch the app in the iPhone simulator. **Can't find variable: window at ext-base.js (line 9)** Any help would be appreciated. Here...
Need to extract a few elements from external XML file and display
I have read through most XML discussions but have not gotten a solution that works for me. I just want to parse through an XML URL and pull values for specific name/value pairs. After I get that basic functionality working I will want to add other...
Get MapView coords on click
Hi everyone, I'm trying to get the latitude and longitude of the area that was clicked on a MapView 'click' event. Any way to do that? Thanks in advance.
textfield cursor position(android)
I am trying to restrict input (to a valid currency format)in a textfield as when it is being typed. However, when I change the value: txtField.value = newValue;, the position of the cursor moves to the front of the String. Example: position before: [ ...
Some Analytics Questions
I have a few analytics questions I'd love to get answered before sending out my app to the market. 1. How do I know if the analytics are turned on correctly. I have analytics set to true in tiapp.xml but I also have a custom AndroidManifest. 2. If...
Title does not show on simple window
I have started a new app and I am unable to make a titlebar appear on my window. Do I need to use tab groups to get a title bar? I do not need tabs for this app. I am testing in iPhone simulator and see the same results across 3.2-4.2 ~~~ var indexWin =...
Problem with vertical layout in a scrollView
Hi all, I've been building my first mobile app using Appcelerator Titanium, and this forum has been very helpful thus far, but I have run into an issue I can't find an answer for so I decided to post it. So here goes. I have a text window with...
splash
Hello all, In iphone we using this delegate method for splashscreen but in titanium framework is any other control (void)applicationWillEnterForeground:(UIApplication *)application (void)applicationWillEnterForeground:(UIApplication *)application
Showing 36,101-36,150 of 47,504 1 … 718 719 720 721 722 723 724 725 726 727 728 … 951