2 options
Appcelerator titanium smartphone app development cookbook : over 100 recipes to help you develop cross-platform, native applications in Javascript / Jason Kneen.
- Format:
- Book
- Author/Creator:
- Kneen, Jason, author.
- Series:
- Quick answers to common problems.
- Quick answers to common problems
- Language:
- English
- Subjects (All):
- Mobile computing.
- Application software--Development.
- Application software.
- Physical Description:
- 1 online resource (368 p.)
- Edition:
- Second edition.
- Place of Publication:
- Birmingham : Packt Publishing, 2015.
- Summary:
- Over 100 recipes to help you develop cross-platform, native applications in JavaScript About This Book Leverage your JavaScript skills to write mobile applications using Titanium Studio tools with the native advantage Deploy your application on the App Store and Google Play Add your own IOS native modules in objective-C, in an easy-to-follow step-by-step format Who This Book Is For This book is an essential for any developer learning or using JavaScript who wants to write native UI applications for iOS and Android. No knowledge of Objective-C, Swift and Java is required and you'll quickly be developing native, cross-platform apps, in JavaScript! What You Will Learn Transfer data between applications with URL schemes, and make your application accessible to other mobile applications and services Connect with remote services using JSON Work with Google Maps and Apple Maps, GPS and annotate routes Create animations and special effects Integrate notifications and connect with social media services such as Facebook and Twitter Build applications with Alloy MVC - a rapid application development framework Design native APIs and use local databases In Detail The mobile web has paved the way but many users want to have "native" applications installed. Using Appcelerator as a platform it's now possible to write iOS, Android, and Windows phone applications in JavaScript! It allows developers to develop fully native UI applications using Appcelerator studio tools without any knowledge of Objective-C, Swift or Java. This book will take you through the process of building cross-platform, native UI applications for the mobile from scratch. You will learn how to develop apps, how to use GPS, cameras and photos and how to build socially connected apps. You will also learn how to package them for submission to the App Store and Google Play. This cookbook takes a pragmatic approach to creating applications in JavaScript from putting together basic UIs, to handling events and implementation of third party services such as Twitter, Facebook and Push notifications. The book shows you how to integrate datasources and server APIs, and how to use local databases. The topics covered will guide you to use Appcelerator Studio tools for all the mobile features such as Geolocation, Accelerometer, animation and more. You'll also learn about Alloy, the Appcelerator MVC framework for rapid app development, and how to transfer data between applications using URLSchemes, enabling other developers to access and launch specific parts of your app. Finally, you will learn how to register developer accounts and publish your very own applications on the App Store and Google Play. Style and approach This book offers a set of practical recipes with a step-by-step approach for building native applications for both the iOS and Android using JavaScript. This hands-on guide shows you exactly how to use the Appcelerator platform to rapidly develop cross-platform, native apps."
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Building Apps Using Native UI Components; Introduction; Building with windows and views; Adding a tabgroup to your app; Creating and formatting labels; Creating textfields for user input; Working with keyboards and keyboard toolbars; Enhancing your app with sliders and switches; Passing custom variables between windows; Creating buttons and capturing click events; Informing your users with dialogs and alerts; Creating charts using Raphael JS
- Creating an actionbar in AndroidChapter 2: Working With Local and Remote Data Sources; Introduction; Reading data from remote XML via HTTPClient; Displaying data using a TableView; Enhancing your TableViews with custom rows; Filtering the TableView using a SearchBar component; Speeding up your remote data access with Yahoo YQL and JSON; Creating a SQLite database; Saving data locally using a SQLite database; Retrieving data from a SQLite database; Creating a ""Pull to Refresh"" mechanism in iOS; Chapter 3: Integrating Maps and GPS; Introduction; Adding a MapView to your application
- Getting your current position using GeoLocationConverting addresses to latitude and longitude locations; Adding annotations to your MapView; Customizing annotations and adding events to your MapView; Drawing routes on your MapView; Monitoring your heading using the device compass; Chapter 4: Enhancing Your Apps with Audio, Video, and Cameras; Introduction; Choosing your capture device using an OptionDialog modal; Capturing photos from the camera; Choosing existing photos from the photo library; Displaying photos using ScrollableView; Saving your captured photo to the device filesystem
- Capturing and playing audio via the audio recorderCapturing video via the video recorder; Playing video files from the filesystem; Safely deleting saved files from the filesystem; Chapter 5: Connecting your Apps to Social Media and E-mail; Introduction; Composing and sending e-mails; Adding attachments to an e-mail; Setting up a custom Facebook application; Integrating Facebook into your Titanium app; Posting to your Facebook wall; Posting to Twitter in iOS; Posting to Facebook in iOS; Sharing on Android using Intents; Chapter 6: Getting To Grips with Properties and Events; Introduction
- When should you use app properties?Reading and writing app properties; Firing and capturing events; Passing event data between your app and a Webview using custom events; Chapter 7: Creating Animations, Transformations and implementing Drag and Drop; Introduction; Animating a view using the Animate method; Animating a view using 2D Matrix and 3D Matrix transformations; Dragging an ImageView using touch events; Scaling an ImageView using the slider control; Saving our funny face using the toImage() method; Chapter 8: Interacting with Native Phone Applications and APIs; Introduction
- Creating an Android options menu
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (ebrary, viewed January 5, 2016).
- ISBN:
- 9781849697712
- 184969771X
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.