Pro Smartphone cross-platform development: iPhone, BlackBerry, Windows Mobile, and Android development and distribution ;
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
New York, NY
APress
2010
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XVI, 268 S. Ill. |
ISBN: | 9781430228684 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV037378558 | ||
003 | DE-604 | ||
005 | 20110523 | ||
007 | t | ||
008 | 110504s2010 a||| |||| 00||| eng d | ||
020 | |a 9781430228684 |c pbk |9 978-1-4302-2868-4 | ||
035 | |a (OCoLC)700649924 | ||
035 | |a (DE-599)HBZHT016540268 | ||
040 | |a DE-604 |b ger |e rakwb | ||
041 | 0 | |a eng | |
049 | |a DE-473 |a DE-573 | ||
084 | |a ST 165 |0 (DE-625)143600: |2 rvk | ||
084 | |a ST 325 |0 (DE-625)143661: |2 rvk | ||
100 | 1 | |a Allen, Sarah |e Verfasser |0 (DE-588)14297188X |4 aut | |
245 | 1 | 0 | |a Pro Smartphone cross-platform development |b iPhone, BlackBerry, Windows Mobile, and Android development and distribution ; |c Sarah Allen ; Vidal Graupera ; Lee Lundrigan |
264 | 1 | |a New York, NY |b APress |c 2010 | |
300 | |a XVI, 268 S. |b Ill. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a Softwareentwicklung |0 (DE-588)4116522-6 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Smartphone |0 (DE-588)4845922-7 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Smartphone |0 (DE-588)4845922-7 |D s |
689 | 0 | 1 | |a Softwareentwicklung |0 (DE-588)4116522-6 |D s |
689 | 0 | |5 DE-604 | |
700 | 1 | |a Graupera, Vidal |e Verfasser |4 aut | |
700 | 1 | |a Lundrigan, Lee |e Verfasser |4 aut | |
776 | 0 | 8 | |i Erscheint auch als |n Online-Ausgabe |z 978-1-4302-2869-1 |
856 | 4 | 2 | |m Digitalisierung UB Bamberg |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=022531731&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-022531731 |
Datensatz im Suchindex
_version_ | 1804145663069388800 |
---|---|
adam_text | Contents
at a Glance
Contents
..........................................................................................................
v
Foreword
.........................................................................................................
χ
About the Authors
.........................................................................................xii
About the Technical Reviewer.
.....................................................................xiii
■¡Acknowledgments
.........................................................................................xiv
Introduction
....................................................................................................xv
Chapter
1:
The Smartphone is the New PC
..................................................... 1
Part
1:
Platform Development and Distribution
................................................15
Chapter
2:
¡Phone
..........................................................................................17
Chapter
3:
Android
........................................................................................35
Chapter
4:
BlackBerry
...................................................................................51
Chapter
5:
Windows Mobile
...........................................................................65
Part
2:
Cross-Platform Native Frameworks
......................................................81
Chapter
6:
Rhodes
.........................................................................................83
II Chapter
7:
RhoSync
.....................................................................................113
»Chapter
8:
PhoneGap
...................................................................................131
Chapter
9:
Titanium Mobile
.........................................................................153
Part
3:
HTML Interfaces
..................................................................................161
Chapter
10:
Mobile HTML and CSS
..............................................................163
Chapter
11:
iWebKit
.....................................................................................183
¡Chapter
12:
Animated Ul with jQTouch
........................................................207
Chapter
13:
Sencha Touch
...........................................................................225
Chapter
14:
BlackBerry HTMLUI
.................................................................235
Appendix: Cascading Style Sheets
..............................................................247
Index
............................................................................................................255
iv
Contents
Contents
at a Glance
.......................................................................................iv
Foreword
.........................................................................................................
χ
About the Authors
.........................................................................................xii
About the Technical Reviewer
......................................................................xiii
Acknowledgments
.........................................................................................xiv
Introduction
....................................................................................................xv
Chapter
1:
The Smartphone is the New PC
.....................................................1
Application Marketplace
.........................................................................................................................................2
Increase in Mobile Usage and Trend Toward Smartphones
..............................................................................2
What is a Smartphone?
...........................................................................................................................................4
Smartphone Landscape
.....................................................................................................................................4
Cross-Platform Frameworks
..............................................................................................................................5
The Branded Experience of Mobile Applications
...............................................................................................6
Web Techniques
...................................................................................................................................................10
Cross-Platform Frameworks
.................................................................................................................................10
About this Book
.....................................................................................................................................................13
Part
1:
Platform Development and Distribution
................................................15
Chapter
2:
¡Phone
..........................................................................................17
Introducing Xcode
.................................................................................................................................................17
¡Phone Development Standard Practices
..............................................................................................................18
Building a Simple ¡Phone app
...............................................................................................................................18
Create the Xcode Project
.................................................................................................................................19
Create the Interface
.........................................................................................................................................20
Installing the App on the Device
...........................................................................................................................29
Finding Your Device ID
.....................................................................................................................................31
Create the Provisioning Profile
........................................................................................................................32
Install the Provisioning Profile
.........................................................................................................................32
Install and Run on the Device
..........................................................................................................................32
■ CONTENTS
Chapter
3:
Android
........................................................................................35
Android Development
............................................................................................................................................36
Setting Up The Development Environment With Eclipse
..................................................................................36
Building a Simple Android Application
.............................................................................................................39
Simple Application Using Android WebView
....................................................................................................46
Building for an Android Device
.............................................................................................................................48
Distribution on the Web
........................................................................................................................................50
Android Market
.....................................................................................................................................................50
Chapter
4:
BlackBerry
...................................................................................51
BlackBerry Platform
..............................................................................................................................................51
Set Up for Classic Java Development
...................................................................................................................52
Building a Simple BlackBerry Application
.............................................................................................................53
Create the Eclipse Project
................................................................................................................................53
Create the Interface
.........................................................................................................................................55
Code Explained
................................................................................................................................................57
Build and Test the Application
.........................................................................................................................58
Simple User Interface Application Using a Label, Text Field, and Button
........................................................58
Code Explained
................................................................................................................................................60
Simple Application Using BlackBerry Browser Field
........................................................................................61
Chapter
5:
Windows Mobile
...........................................................................65
Setting Up for Windows Mobile
6.5
Development
.................................................................................................66
Building a Simple Windows Mobile App
...............................................................................................................67
Creating a Smart Device Project
......................................................................................................................67
Setting Up Base Functionality
..........................................................................................................................68
Deploying and Test your Application
...............................................................................................................72
Fleshing Out the Application
............................................................................................................................73
Packaging and Distributing Your App
...................................................................................................................76
Adding a CAB Project to the Solution
...............................................................................................................77
Customizing Your Product Name
.....................................................................................................................77
Adding the Application to the CAB Project
.......................................................................................................78
Creating an Application Shortcut
.....................................................................................................................78
Adding a Registry Entry
...................................................................................................................................78
Building and Deploying the CAB File
................................................................................................................78
Installing the CAB File
......................................................................................................................................79
Distributing Your Application
................................................................................................................................80
Part
2:
Cross-Platform Native Frameworks
......................................................81
Chapter
6:
Rhodes
.........................................................................................83
Development Architecture
....................................................................................................................................84
Runtime Architecture
............................................................................................................................................85
Device Capabilities and Native Ul Elements
....................................................................................................86
Database (Rhom)
..................................................................................................................................................86
Threading
..............................................................................................................................................................87
Differences Between Rhodes and Rails
................................................................................................................88
Creating a Rhodes App
.........................................................................................................................................88
Installation and Setup
......................................................................................................................................88
Building a Rhodes Application
..............................................................................................................................89
vi
і
CONTENTS
Running the Application
........................................................................................................................................91
Running on the ¡Phone
.....................................................................................................................................93
Running on Android
.........................................................................................................................................94
Running on BlackBerry
....................................................................................................................................94
Running on Windows Mobile
6........................................................................................................................95
Generating a Model
...............................................................................................................................................95
Debugging Tips
...................................................................................................................................................100
¡Phone
............................................................................................................................................................100
BlackBerry
.....................................................................................................................................................101
Android
..........................................................................................................................................................101
Rhodes Device Capabilities
.................................................................................................................................101
Contacts Example
...............................................................................................................................................103
Camera Example
.................................................................................................................................................106
Geolocation and Mapping Example
.....................................................................................................................108
Creating the application
.................................................................................................................................109
Chapter
7:
RhoSync
.....................................................................................113
How the Sync Server Works
...............................................................................................................................114
Data Storage: Why Triples?
...........................................................................................................................114
RhoSync Source Adapters
..................................................................................................................................115
Initialize
..............................................................................................................................................................116
Authenticating with Web Services: Login and Logoff
.........................................................................................116
Retrieving Data: Query and Sync
........................................................................................................................117
Query
.............................................................................................................................................................117
Sync
...............................................................................................................................................................119
Submitting Data: Create, Update, and Delete
.....................................................................................................119
Create
............................................................................................................................................................119
Update
............................................................................................................................................................120
Delete
.............................................................................................................................................................120
User Authentication
............................................................................................................................................121
Product Inventory Example
.................................................................................................................................122
Creating Your Application on RhoHub
............................................................................................................122
Creating Your Application on a Local RhoSync Server
...................................................................................127
Debugging RhoSync Source Adapters
...........................................................................................................130
Testing Your Application
................................................................................................................................130
Chapter
8:
PhoneGap
...................................................................................131
Getting Started with PhoneGap
...........................................................................................................................133
Sample Application
........................................................................................................................................134
Android
..........................................................................................................................................................136
BlackBerry
.....................................................................................................................................................137
PhoneGap Simulator
......................................................................................................................................138
Writing Hello World in PhoneGap
........................................................................................................................139
Writing a PhoneGap Application
..........................................................................................................................141
Contacts Example
...............................................................................................................................................146
Contact Example Code Explained
..................................................................................................................149
Camera Example
.................................................................................................................................................150
Camera Example Code Explained
..................................................................................................................152
vii
I CONTENTS
Chapter
9:
Titanium Mobile
.........................................................................153
Getting Started
....................................................................................................................................................153
Writing Hello World
........................................................................................................................................155
Building for Device
.........................................................................................................................................157
Titanium Mobile Device Capabilities
..............................................................................................................157
Camera Example
............................................................................................................................................158
Part
3:
HTML Interfaces
..................................................................................161
Chapter
10:
Mobile HTML and CSS
..............................................................163
Platform Overview
..............................................................................................................................................163
¡OS for iPhone, ¡Pad, ¡Pod Touch
....................................................................................................................164
Android
..........................................................................................................................................................164
BlackBerry
.....................................................................................................................................................165
Windows Mobile
.............................................................................................................................................165
Common Patterns
...............................................................................................................................................165
Screen-Based Approach
................................................................................................................................165
Navigation
......................................................................................................................................................166
UI Widgets
......................................................................................................................................................169
Check Boxes
..................................................................................................................................................169
Selection Boxes
.............................................................................................................................................171
Text Boxes
.....................................................................................................................................................173
Text Areas
......................................................................................................................................................174
Radio Buttons
.................................................................................................................................................175
Additional Components
..................................................................................................................................177
WebKit Web Views
.........................................................................................................................................178
I Chapter
11:
iWebKit
.....................................................................................183
Working With the ¡WebKit Framework
................................................................................................................184
A Few Words of Caution
.................................................................................................................................185
Required Header
............................................................................................................................................186
Body
...............................................................................................................................................................186
Organizing Data with Lists
.............................................................................................................................187
Navigation
...........................................................................................................................................................194
Forms
..................................................................................................................................................................196
Landscape Mode
.................................................................................................................................................200
Phone Integration
................................................................................................................................................200
Integrating ¡WebKit in Mobile Applications
.........................................................................................................201
Creating a Native iPhone Application with ¡WebKit ¡n Objective
С
.................................................................201
Create an Application
.....................................................................................................................................203
Add ¡WebKit Framework to Application Layout Template
..............................................................................204
Setting up PhoneGap for iWebKit
...................................................................................................................205
Chapter
12:
Animated UI with jQTouch
........................................................207
Getting Started with jQTouch
..............................................................................................................................208
Running Example Code
..................................................................................................................................208
Creating a Simple jQTouch Application
..........................................................................................................209
Adding Screens
...................................................................................................................................................211
Loading Additional Screens with
Ajax............................................................................................................212
Cancel, Back, and Browser History
................................................................................................................214
viii
CONTENTS
Other Buttons
.................................................................................................................................................215
jQTouch
Initialization Options
.............................................................................................................................215
Basic Views....................................................................................................................................................217
Customizing Your
jQTouch Applications........................................................................................................218
Animations.....................................................................................................................................................
218
Navigation
Bar (aka the Toolbar)
...................................................................................................................218
Customizing Your
Views
with Themes...........................................................................................................
221
Integration
with Rhodes
.................................................................................................................................222
Integration with PhoneGap
............................................................................................................................222
Chapter
13:
Sencha Touch
...........................................................................225
Getting Started
....................................................................................................................................................225
Adding HTML Text with a Panel
..........................................................................................................................228
Adding Components
............................................................................................................................................231
Creating Interactivity
...........................................................................................................................................232
Chapter
14:
BlackBerry HTML Ul
.................................................................235
BlackBerry Browser Ul Controls
..........................................................................................................................236
BlackBerry
4.2
Browser Control
..........................................................................................................................237
Fonts
..............................................................................................................................................................239
Frames
...........................................................................................................................................................241
JavaScript
......................................................................................................................................................241
Rhodes Tip for Dynamic Layout
.....................................................................................................................242
BlackBerry
4.6
Browser Control
..........................................................................................................................244
Display and User Interaction
...............................................................................................................................244
Development Environment
..................................................................................................................................245
Appendix: Cascading Style Sheets
..............................................................247
The Cascading in Style Sheets
............................................................................................................................247
CSS Syntax
..........................................................................................................................................................248
Comments
...........................................................................................................................................................249
Identifying Elements with ID and Class
...............................................................................................................249
Common Patterns
...............................................................................................................................................250
Common CSS Attributes (Display: block verses inline)
.......................................................................................251
Index
............................................................................................................255
ix
|
any_adam_object | 1 |
author | Allen, Sarah Graupera, Vidal Lundrigan, Lee |
author_GND | (DE-588)14297188X |
author_facet | Allen, Sarah Graupera, Vidal Lundrigan, Lee |
author_role | aut aut aut |
author_sort | Allen, Sarah |
author_variant | s a sa v g vg l l ll |
building | Verbundindex |
bvnumber | BV037378558 |
classification_rvk | ST 165 ST 325 |
ctrlnum | (OCoLC)700649924 (DE-599)HBZHT016540268 |
discipline | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01615nam a2200385 c 4500</leader><controlfield tag="001">BV037378558</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20110523 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">110504s2010 a||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781430228684</subfield><subfield code="c">pbk</subfield><subfield code="9">978-1-4302-2868-4</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)700649924</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)HBZHT016540268</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakwb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-473</subfield><subfield code="a">DE-573</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 165</subfield><subfield code="0">(DE-625)143600:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 325</subfield><subfield code="0">(DE-625)143661:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Allen, Sarah</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)14297188X</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Pro Smartphone cross-platform development</subfield><subfield code="b">iPhone, BlackBerry, Windows Mobile, and Android development and distribution ;</subfield><subfield code="c">Sarah Allen ; Vidal Graupera ; Lee Lundrigan</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">New York, NY</subfield><subfield code="b">APress</subfield><subfield code="c">2010</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XVI, 268 S.</subfield><subfield code="b">Ill.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Softwareentwicklung</subfield><subfield code="0">(DE-588)4116522-6</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Smartphone</subfield><subfield code="0">(DE-588)4845922-7</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Smartphone</subfield><subfield code="0">(DE-588)4845922-7</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Softwareentwicklung</subfield><subfield code="0">(DE-588)4116522-6</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Graupera, Vidal</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Lundrigan, Lee</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Erscheint auch als</subfield><subfield code="n">Online-Ausgabe</subfield><subfield code="z">978-1-4302-2869-1</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Bamberg</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=022531731&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-022531731</subfield></datafield></record></collection> |
id | DE-604.BV037378558 |
illustrated | Illustrated |
indexdate | 2024-07-09T23:23:01Z |
institution | BVB |
isbn | 9781430228684 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-022531731 |
oclc_num | 700649924 |
open_access_boolean | |
owner | DE-473 DE-BY-UBG DE-573 |
owner_facet | DE-473 DE-BY-UBG DE-573 |
physical | XVI, 268 S. Ill. |
publishDate | 2010 |
publishDateSearch | 2010 |
publishDateSort | 2010 |
publisher | APress |
record_format | marc |
spelling | Allen, Sarah Verfasser (DE-588)14297188X aut Pro Smartphone cross-platform development iPhone, BlackBerry, Windows Mobile, and Android development and distribution ; Sarah Allen ; Vidal Graupera ; Lee Lundrigan New York, NY APress 2010 XVI, 268 S. Ill. txt rdacontent n rdamedia nc rdacarrier Softwareentwicklung (DE-588)4116522-6 gnd rswk-swf Smartphone (DE-588)4845922-7 gnd rswk-swf Smartphone (DE-588)4845922-7 s Softwareentwicklung (DE-588)4116522-6 s DE-604 Graupera, Vidal Verfasser aut Lundrigan, Lee Verfasser aut Erscheint auch als Online-Ausgabe 978-1-4302-2869-1 Digitalisierung UB Bamberg application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=022531731&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Allen, Sarah Graupera, Vidal Lundrigan, Lee Pro Smartphone cross-platform development iPhone, BlackBerry, Windows Mobile, and Android development and distribution ; Softwareentwicklung (DE-588)4116522-6 gnd Smartphone (DE-588)4845922-7 gnd |
subject_GND | (DE-588)4116522-6 (DE-588)4845922-7 |
title | Pro Smartphone cross-platform development iPhone, BlackBerry, Windows Mobile, and Android development and distribution ; |
title_auth | Pro Smartphone cross-platform development iPhone, BlackBerry, Windows Mobile, and Android development and distribution ; |
title_exact_search | Pro Smartphone cross-platform development iPhone, BlackBerry, Windows Mobile, and Android development and distribution ; |
title_full | Pro Smartphone cross-platform development iPhone, BlackBerry, Windows Mobile, and Android development and distribution ; Sarah Allen ; Vidal Graupera ; Lee Lundrigan |
title_fullStr | Pro Smartphone cross-platform development iPhone, BlackBerry, Windows Mobile, and Android development and distribution ; Sarah Allen ; Vidal Graupera ; Lee Lundrigan |
title_full_unstemmed | Pro Smartphone cross-platform development iPhone, BlackBerry, Windows Mobile, and Android development and distribution ; Sarah Allen ; Vidal Graupera ; Lee Lundrigan |
title_short | Pro Smartphone cross-platform development |
title_sort | pro smartphone cross platform development iphone blackberry windows mobile and android development and distribution |
title_sub | iPhone, BlackBerry, Windows Mobile, and Android development and distribution ; |
topic | Softwareentwicklung (DE-588)4116522-6 gnd Smartphone (DE-588)4845922-7 gnd |
topic_facet | Softwareentwicklung Smartphone |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=022531731&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT allensarah prosmartphonecrossplatformdevelopmentiphoneblackberrywindowsmobileandandroiddevelopmentanddistribution AT grauperavidal prosmartphonecrossplatformdevelopmentiphoneblackberrywindowsmobileandandroiddevelopmentanddistribution AT lundriganlee prosmartphonecrossplatformdevelopmentiphoneblackberrywindowsmobileandandroiddevelopmentanddistribution |