appcelerator titanium - up and running - j. anderson (o'reilly, 2013) [ecv] ww

171 416 0
appcelerator titanium - up and running - j. anderson (o'reilly, 2013) [ecv] ww

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... simulator images Titanium s Runtime Configuration helps you manage simulator-specific aspects on both iOS and Android It’s always best to use these tools inside of Titanium because they directly affect what happens when you run the app in an Android Simulator (Figure 3-4 ) and iOS simulator Figure 3-4 Titanium Studio allows you to manage the configurations of your Android virtual devices Because Titanium works... Apple’s App Store and Android Marketplace Features of Titanium Studio After you install Titanium and start it up, you’ll see a screen like Figure 3-1 We’re not going to get into all the details of Titanium Studio right now, but I’ll just give you a quick tour of some of the features that you’ll need to use to get your first project off the ground Figure 3-1 Titanium Studio after starting up Automatic Syntax...Cross-Platform Compatibility Since Titanium allows you to create apps on three platforms, it makes a lot of sense to use Titanium to achieve some cross-platform results But before we talk about how compatible Titanium s API is between iOS and Android, let’s talk about how cross-platform compatible it can be There are plenty of differences between iOS and Android, but there are plenty... you’re coding and not have to go back and forth in your code listing to see what variables and methods you’ve set up Figure 3-2 Titanium Studio helps you autocomplete methods and variables Debugging One of the more advanced and useful features of Titanium Studio is the ability to view debugging information that’s a bit more on par with other development tools, such as setting breakpoints and watching... variables in use at any given time (see Figure 3-3 ) Figure 3-3 Titanium Studio allows you to inspect variables and attribute values Building Your App One of the features for which you must use Titanium is to build your app This is where the magic happens Titanium goes through your JavaScript code and builds up a native project, either iOS or Android, and compiles it This is done by a complicated script... being used and it needs to be twisted into doing something it wasn’t really designed for The intent of this book is to show you the strengths and weaknesses of Titanium and help you understand when to use it, and when it doesn’t make sense to use it Hopefully it will help you to put an extra club or two in your bag and know when to use them Pricing and Support Like any robust software package, Titanium. .. JavaScript That allows you to create iOS apps without necessarily knowing Objective-C and the iOS API, and create Android apps without having to know Java and the Android API If you’re making a pros and cons list, then you’ve got two pretty serious checkmarks in the pros section and a check in the cons section due to the lack of a GUI-based screen editor Looking at some examples, even on Apple’s site about... The higher-priced iOS developers can be expected to create apps that companies would charge more for Titanium developers would create apps that are lower cost to the end client The important thing to remember is there is no one-size-fits-all solution There is no one tool that will fit all your needs, mobile or otherwise The only way to successfully use tools such as Titanium, and Xcode and Android tools,... subset of the top Android models focus on making it work well for the 80% or 90% of the most-used devices OK, now that we’ve set the stage, let’s talk about Titanium s cross-platform API I think that the API differences can be put into two categories: functional/UI-related and OS-related For instance, activities are a big part of Android that don’t really have a corresponding part in iOS Titanium has pretty... Store and Google Play for free, and maintain and update those apps for free The bottom line is that you can try out and use Titanium for free There is also a free level of Appcelerator Cloud Services that allows you to try these features as well The limits on these have also been bumped up very recently (as of the writing of this book) to give you more room to experiment with them Outside of the Titanium . title, author, publisher, and ISBN. For example: Appcelerator Titanium: Up and Running by John Ander- son (O’Reilly). Copyright 2013 John Anderson, 97 8-1 -4 4 9-3 295 5-6 .” If you feel your use of.

Ngày đăng: 03/05/2014, 18:09

Mục lục

  • Appcelerator Titanium: Up and Running

    • John Anderson

    • Special Upgrade Offer

    • Preface

    • Introduction

    • Conventions Used in This Book

      • Tip

      • Caution

      • Using Code Examples

      • Safari® Books Online

      • How to Contact Us

      • Acknowledgments

      • Chapter 1. The Benefits of Titanium

      • When to Use Titanium

      • When Titanium Makes Sense

        • Cross-Platform Compatibility

        • Note

        • Note

        • Using Titanium for Just One Platform

        • When Titanium Doesn’t Make Sense

          • Note

          • Mobile Landscape

            • PhoneGap

            • Sencha Touch

            • jQuery Mobile

Tài liệu cùng người dùng

Tài liệu liên quan