titanium-mobile

Titanium : Exception Occured While Building Android Project [duplicate]

浪子不回头ぞ 提交于 2019-12-23 22:03:51
问题 This question already has answers here : Exception Occured While Building Android project (2 answers) Closed 6 years ago . OS: Linux mint 14. Following error occurs when I try to run my project. [TRACE] Writing out AndroidManifest.xml [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "/home/aqeel/.titanium/mobilesdk/linux/3.1.0.GA/android/builder.py", line 2528, in <module> [ERROR] builder.build_and_run(False, avd_id, debugger

Library stlport_shared not found in Titanium Application

試著忘記壹切 提交于 2019-12-23 15:09:48
问题 I want create a Titanium module, therefore I have a class that extends KrollModule and its method: @Kroll.method public void example() { Activity activity = this.getActivity(); String filesDir = activity.getFilesDir().getAbsolutePath(); } When I try to use this module in my application in this way: var w = require('com.module3'); w.example(); I have the follow error: [ERROR][TiApplication( 286)] (KrollRuntimeThread) [30,975] Sending event: exception on thread: KrollRuntimeThread msg:java.lang

Titanium mobile - addEventListener on a view

扶醉桌前 提交于 2019-12-23 03:54:27
问题 i'm making a scrollable menu using common JS. An item of the menu is a view that contains 2 others components : a imageView for the icon, and a label for the text of this menu. The comportement is strange and not the same on the android and ios simulator. On the android, if a click is done on the label or on the imageview, that gives an : "uncaught TypeError: Cannot Read property..." On iphone, that just don't launch anything. If i click somewhere else (still into the view item) but not on

Auto suggest dropdown in titanium example?

浪子不回头ぞ 提交于 2019-12-23 03:22:20
问题 I am able to implement auto suggest drop down in jquery .Now I am implementing a same functionality in titanium but when i googled I don't found much in autosuggestion drop down in titanium . can you suggest a way of autogestion. Mean I have a array (element).When I click on textfield it show related element. 回答1: Try the following code and modify as per your need. Here I Used array(searchArray) as data storage(You can replace it with database field or source whatever as per your requirement)

Memory Leak in Titanium tabbed iPhone application

对着背影说爱祢 提交于 2019-12-22 12:22:18
问题 this has been giving me a headache for a couple weeks now -- hope somebody can help. I'm building an app for iOs 5.0, using the 2.1.4 SDK in Titanium mobile. My app pulls data from a database, and displays it in a scrollableview using labels and a table. I've noticed that it crashes after a while, and according to instruments, the views within the scrollableView, along with the labels and tableviews, are never released from memory. I use a lot of commonJS, and my code looks someting like this

Convert UTC Date to datetime string Titanium

房东的猫 提交于 2019-12-22 09:57:35
问题 I have a date string "2012-11-14T06:57:36+0000" that I want to convert to the following format "Nov 14 2012 12:27" . I have tried a lot of solutions including Convert UTC Date to datetime string Javascript. But nothing could help me. The following code worked for me in android. But for ios it displays as invalid date var date = "2012-11-14T06:57:36+0000"; //Calling the function date = FormatDate(date); //Function to format the date function FormatDate(date) { var newDate = new Date(date);

Doubts on using phonegap and titanium [closed]

坚强是说给别人听的谎言 提交于 2019-12-22 06:16:13
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 months ago . Recently i heard about the PhoneGap and Titanium mobile web app developments. I had analyzed about both the web applications and got some idea of how to use and what are the strength and weakness of these. Yet i didn't get some clear ideas on the following questions, Does these

Titanium api.info never shows anything in the console

无人久伴 提交于 2019-12-22 04:57:07
问题 I've just started with titanium and I can't make the Ti.API.info("My log message") to print anything in the console. I tried running the app in my Android device, in the Android Emulator, in the iPhone simulator and as a mobile web project in GoogleChrome, and the console window in Titanium Studio never prints my log message. My last attempt was in the imported sample "Todo List". On the beginning of the file app.js I've added two log messages: if (Ti.version < 1.8 ) { alert('Sorry - this

Best way to upload image from Mobile to Django server [closed]

喜夏-厌秋 提交于 2019-12-21 21:43:36
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I am created a Mobile application(in Titanmium).where user take pictures in mobile and i need To upload the image from mobile to django server .I am using tastypie for my Api can any one guide me the best way to upload and save the image in server the methods may be in pure django

Titanium appcelerator failing on build

放肆的年华 提交于 2019-12-21 20:04:11
问题 I am trying to run my app in the iPad simulator, but I keep getting this error whenever I try to simulate. I've updated everything, some fellow help for an appcelerator noob would be much appreciated. Any thoughts would help. [ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : Ld "build/Debug-iphonesimulator/Neoplastic Heme.app/Neoplastic Heme" normal i386 [ERROR] : (1 failure) This is what I am getting in xcode for my first error. Maybe this helps. Ld "