Community Questions & Answers
Error Generating R.Java from manifest
Did a fresh install of Titanium Developer 1.2.2 on my macbook pro. I was previously using Developer 1.2.2 with mobile SDK 4.2.1. I'm now experiencing this [error] upon compiling an app for use on the android emulator. I've tried importing the old project...
problematic 1.5.0
Played with 1.5.0 for a whole day and ended up falling back to 1.4.2. I tested things on two Mac, one running OS/X 10.6.4 and another 10.6.5, if the versions matter at all. Both systems are equipped with XCode 3.2.5 + iOS 4.2 SDK, along with Titanium...
Filesystem rename Deletes the file
I am trying to rename a file in my applicationDataDirectory. This is on the iPhone using Titanium 1.2.1. Here is the code ~~~ var newName = "renamedFile.jpg"; var tempFile =...
Ti.API not available in eventHandler callback ?!?
Hello, here is the code: ~~~ win.addEventListener('android:back', function(e) { Ti.API.Info("Please don't close!!!"); }); ~~~ Attached to a window object of course. When I hit the back button, the event get triggered but I get that...
Regarding Database - Insert
hi, I have created two textfieldbox and a submit button.While i was hitting the submit button i need to store the values in to the database.I have created a database using sqlite and it is placed under resource directory.Please assist me to solve the...
Installation and support both fail
Your rubric asks me to be kind and thoughtful in posting my question. I'm thoughtful, but see no reason to be particularly kind. You have banked several hundred dollars of my money, and despite carefully following your (now out-of-date) documentation and...
Problem runing Android with Jquery, Manifiest in Ubuntu 10.4
Hi again, When I try to run the emulator the console shows: app://com.appcelerator.titanium.developer/js/entourage-jquery-3.0.js @36 TypeError: Result of expression 'C.getElementsByTagName' [undefined] is not a function. And in in the program when I...
Back button causes app to close
Hello, I am making an app without any tab. The main window is a table view, each row launches a new window. When in a child window, pressing the back button closes the app whereas it should bring me back to main window: ~~~ // base window var w =...
click event for nav group back button?
I'm seeing this question asked a lot and seeing a lot of work arounds. Does anyone know of a legit way to detect the click? Thx!
Ti.Locale.getString() or L() won't work
Hello, I just found out about the localization system of the 1.5.0 SDK but I can't make it work. I did exactly what Jeff tells us to do in this blog post:...
1.5.0
Today I installed the new version of the mobile sdk 1.5.0...I did a full fresh rebuild and my applications now dont work. There arent any warnings or errors, but the tables are acting extremely strange and not allowing me to dynamically change the...
Rebuild and Test Approach
Hi, I'm pretty new to appcelerator, I'm currently building an app for Android on Windows. Each time I make a change and want to retest what is the most efficient way to do that? It seems like clicking launch takes 3 to 4 minutes each time, makes frequent...
translate Z axis
so the translate method offers an argument for an amount to move in the z direction. but when I try to set something for that argument, it seems to be ignored. for example. var b1 =...
Cross-platform layout using JSS on Ti 1.5.0 ..... HELP!!!!
Following the instructions in the guides for the "cross-platform layout using JSS" ... the styles don't seem to get applied to either the window or the button.. is there something that i am missing ??? Please help. app.js ~~~ var window =...
removeTab() on android not working for me
So I open my app and I have two tabs. The 'login' tab and the 'new account' tab. Login is the default tab open. Upon successful login I call this: ~~~ Ti.App.addEventListener('grantEntrance', function(event) { Ti.API.info(event); main.tabBarHidden =...
Wordpress RSS Question
OK - I have an rss feed that is not valid because the first line of the code is a space (an error part from Wordpress). Is there anyway I can tell Appcelerator to skip the first line and get the RSS feed? I can't figure this out and is driving me crazy....
Best version of Android for Titanium 1.5
What version of Android should I be using to test my application? Also which version of Android is the Titanium SDK optimized for?
1.5 Titanium.Media.createAudioPlayer: setUrl is not a function
in 1.4 Titanium.Media.createAudioPlayer.setUrl(url) worked fine, in 1.5 it complains "... is not a function". what's wrong? no hint in the api doc. --uno
1.5 release is way too buggy
I have been a big fan of Ti until today. I had high hope of 1.5 to resolve some memory issues for me. Instead of helping, this 1.5 is like a bomb, blowed everything away. I was trying to start my app and noticed a bunch of issues. 1. HttpClient...
XHR POSTing file to server (multipart problems)
Hi, this is making me nuts. I am trying to send a client generated text file myfile.gpx from android to my server. After generating the file I assign the file contents to the variable fcontent, which I'd like to POST together with an id (this is an...
Upgrading to 1.5. Cant compile 1.4 projects
Hello, is there anything that must be done in order to be able to compile 1.4 and older projects into newer appcelerator sdk's? Thanks for your help!
Use of ActivityIndicator crashing my app...
here is a past of the error deliver in the console as soon as my app crashes: My environment is: mobile SDK 1.5, simulator 4.2, running on OS X [edit] Fixed, see comment
Can I have an imageView overflow?
I have an imageView that I would like the image width to stretch to fit, but let the length just overflow if its too large for the container. How can I do this? Thanks :)
Problem to use the localnotification
i'm tired... it's ok to create local notif..
Problem to select Android SDK location
Hi all, After to install Titanium I want to set up the Android SDK location and the program shows the alert "Couldn't find adb or android in your SDK's "tools" directory. You may need to install a newer version of the SDK...
iPhone «Emulator» missing
Hi all, I just installed the latest version from XCode together with the latest build (iOS SDK). I also installed the Android-SDK without any problems. But if I try to start the emulator within Appcelerator, I can't see a tab for «iPhone» (Screenshot:...
Custom events not working for Android in 1.5?
I have an event listener in my app.js attached to a window in a tabgroup. In the window, I try firing the event and it doesn't call it. It works in 1.4. I've also tried adding a Ti.App event listener and that doesn't work either. Here is my...
iOS monthly subscription based apps?
Does Titanium offer support for subscription based applications? can I create an app that will be sold in the AppStore through a subscription model? I urgently need to confirm this because a customer is considering buying the Titanium professional...
iPhone simulator can't find my include files
in `app.js`: ~~~ Ti.include('constants.js'); Ti.include('db/procedures.js'); Ti.include('model/data1.js'); Ti.include('model/data2.js'); ~~~ All the files are included and were working fine before...and yet the simluator crashes and burns with Cocoa...
Error while trying to open database
Everything works great when I try to run a "hello world" application. Things however go a little pear shaped when I try and run Kitchen Sink. I have tried this on Titanium SDK 1.4, 1.5 and the pre-release of 1.6 which all give the same error. I...
SDK 1.5.0 - Compatible wit iOS 4.2?
I checked the release notes and besides the plethora of android stuff (great for iOS devs to get to wait so long for a massice android update btw) I didn't find any mention if the newest iOS version is supported yet.
Custom Buttons not show on device iphone
Hi I have made custom back button and a custom save button that are positioned in nav bar. In the simulator both show and they are working fine but when I deploy to the device the back button shows fine and is working. But the save and login buttons do...
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY on new KitchenSink Android why?
When I try and run the new KitchenSink for 1.5.0 I get the following error: [ERROR] Failed installing com.appcelerator.kitchensink: pkg: /data/local/tmp/app.apk [TRACE] Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] Further up I found this: [TRACE]...
Prepend row(s) to a table view?
Is there a way prepend rows to the beginning of a table view, before anything else? or is after the only current way?
[Ti-1.5-bug] OrientationModes not working
~~~ var ui = Ti.UI, win = ui.currentWindow; win.orientationModes = [ ui.PORTRAIT, ui.LANDSCAPE ]; //not working! ~~~
Degrees Symbol on Label
I keep getting a StringEncoding error when adding a "degrees" symbol to a label. °C / °F for example. Any ideas if its possible? Many thanks
[Ti-1.5Bug] imageView.image
~~~ var imgView = Ti.UI.createImageView({ height: 100, width: 100, image: "img.png" }); imgView.image = imgView.image.replace("active", "inactive"); /*Script Error = [<NSURL...
Can't find Android SDK?
Whenever I use Titanium Developer to find my Android SDK, I get this error message: ~~~ Couldn't find adb or android in your SDK's "tools" directory. You may need to install a newer version of the SDK tools. ~~~ Is this because of Android's new...
Error on "Stop" - 1.5.0
Whenever I use Titanium Developer to **Stop** my iOS Simulator, I get this in the console: ~~~ [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.0/iphone/builder.py", line 1112, in...
Popover on ipad buggy - can someone confirm?
I have tried to implement a popover that uses more than a simple tableview. If you add more then one element (label, view plus a tableview) you will get random behavior from the popover for some reason. Sometimes one of the elements appear, sometimes the...
TableRows disappear when scrolling on Android
I have a tab that displays a tableview. I have a view for each row and when I scroll down and then back up, the contents of the rows disappear. It only affects 1.5, 1.4 works fine. Here is the code I'm using: ~~~ var data = new Array(1); var...
1.5 sdk ipad launch orientation
There seems to be an issue with the new 1.5 SDK. The ipad orientation doesnt seem to detect what orientation it is in on launch and is launching everything in portrait mode. Even when the ipad is in landscape and you launch the app, it even moves the time...
setInterval garbage collected on Android?
Having successfully completed my first iPhone app I am trying to 'port' it for the Android platform. I know it wasn't going to easy but I'm finding even the simplest thing - a setInterval to poll every second - is failing. It seems to work for two,...
input background fade
Hello. Is there any way to fade other views while focus is on input element? I use ugly view with changing opacity for that. For example: mapview + search bar. If user starts typing anyting it would be nice to darken mapview like Google Maps app.
TableView Search Issue
Hey guys, Firstly can you use a textfield rather than a search bar for filtering the tableview? If not, is there a way of seperating the search bar from the tableview, as i do not want the table view directly below the search bar. Any help would be...
Missing event handler for menu hardware button
I saw the event handler for android hardware buttons like back, camera, etc.. But I'm missing the event handler for then menu-button like 'android:menu', to build custom menus.
Problem Installing to Device (iTunes)
I receive this error when attempting to install the application to my device via Titanium: ~~~ Install Error Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.0/iphone/builder.py", line...
Worst bug ever - Freeze on window.add
Hello, First, I'd like to say Titanium IS great stuff to develop mobile app. However, after 2 weeks spend on a big project, I am now stuck on a dangerous bug. Basically, I am doing this : a tabgroup with 5 windows first window : I add a...
Titanium.Notification
Forgive me if this has been answered somewhere already. So, Titanium.Notification uses Growl in OS X, and Snarl in Windows, correct? What does it use for notifications in Linux? Gnotify? Something else? Thanks!
AlertDialog issue
Dear friends, I use AlertDialog, in same window, I triggered the alert dialog, click 'cancel', then, trigger again, click 'cancel' again , then the whole window freezes Can anybody have idea about this ? /// code function...
Showing 38,751-38,800 of 47,721 1 … 771 772 773 774 775 776 777 778 779 780 781 … 955