Migrating to Android for iOS Developers - Sean Liao.pdf
(
14164 KB
)
Pobierz
Android iOS
Sean Liao
Migrating to
for
Developers
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
Contents at a Glance
About the Author .................................................................................................................xi
About the Technical Reviewer ...........................................................................................xiii
Acknowledgments ..............................................................................................................
xv
Introduction ......................................................................................................................
xvii
Part 1: Prepare Your Tools ............................................................................
1
Chapter 1: Setting Up the Development Environment .......................................................3
Chapter 2: Android Programming Basics ........................................................................27
Part 2: Come Sail Away: A Roadmap for Porting ........................................
59
Chapter 3: Structure Your App .........................................................................................61
Chapter 4: Implement Piece by Piece ............................................................................173
Part 3: One Step Further ...........................................................................
285
Chapter 5: More About Android Application Components .............................................287
Chapter 6: Android Application Resources ....................................................................315
Chapter 7: Common Mobile Use Cases ..........................................................................337
Chapter 8: Pulling It All Together...................................................................................427
iii
iv
Contents at a Glance
Part 4: Final: The Beginning of Disparity ..................................................
489
Appendix A: The Official Android Developers Site .........................................................491
Index .................................................................................................................................503
Introduction
In 2000, I started my first PalmOS mobile app for an inventory-tracking project. The initial project
was a full-staffed team effort that consisted of mobile developers, SAP consultants, supply-chain
SME, J2EE middleware developers, QA testers, solution architects, business sponsors, and so forth.
JavaME came up strong in 2002, followed by Pocket/Windows Mobile. I did several mobile projects
converting the mobile apps to the PocketPC platform by blindly translating JavaME mobile code to
C# .NETCF mobile code. The “translation” efforts prolonged the whole product life cycle. The project
achieved higher ROI as the product life extended, because the extra cost of translating mobile code
was surprisingly low. Ever since then, I have been translating front-end mobile apps among JavaME,
BlackBerry, and Windows Mobile platforms.
In 2009, by repeating the same porting process, I created my first simple iOS app by translating a
Windows mobile app. That started my iOS programming journey and which eventually led me to
becoming a fulltime iOS developer. It was a no-brainer for me to try porting to Android later.
When you have the whole solution completed for your iOS app, all the issues have been verified and
the other deliverables and project artifacts are already reusable. Knowing the Android market share,
I always clone my iOS apps to Android. The return on investment (ROI) immediately gets improved
because the level of efforts for the Android porting proves to be only a fraction of the entire project’s
effort—again and again. It would be just a waste to not do it.
The primary objective of this book is to help experienced iOS developers leap into native Android mobile
development. It is easier than you think, and this book will make it even easier with iOS analogies
(and mapping guidelines) so you can immediately translate common mobile use cases to Android.
Who Is This Book For?
This book is specifically written for iOS developers who want to take advantage of their mobile
knowledge and make the mobile applications available on the Android mobile platform. The book will
show you that you already have the fundamentals for the Android platform. Let me show you that you
are very close to becoming an Android developer. Let me show you the common programming subjects
and frameworks using your familiar iOS vocabulary so that you immediately understand, without
lengthy explanations, because you already know the mobile subjects from being an iOS developer.
xvii
Plik z chomika:
jonedave3
Inne pliki z tego folderu:
M.Wooldridge, L.Wooldridge - Teach Yourself Visually HTML and CSS - 2008.pdf
(92435 KB)
M Hoogendoorn & B Funk - Machine Learning for the Quantified Self.pdf
(11215 KB)
M Is for (Data) Monkey - Ken Puls.epub
(10058 KB)
M Rollins - The UBTECH Jimu Robots Builder's Guide.pdf
(10784 KB)
M. Chirimuuta - Outside Color.pdf
(19180 KB)
Inne foldery tego chomika:
@other-lang
@packed
0
1
2-1
Zgłoś jeśli
naruszono regulamin