Details zum E-Book

Appcelerator Titanium Application Development by Example Beginner's Guide. Once you've got into Appcelerator Titanium you'll never look back. This book is the perfect introduction to developing native cross-platform apps for iOS, Android, and Windows 8

Appcelerator Titanium Application Development by Example Beginner's Guide. Once you've got into Appcelerator Titanium you'll never look back. This book is the perfect introduction to developing native cross-platform apps for iOS, Android, and Windows 8

Darren Cope, Darren Paul Cope

E-book
Appcelerator Titanium is the leading method for creating native cross-platform apps. This book guides you from the initial stages with the language right through to the submission of your app to the marketplace/app store. Specially crafted examples cover the most common requirements of an app programmer. This book will be your companion as you progress with the language.Appcelerator Titanium Application Development by Example Beginner's Guide will guide you through the process of designing cross-platform apps using Titanium. It covers all areas of the language from installation through development to submission to the store. This book will take a hands-on approach in teaching you how to write cross-platform apps using Titanium, as well as exploring the new features of Titanium 3. Each chapter will show you how to overcome specific challenges using Titanium. You will learn how to design your apps using MVC principles and Alloy, use the cloud to your advantage, develop apps that work on tablets and phones, use the phone gadgets like the accelerometer, integrate social media, record usage using analytics, and monetise your app. All tasks from installation to deployment to the store are covered and backed by examples. The book will be your companion from your first steps with Titanium to successful live deployment.
  • Appcelerator Titanium Application Development by Example Beginners Guide
    • Table of Contents
    • Appcelerator Titanium Application Development by Example Beginner's Guide
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Time for action heading
        • What just happened?
        • Pop quiz heading
        • Have a go hero heading
          • Reader feedback
          • Customer support
          • Downloading the example code
          • Errata
          • Piracy
          • Questions
    • 1. How to Get Up and Running with Titanium
      • System requirements and restrictions
      • Installing Titanium
      • Time for action installing Titanium Studio
        • What just happened?
      • Setting up Titanium Studio
      • Time for action setting up Titanium Studio
        • What just happened?
      • Installing the Android SDK
      • Time for action configuring the Android SDK
        • What just happened?
      • Installing the iOS SDK
      • Time for action configuring the iOS SDK
        • What just happened?
      • Installation problems did something go wrong?
      • Your first cross-platform app
      • Time for action creating an app from a template
        • What just happened?
      • Time for action running an app in the emulator
        • What just happened?
        • Did the app fail to run?
      • A review of the first app
      • tiapp.xml
        • tiapp XML structure explained
        • Other files in the base directory
        • The Resources directory
          • app.js
          • KS_nav_ui.png and KS_nav_views.png
          • The Android and iPhone directories
        • Pop quiz - Titanium installation and configuration
      • Summary
    • 2. How to Make an Interface
      • What's in the toolkit?
      • A recap
      • Window
      • Tab group and tabs
        • Creating a tab group
        • Creating a tab
      • Labels
      • Views
      • Time for action adding a view to a window
        • What just happened?
      • Time for action adding a button to a view
        • What just happened?
      • Time for action making something happen when the button is pressed
        • What just happened?
      • Adding a settings screen a TableView masterclass
      • Time for action adding a new window
        • What just happened?
      • Time for action adding a styled TableViewRow object
        • What just happened?
      • Platform-specific tools
        • Adding an Android menu
      • Time for action adding an Android menu
        • What just happened?
      • Time for action running the Android menu changes on iOS
        • What just happened?
          • Why did this fail?
        • Isolating platform-specific code
      • Time for action add an iOS fix for the Android menu
        • What just happened?
      • Capturing debug messages
        • Coding iOS specific elements
      • Time for action adding an info button to the navigation bar
        • What just happened?
      • Summary
    • 3. How to Design Titanium Apps
      • JSON
      • Extending your app over multiple files
        • Titanium.include
      • Time for action creating an activity indicator
        • What just happened?
      • Require
        • Require loading a marketplace module
      • Time for action adding an Appcelerator marketplace module
        • Have a go hero - enhancing the paint app
        • Require promoting commonJS compliant code
      • MVC
      • Time for action creating a better designed app using MVC
        • What just happened?
      • Behind the scenes a look at the code
        • What does this mean?
        • An example of require
      • Alloy
      • Time for action creating an Alloy app
        • What just happened?
        • Pop quiz - Titanium design
      • Summary
    • 4. Gluing Your App Together with Events, Variables, and Callbacks
      • Sharing data
        • Execution context
      • Global variables
        • What is the right way to share data?
      • Time for action sharing information between windows
        • What just happened?
      • Events
        • Event scope
        • Event properties
        • Making something happen fireEvent
      • Time for action creating a progress bar game
        • What just happened?
        • Global event listeners and garbage collection
        • Better event code using callbacks
        • Have a go hero - adding callbacks
        • Pop quiz - events
      • Summary
    • 5. It's All About Data
      • External data
      • Time for action creating an HTTP request
        • What just happened?
      • RSS reader
      • Time for action fetching RSS
        • What just happened?
      • Time for action parsing and displaying the RSS
        • What just happened?
      • Storing data on the device
        • Which one should you use; filesystem, database, or properties?
      • Storing data in files
        • Storing data in the database
      • Storing settings in Ti.App.Properties
      • Time for action comparing the speed of database, file, and application properties
        • What just happened?
      • YQL
      • Time for action creating a foreign exchange list
        • What just happened?
        • Have a go hero - adding offline storage
        • Pop quiz - data handling
      • Summary
    • 6. Cloud-enabling Your Apps
      • Before the cloud
      • Which cloud services can you use with Titanium?
        • Clouds are everywhere
      • Appcelerator Cloud Services
      • Time for action creating ACS custom objects
        • What just happened?
      • Uploading pictures
      • Time for action uploading a photo to the cloud
        • What just happened?
      • Fetching ACS stored content
      • Time for action creating a panel to show commentary entries
        • What just happened?
      • Parse
      • Time for action storing custom objects using Parse
        • What just happened?
      • StackMob
      • Other cloud offerings
      • Choosing your cloud service
        • Pop quiz - cloud services
      • Summary
    • 7. Putting the Phone Gadgets to Good Use
      • The camera
      • Time for action using the camera
        • What just happened?
      • Time for action selecting a photo from the photo library
        • What just happened?
        • Have a go hero - e-mailing a camera photo
      • The accelerometer
      • Time for action showing the accelerometer on a slider
        • What just happened?
      • Time for action smoothing the accelerometer response
        • What just happened?
        • Have a go hero - tuning the filer response
      • The compass
      • Time for action displaying the compass heading
        • What just happened?
      • Augmented reality
      • Time for action creating a simple augmented reality app
        • What just happened?
        • Have a go hero - extending the AR example
      • Maps
      • Time for action adding a map
        • What just happened?
      • Time for action adding annotations to a map
        • What just happened
      • Directions
      • Time for action adding directions to a map
        • What just happened?
      • Geolocation
        • Are we allowed to get the location?
      • Accuracy and battery life
      • Time for action getting the current location
        • What just happened?
        • Have a go hero - getting the address of a location using reverse geocoding
      • Computing the distance from a coordinate
      • Time for action getting the distance from a coordinate
        • What just happened?
      • Showing the user's current location on a map
      • Time for action showing the user's location on the map
        • What just happened
        • Pop quiz - gadgets
      • Summary
    • 8. Creating Beautiful Interfaces
      • How to position and size items on a window?
        • So what is a DIP and what's so good about it?
      • Time for action - making DIPs the default unit for your app
        • What just happened?
        • What about percentages?
        • Using views to create your layout
      • Orientation
        • Restricting the orientation
      • Time for action restricting the orientation of your app (iPhone)
        • What just happened?
      • Time for action restricting the orientation of your app [Android]
        • What just happened?
        • Changing the orientation manually
      • Time for action forcing an orientation change (all platforms)
        • What just happened?
      • Creating layouts for phones and tablets
      • Time for action creating a multiplatform interface
        • What just happened?
      • Time for action creating a phone layout for your app
        • What just happened?
        • Pop quiz - creating a layout
      • Summary
    • 9. Spread the Word with Social Media
      • Facebook
      • Time for action registering your app with Facebook
        • What just happened?
      • Time for action sending a screenshot to Facebook
        • What just happened?
      • Sending tweets
      • Time for action registering your app with Twitter
        • What just happened?
      • Time for action sending a tweet
        • What just happened?
      • Sharing and social media on Android
      • Time for action sharing an update using intents
        • What just happened?
        • Pop quiz - integrating social media
      • Summary
    • 10. Sending Notifications
      • How push notifications work
        • Why do you need to know this?
      • Setting up notifications - the prerequisites
        • Setting up iOS notifications
      • Time for action getting a push certificate
        • What just happened?
      • Push notifications using Appcelerator Cloud
      • Time for action registering for push notifications with Appcelerator Cloud
        • What just happened?
        • Have a go hero - sending push notifications
      • Push notifications using Urban Airship
      • Time for action registering for push notifications with Urban Airship
        • What just happened?
        • Coding the interface to Urban Airship
      • Time for action registering a device for push notifications
        • What just happened?
        • Have a go hero - sending a notification from Urban Airship
        • Pop quiz - push notifications
      • Summary
    • 11. Testing and Deploying
      • Registering your app with Apple
      • Time for action registering your app with Apple
        • What just happened?
        • Installing a development/distribution certificate
      • Time for action installing a development certificate
        • What just happened?
      • Running the app on devices
        • Testing the app on iOS
      • Time for action running the app on an iOS device
        • What just happened?
        • Testing the app on Android
      • Time for action configuring your Android device
        • What just happened?
      • Debug your app
      • Publishing your app
        • iOS
          • All iOS platforms
          • iPhone
          • iPad
        • Android
        • Deploying the app to the Apple App Store
      • Time for action deploying the app to the Apple App Store
        • What just happened?
        • Deploying the app to Google Play
      • Time for action deploying the app to Google Play
        • What just happened?
        • Pop quiz - deploying your app
      • Summary
    • 12. Analytics
      • Comparing the providers
      • Flurry
      • Time for action setting up Flurry
        • What just happened?
        • Tracking page views
      • Time for action registering a page view
        • What just happened?
        • Tracking custom events
      • Time for action registering a custom event
        • What just happened?
        • Other items you can gather
      • Google Analytics
      • Time for action setting up Google Analytics
        • What just happened?
        • Tracking page views
      • Time for action registering a page view
        • What just happened?
        • Tracking custom events
      • Time for action registering a custom event
        • What just happened?
      • Analytics using Appcelerator
      • Time for action setting up Appcelerator Analytics
        • What just happened?
        • Catching custom events
      • Time for action registering a custom event
        • What just happened?
      • Other suppliers
        • Pop quiz - recording analytics
      • Summary
    • 13. Making Money from Your App
      • Displaying adverts in your app
      • Time for action configuring Google AdMob
        • What just happened?
      • Time for action incorporating AdMob into your app
        • What just happened?
      • In-app purchases
      • Time for action adding in-app purchases for iOS
        • What just happened?
        • Have a go hero - recording a purchase
        • In-app purchases on Android
      • Time for action adding in-app purchases for Android
        • What just happened?
        • Pop quiz - making money from your app
      • Summary
    • A. Git Integration
      • Importing a project
      • Time for action importing an existing GitHub project
        • What just happened?
      • Time for action uploading a project to GitHub
        • What just happened?
        • Alternative suppliers
      • Summary
    • B. Glossary
    • C. Pop Quiz Answers
      • Chapter 1, How to Get Up and Running with Titanium
        • Pop quiz - Titanium installation and configuration
      • Chapter 3, How to Design Titanium Apps
        • Pop quiz - Titanium design
      • Chapter 4, Gluing Your App Together with Events, Variables, and Callbacks
        • Pop quiz - adding callbacks
      • Chapter 5, Its All About Data
        • Pop quiz - data handling
      • Chapter 6, Cloud-enabling Your Apps
        • Pop quiz - cloud services
      • Chapter 7, Putting the Phone Gadgets to Good Use
        • Pop quiz - gadgets
      • Chapter 8, Creating Beautiful Interfaces
        • Pop quiz - creating a layout
      • Chapter 9, Spread the Word with Social Media
        • Pop quiz - integrating social media
      • Chapter 10, Sending Notifications
        • Pop quiz - push notifications
      • Chapter 11, Testing and Deploying
        • Pop quiz - deploying your app
      • Chapter 12, Analytics
        • Pop quiz - recording analytics
      • Chapter 13, Making Money from Your App
        • Pop quiz - making money from your app
    • Index
  • Titel: Appcelerator Titanium Application Development by Example Beginner's Guide. Once you've got into Appcelerator Titanium you'll never look back. This book is the perfect introduction to developing native cross-platform apps for iOS, Android, and Windows 8
  • Autor: Darren Cope, Darren Paul Cope
  • Originaler Titel: Appcelerator Titanium Application Development by Example Beginner's Guide. Once you've got into Appcelerator Titanium you'll never look back. This book is the perfect introduction to developing native cross-platform apps for iOS, Android, and Windows 8.
  • ISBN: 9781849695015, 9781849695015
  • Veröffentlichungsdatum: 2013-04-25
  • Format: E-book
  • Artikelkennung: e_3d04
  • Verleger: Packt Publishing