Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 556 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
556
Dung lượng
21,95 MB
Nội dung
[...].. .McClure < /b> ffirs.indd V1 - 01/23/2012 ACKNOWLEDGMENTS I’VE ALWAYS LOVED MOBILE DEVELOPMENT After years of working with < /b> Wrox, we were able to create content based on MonoTouch, which is the elder sibling of Mono < /b> for Android < /b> After more twists and < /b> turns, Mono < /b> for Android < /b> is now out and < /b> available I’d like to thank the Mono < /b> for Android < /b> team for staying the course and < /b> creating a great product; Bob Elliott,... Studio plugin and < /b> MonoDevelop, and < /b> the basics of presenting data to a user with < /b> screen and < /b> data controls and < /b> how to develop a user interface for Android < /b> When you are comfortable with < /b> these concepts, you probably can move from one chapter to another without necessarily reading them sequentially WHAT THIS BOOK COVERS This book covers NET/C# development with < /b> Mono < /b> for Android < /b> Mono < /b> for Android < /b> allows a developer... FOREWORD Mono < /b> for Android < /b> is a blend of two fascinating and < /b> incredibly enjoyable worlds: the C# language and < /b> the Android < /b> operating system We designed Mono < /b> for Android < /b> to bring those two universes together, and < /b> we did this by tapping into years of experience designing and < /b> implementing languages, APIs, and < /b> bindings Our passion for the Android < /b> OS is very simple to explain: Like everyone else we were smitten by... Visual Studio Development with < /b> Mono < /b> for Android < /b> General Setup Building Hello Android < /b> Logging Debugging Testing Deploying Mono < /b> for Android < /b> Development with < /b> MonoDevelop General Setup Building Hello Android < /b> Logging Debugging Testing Deploying Summary CHAPTER 3: UNDERSTANDING ANDROID/< /b> MONO < /b> FOR ANDROID < /b> APPLICATIONS What Is an Android < /b> Application? The Building Blocks of an Android < /b> Application Activities Services... the main Wrox code download page at www.wrox.com/dynamic/books/download.aspx to see the code available for this book and < /b> all other Wrox books Again, please note we’ve tried to target Android < /b> 2.3 as our base platform for the code you will download, but we’ve made sure the code runs in Android < /b> 4.0 as well Also, if you have problems with < /b> the code that you can’t explain, doing a Clean and < /b> Full Rebuild of... Mono < /b> for Android < /b> and < /b> MonoTouch, and < /b> on making those the best products available for development on mobile with < /b> Android < /b> and < /b> iPhone Throughout all of this, the Mono < /b> framework has grown to run across various platforms Initially, Mono < /b> was designed to run on Linux Since that time, Mono < /b> has branched out and < /b> is available across several non-Windows platforms In the summer of 2009, the MonoTouch framework was... Figure 1-2 NET Developers Mono < /b> for Android < /b> Android FIGURE 1-2 How does Mono < /b> for Android < /b> accomplish this? Does it somehow allow Windows Forms applications to be translated or recompiled and < /b> deployed on Android?< /b> Mono < /b> for Android < /b> provides a NET layer over the native programming < /b> layer present on the Android < /b> OS Developers targeting Dalvik would write applications in Java Mono < /b> for Android < /b> does not provide... Standards What Is Mono < /b> for Android?< /b> Why Do I Need Mono < /b> for Android?< /b> Familiar Development Environment Familiar API and < /b> Library Structure What Are the Trade-Offs of Working with < /b> Mono < /b> for Android?< /b> Waiting for Improvements Taking a Potential Performance Hit Memory Management What Do I Need for the Mono < /b> for Android < /b> Development Environment? Java SDK Android < /b> SDK Visual Studio Visual Studio Development with < /b> Mono.< /b> .. CODE BETWEEN MONO < /b> FOR ANDROID,< /b> MONOTOUCH, AND < /b> WINDOWS PHONE 7 Overview of the Three Platforms Mono < /b> for Android < /b> MonoTouch Windows Phone 7 Using Class Libraries to Separate the Code Using Preprocessor Directives Mono < /b> for Android < /b> Windows Phone 7 MonoTouch Assemblies Available on Each Platform One Class Library to Rule Them All Mono < /b> for Android < /b> MonoTouch Windows Phone 7 415 417 417 418 418 419 420 420... support, and < /b> my wonderful wife, Jennifer, for her understanding and < /b> encouragement of all my crazy endeavors and < /b> the countless hours she’s allowed me to obsess over technology! —Jonathan Dick A huge thanks to all the Wrox team for letting me contribute to the book, the Mono < /b> team for creating an awesome product with < /b> Mono < /b> for Android,< /b> and < /b> to the whole MonoTouch and < /b> Mono < /b> for Android < /b> community for being amazing! . of working with Wrox, we were able to cre- ate content based on MonoTouch, which is the elder sibling of Mono for Android. After more twists and turns, Mono for Android is now out and available 7 Design Issues 7 Android 8 History of Android 8 Writing Web-Based Applications for Android 9 Writing Native Applications for Android 9 Android Development Issues 9 Android SDK Tools 10 Android Development. AJAX, and Mobile Devices with Mono. He has authored two books on iPhone programming with MonoTouch and one book on Mono for Android. He specializes in mobile applications, application scalability,