Community Questions & Answers
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
Are all / lots of the Continuous Builds corrupt ?
So I have been trying to use the latest Continuous Builds to get a bug fix which is preventing my app from being published. I obtained HashTab for OSX and for every build I download the SHA1 key does not match the published key on...
Multiple webview
I have a problem the webview dont load the pages what am i doing wrong? hope you can help me // this sets the background color of the master UIView (when there are no windows/tab groups on it) Titanium.UI.setBackgroundColor('#000'); // create tab...
KitchenSink on app store?
Is it possible to find somewhere kitchensink as a regular application ? I can't find the app like on the android market :) Because I have an iphone but not a apple computer, and i want the kitchen sink on my iphone :)
Mac / SDK 4.2 / Titanium 1.2.2 / KitchenSink 1.5.0-update2 from Github not allowing device builds
Hi. I've just downloaded KitchenSink from Github. Unzipped the package and then run the import function in Titanium 1.2.2. When I try opening the "Test & Package" tab I get the error: "You need to specify your Android SDK...
Error with Titanium sdk 1.5.1
Hello, Three month ago I created a Titanium application with the sdk 1.4.3 and it works perfectly. Now I want to adapt my app for the 1.5.1 sdk but I obtain an error when I compile it. On Android : "[ERROR] Error in compiler. , 'utf8' codec can't...
Importing project problem
Hello, I tried to import the project for iPhone but when I go the iphone or Android tab then it says that the project is not configured to run for iphone or Android. What is missing ? Johan Pyfferoen
Debugging the App in Android phone
How can I debug and get to know the console logs in my Android phone?
Windows scheduled task/ cron job
Hi - how do you write a Windows scheduled task or cron job from a Titanium app? Is it possible?
CommonJS support - console.log() etc
Hi, I would like to know if there's a chance to support CommonJS defined APIs (at least some of them). I have common code between Titanium and node.js, and while required() it's supported on Titanium side, console.log() is not. I'm talking about...
clearButtonMode
Hey guys, Do you know of any reason why the clear button won't show up for me? It isn't even showing up in the KitchenSink example (under textfield)... Is this a known bug?
Android navigation not working properly .
Hi I just create normal window inside that widow create one button. click on button goto next window. this window have button it will navigate to next window. so right now I'm in 3rd window whenever i clicked on back button it directly goes to 1 win....
Adding a universal label to every child window
Hi, If i need to have a universal label on every child window in my program, say "Copyright 2011". I created a label.js on "Copyright 2011". How do i add this "label.js" to every footer of my child window or whether it is...
SplitWindow Title Controls & Image
I've noticed that when you set a title image for the masterWindow of a splitWindow that it will resize to about 1 pixel in width if you rotate the device around (one complete time). Are there any fixes for this?
Is there any way to style a tableview index?
Is there any way to style a tableview index? The default doesn't match my color scheme and positioning.
TableViewRow background color not changing
I have a TableView with multiple rows and when the row is clicked I change the background color, but once it is done once it won't change again for any of the rows. ~~~ tableView.addEventListener('click',function(e){ image.image =...
Titanium Developer Crashes on Startup (was fine)
Closed my laptop when I left work. When I got home and opened it, it had restarted. Now when I go to open Titanium Developer it instantly crashes. So I can't even open it now. Any ideas on how to debug this or figure out what is going wrong?
[ERROR] Error generating R.java from manifest
So I looked over all of the other questions about this topic, and I've exhausted their solutions. I just started with titanium, and had this problem earlier. However, when I used the 1.2.0 SDK instead of the 1.5.0, things seemed to work. I was able to...
No more javascript checking during build?
i haven't used Titanium in a few months and when I did i used it on my macbook pro. I recently installed the latest version of the mobile sdk as well as the latest continous builds on my PC (obviously just for Android dev.). One thing I noticed is I no...
Statusbar starts as Portrait and quickly flips to Landscape
Hello, I'm a new user to Appcelerator and by far is the easiest way to get on the road for making good looking and functional apps for the iOs. I noticed that when the application launches on Landscape mode, the status bar is relocated to Portrait mode...
Applying Modules?
How would I go about applying a custom module to my App, such as [this one](http://developer.appcelerator.com/question/97961/ios-sms-dialog-module) (iOS SMS Dialog). Any and all help would be appreciated!
Plotting map annotations from JSON
I've read through previous questions on this topic but can't get the code working. I just want to plot some local coupons on a map. My server is at: http://coupserver.heroku.com/coupons.json If someone could show me the correct code I would be...
Camera photo to email attachment
I have the code below working with the exception that when the photo is added as an attachment, it is upside-down and reversed. I am also doing some manipulation to turn the photo B&W, but I believe the problem is with the reading of the...
significant memory leak with thumbnails in tableview
We are using Titanium 1.6RC1 with Developer 1.2.2 and think we have found a significant memory leak when displaying remote thumbnails in a tableview. Below is the code to reproduce. Upon running the code, just attach to the process using XCode...
createTableViewRow - remove rounded corners on selected?
How would l remove the rounded corners that appear on the first and last rows when selected? Im looking to change the default blue, perhaps Im meant to use 'selectionStyle'? but this only gives 3 constants to choose from... at the moment Im using(which...
webview and tab
hi im trying to make a tab with text plus a webview for my android app but i only get ReferenceError: "webview" is not defined
Does the Apple in-app purchase work on Appcelerator
Hi All I do realize that this is not the first time this question is being asked. But then I haven't seen a definite answer either. Can we integrate the Apple in-app purchase using Appcelerator? If so, what is the amount of inbuilt support one derives...
Showing 36,401-36,450 of 47,778 1 … 724 725 726 727 728 729 730 731 732 733 734 … 956