titanium

Corona vs Titanium for iOS and Android development

*爱你&永不变心* 提交于 2020-01-25 05:03:04
问题 i am using phonegap since last one year but not satisfied with the performance, now i m looking for a change and wanna start with Corona or Titanium but don't know which one is better, i don't have any problem with Corona's Lua or Titanium's JS just want a better and scalable working environment, please show me the light to chose a better way. 回答1: In general these kinds of tools just doesn't work optimal. Applications made tend to crash, leak memory and you still have to do a lot of double

Difference between self and this in javascript and when to use either of them [duplicate]

不想你离开。 提交于 2020-01-21 10:43:05
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: What underlies this JavaScript idiom: var self = this? I am confused that when to use self and this in javascript. I know that this refers to current context and self refers to current window. As I am developing an application in Titanium. I want to know when to use self or this OR does is there is any concept of self in titanium development. here is the sample code that i am doing in my titanium commonJS module

What are some of the best ways to optimize a Titanium app?

时光毁灭记忆、已成空白 提交于 2020-01-21 08:40:26
问题 I have a titanium based iOS app that basically is following my own MVC structure. It has around 30 views and a lot of network connections to do API calls. So, it seems that the application is performing assumably sluggish on an actual device except iPhone4S. Specifically, the app would hang for about 10s after re-launching it from the multi-tasking menu. Any tips? 回答1: You mostly have to care about memory leaks. You have a VERY important webcast on the subject. In short; be very careful to :

What are the advantages and disadvantages of using Phonegap and Titanium? [closed]

时光怂恿深爱的人放手 提交于 2020-01-20 17:13:40
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I am planning to create a cross platform application which works in Android, iPhone and Blackberry? I thought of using Phonegap or

What are the advantages and disadvantages of using Phonegap and Titanium? [closed]

拈花ヽ惹草 提交于 2020-01-20 17:10:32
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I am planning to create a cross platform application which works in Android, iPhone and Blackberry? I thought of using Phonegap or

How to resolve Titanium TableView display problem?

烈酒焚心 提交于 2020-01-17 05:19:18
问题 I have tableview in titanium.I have displayed 12 labels in 3 different rows.When i am using it first time it is showing all of the 3 rows properly with content. Whenever i am coming back from the tableview to other view and again i am going to access the same tableview, i can not see tableview content, i can only see blank rows. can anybody help me out , what exactly the problem is and why am i not able to see content again(2nd time) when tableview loads. I have added whole code snippet below

How to show details from ArrowDB for individual objects #appcelerator

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-17 05:08:06
问题 I have queried from ArrowDB and gotten a list of events, now I want each individual event details when the specific view is clicked. My code as shown below works except that it puts the details from all the queried events on the opened window, and it shows the last queried event at the top. How can I do this please? My brain just can't fix this. Cloud.Events.query(function (e) { if (e.success) { alert('Success:\n' + 'Count: ' + e.events.length); for (var i = 0; i < e.events.length; i++) { var

How can I tell if my Titanium app is running on the simulator or not?

一个人想着一个人 提交于 2020-01-17 03:36:05
问题 I need to mock test data instead of trying to use the camera while debugging with the simulator. 回答1: You should be able to use the value of Titanium.Platform.model for this. IIRC, it returns x86_64 on the simulator. 来源: https://stackoverflow.com/questions/13090844/how-can-i-tell-if-my-titanium-app-is-running-on-the-simulator-or-not

TideSDK How to save a cookie's information to be accessed in different file?

别来无恙 提交于 2020-01-16 18:42:10
问题 I am trying to use TideSDK's Ti.Network to set the name and value of my cookie. But how do I get this cookie's value from my other pages? var httpcli; httpcli = Ti.Network.createHTTPCookie(); httpcli.setName(cname); //cname is my cookie name httpcli.setValue(cvalue); //cvalue is the value that I am going to give my cookie alert("COOKIE value is: "+httpcli.getValue()); How would I retrieve this cookie value from my next page? Thank you in advance! 回答1: ok, there are a lot of ways to create

Appcelerator Titanium error: Application Installer abnormal process termination. Process exit value was 1

和自甴很熟 提交于 2020-01-16 00:02:39
问题 I almost lost my mind, I have spent 3 days trying to fix this. I have Windows 7 64 Bits, I have installed the jdk for 32 bits, I have installed the following Android SDK's: 2.3.3, 3.0, 4.1.2 and 4.3. Also I have set the variable ANDROID_SKD to the right path, etc. I really don't know what else to do. I have already done this: Titanium [ERROR] Application Installer abnormal process termination I would appreciate your help with this. 回答1: Have you checked This Link. And try to use JDK 6 not JDK