Skip to main content

2010 | Buch

Pro Smartphone Cross-Platform Development

iPhone, BlackBerry, Windows Mobile, and Android Development and Distribution

verfasst von: Sarah Allen, Vidal Graupera, Lee Lundrigan

Verlag: Apress

insite
SUCHEN

Über dieses Buch

Learn the theory behind cross-platform development, and put the theory into practice with code using the invaluable information presented in this book. With in-depth coverage of development and distribution techniques for iPhone, BlackBerry, Windows Mobile, and Android, you’ll learn the native approach to working with each of these platforms. With detailed coverage of emerging frameworks like PhoneGap and Rhomobile, you’ll learn the art of creating applications that will run across all devices. You’ll also be introduced to the code-signing process and the distribution of applications through the major application stores, including Research In Motion (BlackBerry), Apple, and Microsoft.

Inhaltsverzeichnis

Frontmatter

The Smartphone is the New PC

Chapter 1. The Smartphone is the New PC
Abstract
The mobile phone is the new personal computer. The desktop computer is not going away, but the smartphone market is growing fast. Phones are being used as computers by more people and for more purposes. Smartphones are generally cheaper than computers, more convenient because of their portability, and often more useful with the context provided by geolocation.
Sarah Allen, Vidal Graupera, Lee Lundrigan

Platform Development and Distribution

