titanium

How to Configure Android SDK for Titanium in Mac OS Lion?

假装没事ソ 提交于 2019-12-22 08:28:54
问题 I have successfully installed Titanium Studio. SDK Version:1.7.5 .Now I have downloaded Android SDK from http://developer.android.com/sdk/index.html Now i am trying configure Android SDK but when i am Providing Path I am Getting Error like" Could not locate the Android SDK at the given path " I have attached Screenshot as well. 回答1: Step 1) Download the android SDK From here. Step 2) unzip android-sdk ( whichever downloaded ) Step 3) In OS X, there is no /opt directory by default. you

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 Alloy: Accessing UI from different controllers?

♀尐吖头ヾ 提交于 2019-12-22 05:25:37
问题 I seem to be having trouble updating objects in Titanium Appcelerator Alloy, I basically want to be able to add a table row to a table that is in a different controller/view that i am currently in..... hopefully the below will better describe this :s basket.xml <Alloy> <Window id="basketWindow" class="container"> <TableView id="basketTable" /> <Button id="addItemButton" onClick="addItem">Add Item</Button> </Window> </Alloy> basket.js function addItem() { var itemList = Alloy.createController(

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

Titanium for iOS Development on Windows Platform

末鹿安然 提交于 2019-12-22 04:13:18
问题 I have downloaded Titanium for Windows platform. After installing correctly... I found that it needs iOS SDK.. So from where should i get iOS SDK. Is Development of iOS possible in Windows platform..?? What are the steps for making my Hello World Example to run in Titanium on Windows platform for iOS. I have refered some of the previous post like: Windows 7 Development Platform or iOS and Android development on Windows But still not able to get exact steps for making my example to run...??

How to append a row to a TableViewSection in Titanium?

荒凉一梦 提交于 2019-12-22 03:41:00
问题 I'm developing an iPhone application in Titanium, and need to append a row to a particular TableViewSection. I can't do this on page load, as it's done dynamically by the user throughout the lifecycle of the application. The documentation says that the TableViewSection has an add method which takes two arguments, but I can't make it work. Here's my existing code: for(var i = 0; i <= product_count; i++){ productsTableViewSection.add( Ti.UI.createTableViewRow({ title:'Testing...' }) ); } That

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 "

Contending with JS “used before defined” and Titanium Developer

人走茶凉 提交于 2019-12-21 03:55:12
问题 I have a lengthy JavaScript file that passes JSLint except for "used before it was defined" errors. I used normal function declarations, as in... function whatever() {do something;} as opposed to... var whatever = function(){do something;}; and consistent with Steve Harrison's reply to an earlier post... Assuming you declare all your functions with the function keyword, I think it becomes a programming-style question. Personally, I prefer to structure my functions in a way that seems logical

Downsides of using Appcelerator Titanium (or equivalent)?

。_饼干妹妹 提交于 2019-12-21 02:27:18
问题 At our company there is a huge push for cross-platform (iOS and Android) development. Appcelerator Titanium is being considered (and seems to be the only thing that's being considered) to achieve multi-platform development without extra development time. Everyone here can think of reasons to use Titanium. For reasons against using Titanium I guess the performance of the resulting "native" app from Titanium may not be as good as an app written in Objective-C for iOS. How significant would the

Recreating this animation in Titanium SDK

混江龙づ霸主 提交于 2019-12-20 10:57:29
问题 I was previously developing my application in Xcode but decided to move over to Titanium to allow for Android development. I'm still getting used to Titanium so I'm running into some problems when trying to rewrite my app. For instance: how would I go about recreating this animation in Titanium? Basically I have UIView that contains a MKMapVIew, a UITableview and a button that toggle between them. Any help is greatly appreciated! http://www.screenr.com/2kts 回答1: You can use this code to flip