andy the android ppt,Appcelerator Titanium: Up and Running ppt

摘要:

www.it-ebooks.infowww.it-ebooks.infoJohn AndersonAppcelerator Titanium:Up and Runningwww.it-ebooks.infoAppcelerator Titanium: Up and Runningby John AndersonCopyright 2013 John Anderson. All rights reserved.Printed in the United States of America.Published by O'Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.O'Reilly books may be purchased for educational, business, or sales promotional use. Online editions arealso available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com.Editors: Andy Oram and Mike HendricksonProduction Editor: Kara EbrahimProofreader: Kara EbrahimCover Designer: Randy ComerInterior Designer: David FutatoIllustrator: Rebecca DemarestMarch 2013: First EditionRevision History for the First Edition:2013-03-08: First releaseSee http://oreilly.com/catalog/errata.csp?isbn=9781449329556 for release details.Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'ReillyMedia, Inc. Appcelerator Titanium: Up and Running, the image of a golden lion tamarin, and related tradedress are trademarks of O'Reilly Media, Inc.Many of the designations used by manufacturers and sellers to distinguish their products are claimed astrademarks. Where those designations appear in this book, and O'Reilly Media, Inc., was aware of a trade‐mark claim, the designations have been printed in caps or initial caps.While every precaution has been taken in the preparation of this book, the publisher and author assume noresponsibility for errors or omissions, or for damages resulting from the use of the information containedherein.ISBN: 978-1-449-32955-6[LSI]www.it-ebooks.infoTable of ContentsPreface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii1.The Benefits of Titanium. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1When to Use Titanium 2When Titanium Makes Sense 2Cross-Platform Compatibility 3Using Titanium for Just One Platform 5When Titanium Doesn't Make Sense 6Mobile Landscape 8PhoneGap 8Sencha Touch 9jQuery Mobile 9jQTouch 10MonoTouch 10Where's the GUI? 11Death of Xcode and ADK? 11Pricing and Support 122.Getting Set Up to Use Titanium. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Selecting a Development Environment 15Setting Up Your Native SDKs 16Other Hardware Prerequisites 18External Displays 183.Titanium Studio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Features of Titanium Studio 21Automatic Syntax Checking 22Autocomplete (Intellisense) 22Debugging 23iiiwww.it-ebooks.infoBuilding Your App 24Titanium Studio and Other Text Editors 254. A Hello World App. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Building Your First App 27Writing the App 30The Files in Your First Project 36The tiapp.xml File 36Build Folder 39Events 41Custom Events 425. Becoming a Capable Control Freak. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Basic UI Controls 48Window-Based UI Controls 51Picker Control 51Option Control 52Creating Your Own Composite Objects 54The Customized Slider Object 54Custom Attributes on Controls 60More Uses for Custom Controls 63The Main Event 64Event Propagation 666.Titanium Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69App Object 69Storing Data in the App Object 70Pause and Resume Events 70Background Services 71Local Notifications 72Window and View Objects 74Window and View Layout 78Layout 78View Controllers 84Navigation Group 85TabGroup Object 89Conclusion 917.Customizing Titanium. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

展开

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值