Frontmatter
Chapter 2. iPhone
Abstract
To develop for the iPhone or iPod touch, you will need an Intel-based Macintosh computer running OS X v10.5.7 or later. You will also need to install the latest version of the iPhone SDK and verify that your device operating systems are up-to-date. Download the iPhone SDK from the Apple Developers site (http://developer.apple.com/iphone), which includes the Xcode IDE, iPhone simulator, and a suite of additional tools for developing applications for iPhone and iPod touch. These tools will help you develop your application and allow you to run it in the simulator. From this point on in the text, whenever we refer to building or creating applications for the iPhone, we also mean for the iPod Touch of iPad, interchangeably. The iPod Touch and iPad are compatible with the iPhone except that those devices lack a phone and camera.
Sarah Allen, Vidal Graupera, Lee Lundrigan
Chapter 3. Android
Abstract
The Android operating system is released under the open source Apache License and is built on Linux kernel version 2.6. Android is a project of the Open Handset Alliance (OHA). Founded by Google, OHA is an association that includes 65 hardware/software companies and operators, such as KDDI, NTT DoCoMo, Sprint Nextel, Telefónica, Dell, HTC, Intel, Motorola, Qualcomm, Texas Instruments, Samsung, LG, T-Mobile, and Nvidia.
Sarah Allen, Vidal Graupera, Lee Lundrigan
Chapter 4. BlackBerry
Abstract
This chapter will discuss how to build native applications for BlackBerry smartphones. The BlackBerry is a product of Research in Motion (RIM), a public company based in Waterloo, Ontario. Founded in 1984, RIM released its first BlackBerry smartphone in 2002. Optimized for push email and with an easy-to-use QWERTY keyboard, the BlackBerry became the “gold standard” in smartphones for business professionals and executives in the US and Europe. The BlackBerry has the second largest market share of smartphones in the US. The platform has recently lost some buzz over the success of the iPhone and Android offerings. RIM has been criticized recently for being slow to introduce color screens and touch interfaces to its devices although this has been addressed with the release of its most current devices. The BlackBerry has a very large relative market share in the enterprise, particularly in the US, and must be taken into account when developing any enterprise application.
Sarah Allen, Vidal Graupera, Lee Lundrigan
Chapter 5. Windows Mobile
Abstract
The Windows Mobile operating system provides a more desktop-like user experience than other smartphones, adhering to the concepts of hierarchical organization with nested folders and menus. Approximately 15% of smartphones currently subscribe to a mobile plan run on the Windows Mobile platform, and Windows Mobile remains the third most popular platform for business users, commanding approximately 1/4 of the enterprise market. However, Windows Mobile market share has experienced a sharp decline over the past few years (30% between 2008 and 2009, 4% in the third quarter of 2009 alone) and it continues to drop.1
Sarah Allen, Vidal Graupera, Lee Lundrigan

Cross-Platform Native Frameworks

Frontmatter
Chapter 6. Rhodes
Abstract
Rhodes is a cross-platform smartphone application framework developed by Rhomobile (www.rhomobile.com) a venture backed startup in Cupertino, CA. It was released in December of 2008. Rhodes is available for most major smartphones including the iPhone, Research in Motion (BlackBerry), Android, Windows Mobile, and Symbian. As of this writing, Symbian is not actively maintained and therefore not addressed in this chapter. A key value proposition for Rhodes is the ability for a company to build and maintain a single code-base across this wide variety of device operating systems.
Sarah Allen, Vidal Graupera, Lee Lundrigan
Chapter 7. RhoSync
Abstract
Synchronization servers provide the ability for mobile users to access information even when the device is offline or disconnected. They can also dramatically simplify the programming model. Developers can assume the data that they need is available locally in a database instead of writing code to access the network and take apart the data from some wire format.
Sarah Allen, Vidal Graupera, Lee Lundrigan
Chapter 8. PhoneGap
Abstract
PhoneGap (http://phonegap.com/) is an open source framework for building native mobile applications using HTML, CSS, and Javascript for iPhone, Android, BlackBerry, Palm webOS, and Symbian WRT (Nokia). PhoneGap is a perfect for transforming a mobile web application to a native application. It is easy to use for web developers. In order to use PhoneGap, a web developer will need to learn how to build using one or more device SDKs and tools, but all the application code can be HTML, CSS, and JavaScript. In fact, a developer must be fairly expert in JavaScript to take advantage of this platform. Depending on the perspective of the developer, it is a benefit or a drawback that it provides little in the way of design patterns for mobile applications. It will not help you with an application that works off-line, which means it is possible on Android and iPhone with Webkit’s Web Storage support,1 but not on BlackBerry (as of this writing).
Sarah Allen, Vidal Graupera, Lee Lundrigan
Chapter 9. Titanium Mobile
Abstract
This chapter will discuss how to build native applications for the iPhone and Android using Appcelerator’s Titanium Mobile platform. Titanium is a commercially supported, open source platform for developing native cross-platform applications using web technologies. Source code is released under the Apache 2 license. Appcelerator, Inc. (www.appcelerator.com/), a startup in Mountain View, CA., introduced the platform in December 2008. Appcelerator has announced and will soon be releasing a version of Titanium Mobile that also works for the BlackBerry.
Sarah Allen, Vidal Graupera, Lee Lundrigan

HTML Interfaces

Frontmatter
Chapter 10. Mobile HTML and CSS
Abstract
In order to understand how to approach creating HTML and CSS to look and feel like a native mobile interface, we first present common patterns in mobile visual and interaction design as well as highlight specific widgets that are available on different platforms. This chapter also presents specific HTML and CSS code for achieving common effects on WebKit-based browsers. Because, as of this writing, BlackBerry has such severe limitations in browser capabilities, Chapter 14 is dedicated to detailing how to create HTML for the currently available devices. When RIM introduces its new operating systems with a WebKit-based browser, the techniques presented in this chapter may be helpful there as well.
Sarah Allen, Vidal Graupera, Lee Lundrigan
Chapter 11. iWebKit
Abstract
The iWebKit framework allows you to create HTML that matches the look and feel of native iPhone applications. As the name implies, iWebKit is customized for browsers based on the open source WebKit engine, specifically iPhone’s mobile Safari browser. The iWebKit framework was developed in accordance with the Apple Human Interface Guidelines, outlining application look and feel on the popular iPhone OS.
Sarah Allen, Vidal Graupera, Lee Lundrigan
Chapter 12. Animated UI with jQTouch
Abstract
jQTouch is a jQuery plug-in for mobile web development originally developed for the iPhone and iPod Touch.1 jQTouch enables animated transitions, swipe detection, and themes for HTML-based web applications based on features in WebKit. The most exciting and interesting feature of jQTouch is that it allows you to quickly make HTML pages look like a native iPhone application.
Sarah Allen, Vidal Graupera, Lee Lundrigan
Chapter 13. Sencha Touch
Abstract
Sencha Touch (www.sencha.com/products/touch) is a JavaScript framework for creating web applications targeted to touch-based devices. Sencha Touch is the flagship product of Sencha (formerly Ext JS), a Palo Alto, Calif. company launched in 2007 that makes application frameworks. Sencha Touch combines ExtJS, jQTouch and Raphaël. Unlike jQTouch, Sencha Touch is not dependent on jQuery and is compatible with both the iPhone and Android. Sencha Touch is distributed under the GPL v3 open source license. As of this writing, it is in beta and not available for commercial distribution; however, it is expected to have a commercial license upon final release.
Sarah Allen, Vidal Graupera, Lee Lundrigan
Chapter 14. BlackBerry HTML UI
Abstract
The BlackBerry platform was one of the earliest smartphone platforms to gain widespread adoption in the business- and gadget-loving communities. Developed by Research in Motion (RIM), it remains one of the leaders in market share for devices in the United States; however, the BlackBerry is outpaced by iPhone and Android sales in terms of market growth.
Sarah Allen, Vidal Graupera, Lee Lundrigan
Backmatter
Metadaten
Titel
Pro Smartphone Cross-Platform Development
verfasst von
Sarah Allen
Vidal Graupera
Lee Lundrigan
Copyright-Jahr
2010
Verlag
Apress
Electronic ISBN
978-1-4302-2869-1
Print ISBN
978-1-4302-2868-4
DOI
https://doi.org/10.1007/978-1-4302-2869-1

Premium Partner