Community Questions & Answers
iPhone,iPad and Android Application not running using Ti.SDK 3.0.0GA, 3.0.2GA, 3.1.0GA
Hello Everyone, I have one problem,i have created Single Window Application project in Titanium for iPhone,iPad and Android using Ti.SDK 3.0.0GA, 3.0.2GA, 3.1.0GA. If i create project using Ti.SDK 3.0.0GA, 3.0.2GA, 3.1.0GA than it can not run...
Titanium SDK 3.1.0 [ERROR] TypeError: argument of type 'NoneType' is not iterable on building android app
Hi, I´m trying to run an android app with Alloy framework and got this error: ~~~ [TRACE] Writing out AndroidManifest.xml [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File...
My app is working fine for Android and closes automatically after one second in iphone
In iphone simulator closes automatically. Please help me and tell the possible solution.
App crashing with NullPointerException [Android]
I have a simple scrollview with some images in it (image inside view ordered as a grid inside the scrollview) and added a click event on each image. When I click the image a new window will popup with content. But I have random crashes (app will close...
Lots of Button Events: crash and 'NSRangeException'
Hi Everyone, I've got this strange crash bug that seems to occur when tapping on a lot of buttons on the screen. I've got about 10 buttons that all have event handlers on them. I show/hide the buttons on/off states, and also remove/add an AppProperty on...
How to find cause of crash without error message?
I am working with an app that for now runs on iPhone. We are using Titanium SDK 3.1.0 GA and compiling for IOS 6.1. We have pretty consistent problems with the app crashing on both simulator and device (w. debug stuff). The crash happens after I...
Android TableView Crash
Hello everybody. I develop for Android and iOS. IDE: Titanium 3.1.0.201304151534-773-7F7BJ7NBRBRJN under Mac Os. I got a problem with TableView. I do appending of rows to Table and then try to scroll the Table. The app crashed if I do scrolling. The...
App crashes on emulator, works fine on others
seeing as though this doesn't have much to do with the code that I've written (app works fine on S3 but not on emulator). It's a tabbed app, each of them hosting a webView inside, that's it. I'm going to paste the exception that I got after the crash...
DocumentViewer crashes after closing
Hi, I am opening a local pdf file with the next code: ~~~ Ti.App.addEventListener('file_downloaded', function(e) { Ti.API.info('file downloaded: ' + e.filepath); var viewer = Ti.UI.iOS.createDocumentViewer({ url:...
Tap on TableView crashs the app
I have this TableView. Nothing fance. Just a plain TableView that when I click over some row, it reset the TableView with new rows. When the TableView open, if I click over a row, it works ok. I now I can scroll and click as much as I want and all works...
Android - Handle touches later
My app crashes when it receives a touch input while it is still loading some data. Is there a way, while loading, to handle touches later ? or at least to disable touches while loading? Thanks
documentViewer crashes at closing
Hi experts, I'm using the documentviewer to display a local PDF document. This has been loaded via internet and resides in a subdirectory in applicationDataDirectory. Everything works fine at startup, I can see the document, can page through it and see the...
App crashes occasionally with fatal signal 11 on Android
Hey all, I'm having a really strange problem right now. First of all my specs: - Titanium Studio, build: 3.1.0.201304151600 - Titanium SDK 3.1 - Alloy 1.1.2 - Android 4.0.4 (device), Android 2.2 (emulator), Android 2.3.3 (emulator), Android 4.2...
Titanium Studio 3.1.0 on Mac OS X 10.8 freezes on startup
Hello, My Titanium Studio 3.1.0 running on my Mac OS X 10.8 will not load. After I log in the studio screen will load but then freeze with the Mac Beach Volley Ball. so I cannot do anything. I have closed the app re-opened it, restarted my machine, sent...
Crash in Android when using Maps
I'm a complete n00b with Titanium and I'm messing around with the Maps object. I'm having the same problem as this fellow here: http://developer.appcelerator.com/question/61631/problem-with-map-in-android Basically the app crashes and says it can't find...
Crash on 3.1.0 related with TIMOB-11586
I'm testing on 3.1.0 and iOS (latest xcode). Our production application "Facetouch" started to crash when users try to save or share a picture. The app takes a pic (view) and users add a lot of imageViews on top of the main view (like hats,...
Android VM Crash
Hi Folks, I am making some changes to an existing app to add some extra features and I'm now getting a VM crash on Android 2.2 emulator using 3.1.0GA (actually all 3.xGA can't go back and try 2.x). I don't have any phones handy to try it on to see if it's...
ListView crash on android after pressing back and coming back to screen
Hello everyone, I am trying to display the result of a search into a ListView. This is working fine on the first display of the screen. But when I press back and come back to the screen then the application crashes on Android. Here is the crash...
Please help me!!!
Please help me!!! 05-31 03:34:28.524: E/MPT MptOnPowerWatcher(29121): startListen 05-31 03:34:40.024: E/TiApplication(28732): (main) [11771,30813] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.1.0,2013/04/15...
Store (json) data in a text file or in the database?
This question came up for my new mobile app with Titanium 1.8.2: Should I store my data (mostly JSON strings or text strings) in text files or in the database? I wrote a small test to find out which technique is faster! For me the result was...
Google Maps V2 module crashes when view placed in tab group
In my app I have a main screen with a tab group, where I now want to add a "Map" tab. This has worked in tests with 3.0.0 GA previously (on a very simple "Hello world" level...), using the "old" cross-platform Ti.Map (on...
Android: 'longpress' on tableView with headerView returns incorrect index and might lead to a crash
Hi, I've already added a comment on this ticket but not sure if anyone will see this because it is already resolved: [https://jira.appcelerator.org/browse/TIMOB-12114](https://jira.appcelerator.org/browse/TIMOB-12114) This bug is still there, even in...
Android actionBar crash app
Hi, I have a problem with Android and actionBar, as i read in the doc i tried to add the actionBar in my app. Here the code ~~~ function ApplicationWindow(navController) { var self =...
Andriod 4.1.1 (Galaxy Nexus) crashes when fullscreen or navBarHidden is set
Updating an iPhone app to run on android. App crashes on my Galaxy Nexus. It appears to be a heavy weight window issue. This code will crash the app on the phone: var self = Ti.UI.createWindow({ navBarHidden:true, }); Removing navBarHidden allows app...
android maps crashing with NoClassDefFoundError
I'm using Maps v1 on Android and getting sporadic crash reports from Google Play - so far the rate is 3 crashes out of 200 installs over the past week or so. The app is built on Titanium 3.0.1GA; the earlier app version only had one such report on 4,000...
Moved to Ti SDK 3.1.0 and android crashing now
I have an app that was built using SDK 2.1.4. For the past week, I've been getting my iOS version of the app up to date with 3.1.0 SDK. I am now ready to do this for android. I compile to the device and I get this error `http://pastie.org/7921720` Pretty...
Outside notifications/alert box crashes app when playing video
If a videoPlayer is playing when a notification from some other app fires, my app crashes. (iOS 5.) I found something here that I can't tell if it's resolved?...
Picker example crash!
Hello everyone, I am testing the single picker and the multiple picker components through this code: ~~~ var win = Titanium.UI.createWindow({ backgroundColor:"#FFFFFF", exitOnClose:true }); var resultat =...
Filling textfields causes crashes
Hello everyone. I created a function / class called Row which creates a view that contains a lable and a textfield. ~~~ function Row(rowName, additive, additiveValue){ var row = Ti.UI.createView({ height: 65, top: topPadding, width:...
Android - Display large images
I have a floor map that is 5000x5000 pixels that I want to load. I have this code that works in iOS but crashes Android. Its huge because the floor is huge and I want people to be able to zoom into specific areas of the map. I understand the images is...
Play Store Crash: java.lang.UnsatisfiedLinkError: Cannot load library libstlport_shared.so
Hi, We are seeing UnsatisfiedLinkErrors in our Play Store and we can't figure out why. We are not able to reproduce this error on our phones (S3 and Xperia) nor on the simulators. The only other clue we have is that one of the users wrote he is using a...
modal view crashes on close if keyboard is open (iOS)
Alloy App, Titanium SDK 3.1, iOS 6.1, latest xCode: I have a view that opens another modal view (settings view) that contains some labels and textfields. When the cursor is in one of the textfields (i.e. the keyboard is shown) and I close the window...
Ti.Cloud, iOS < 6.1, (SDK 3.0.1) allway crash with Unable to find ti.cloud
some other can try to launch it the simulator (using ios 5.1) and ti.cloud ? always crash to me (to make it to work i need to get the ti.cloud.js from modules, add in my resource folder and require it form here... and remove it from tiapp.xml)
Memory leaks (releasing memory)?
Hi there, It seems like Titanium causes memory leaks, on the iPad at least - can anyone confirm this, or tell me what I'm doing wrong? I'm using a function spawned by calls to setTimeout to change the backgroundImage of some views. This process seems...
App crash on TI.Media.showCamera and Ti.Media.openPhotoGallery
Hi, I am working on the iPhone build for my app using Titanium SDK 3.0.0. For images, the user can either click a picture or select from a gallery. The following code works fine for Android. but the app crashes in iOS(emulator as well as device). Here...
How to disable USB debugging?
Hi I am facing app crashes on device when there is no wifi connectionusing SDK 3.1.0 GA. I think it be resolved by turning off the USB debugging feature but I do not know how. Any advice?
SDK 3.1.0 GA crashes device
hi I have no problems with 3.0.2 GA but when I use 3.1.0 GA, app runs ok on simulator but crashes in device? Anyone have similar experience?
Map view crashes on first launch
Hi I am currently using Titanium SDK 3.0.0. In my app i am opening a window and adding two views to it : a list view and a map view. The map view is set using the previously acquired current lat, lon. When i install the app for the first time (tested on...
IPhone simulator crash!
First sorry if my english is not very well, ok. My problem is that the emulator of IPhone an IPad crashes when y run my apps on it, i have downgrade to Node.js 0.8 but there is another problem: --- [INFO] : Launching application in iOS Simulator [ERROR]...
"Unfortunately, <AppName> has stopped." when execution of main.js ends
Gets "Unfortunately, <AppName> has stopped." message when debugging past the end of main.js - both on the Android emulator and on Android device. Reverting to stable code base makes no difference - thus it seems it has to do with the...
2 Android problems (iPhone - Android app)
Hello I have finished my iPhone app, and I would like to get it working on Android. When I tried to run it on Android, it just crashed instantly, nothing works. Now I'm trying to edit it page by page, step by step. I've ran into 2 problems which I would...
How can I know why something isn't working?
Titanium doesn't isn't very good at telling me why something doesn't compile or why something crashes at run time. Trying to add a Map view to a window. The application simply crashes- It doesn't give me any logical reason like "Fatal Exception:...
java.lang.OutOfMemoryError: bitmap size exceeds VM budget
In my Application I have used lots of images on TableView Listing, So that I am getting `java.lang.OutOfMemoryError: bitmap size exceeds VM budget` also my application crashed in android emulator. Anyone help me to solve this issue
Re Adding TableView Crashes Android
I have the following code where activeMainMenuEntry.view is a TableView. If it is undefined, I will create it using loadActiveMenuEntryView(), if it is already defined, I will just add it to the main view. In the case it is already defined, it would have...
Access models in a collection cause crash
Hi, I want to output the models from collection. But everytime I access the models the App/Simulator crashs. LogOutput: [DEBUG] : messwerte.length: 100 -- End simulator log --------------------------------------------------------- [ERROR] : An...
Certain images crash titanium when used as a backgroundImage
My designer provided me with the following two png images: http://forums.askmrrobot.com/images/button-refresh.png http://forums.askmrrobot.com/images/button-load.png If I set the first image as the backgroundImage of a view, it works just fine. If I...
webview in android
What is the problem with webview in Android emulator ? the app crashes all times... is it a bug in emulator or titanium ?
getting force close and infinite loop in my app
hi , i am getting force closed in my application at two points. 1) i am trying to scan a QR code after scanning if click on tab containing list view it is going to infinite loop. 2) when i enter data in to text box and continue the process of my...
SDK 3.x causes Android apps to "crash" without error message
This is not a question, but I believe there must be many developers out there having the same problem. SDK 3.x causes Android apps to close silently just a second after starting. No error message, exception or logging whatsoever. This only happens if the...
Compile app in release mode
Hi everyone, this is my first app with Titanium. I have one question: is there a way to compile the app in release mode? For example I don't want that if the app crashes an user could see the source code of the line that raised the error. Thanks in...