This book provides the guidelines and tutorial projects to show you how to translate your existing iOS app to the Android platform. You’ll use your mobile app knowledge to structure your Android apps in a similar way to how you would structure your iOS apps. To implement use cases with detailed screens, the most common mobile topics are discussed, including user interfaces, managing data, and networking with remote services. As you move through the book, you’ll create Android apps with rich UI components to handle common CRUD operations locally and remotely.

There are many Android goodies described in the book. Instead of relying on routine text descriptions, you’ll discover the uniqueness of Android and appreciate the many features that are unique to the platform. This book also explores more powerful mobile UX patterns that are commonly used on the iOS and Android platforms.

When you finish reading Migrating to Android for iOS Developers, you’ll be an Android developer as well as an iOS developer. And, you will be fully convinced you can do everything in Android that you can do in iOS.
What you’ll learn
• How to maximize your existing iOS mobile knowledge to learn Android programming skills
• How to use the Android integrated development environment with the Eclipse ADT plugin
• How to translate your existing iOS code to Android with the following common mobile topics:
° Common mobile screen navigation patterns
° User interface components and UI animations
° Storing data
° Networking and using remote services
° Using system apps
° Maps and location awareness
° Mobile search frameworks
° Mobile analytics

Who this book is for
This book is for iOS app developers—like you—who want to port their native iOS app to become an Android app. Also, if you are not an iOS developer, but already familiar with mobile apps, then this book can also help you understand Android development with step-by-step instructions and tutorial projects.

Beginning Google Glass Development is your number one resource for learning how to develop for Google Glass--the paradigm-shifting mobile computing platform taking the world by storm now and for years to come. Mobile developers have always had to think for the future, and right now that means getting started with Google Glass.

This book is incredibly hands-on with many exciting projects. You will learn the basics of Glass and how to set up your development environment, through to every Glass development topic using Glass Development Kit (GDK):
• Glass User Interface
• Camera and Image Processing
• Video: Basics and Applications
• Voice and Audio
• Network, Bluetooth, and Social
• Locations, Map, and Sensors
• Graphics, Animation, and Games

You will also learn how to develop enterprise and web-based Glass apps using the Mirror API. Each topic is full of examples that illustrate what Glass can truly do and help you quickly start developing your own apps.

Jeff Tang has successfully developed mobile, web, and enterprise apps on many platforms, and cares immensely about user experience. He brings his vast knowledge to this book through cool and practical examples, which will excite and tantalize your creativity.

This book is for any developer who is keen to start developing for Glass with GDK or the Mirror API. Whether you are an Android, iOS, web, or enterprise developer, you do not want to miss the chance that Glass becomes the next big thing. Get started with Beginning Google Glass Development and be inspired today.

Who this book is for
This book is for any developer who is keen to start developing for Glass. You may have worked with iOS apps, Android apps, or both – but you can start developing with Glass today using this book.

PhoneGap allows you to use your existing knowledge of HTML, CSS, and JavaScript to create useful and exciting mobile applications.

This book will present you with 12 exciting projects that will introduce you to the dynamic world of app development in PhoneGap. Starting with their design and following through to their completion, you will develop real-world mobile applications. Each app uses a combination of core PhoneGap technologies, plugins, and various frameworks covering the necessary concepts you can use to create many more great apps for mobile devices.

What you will learn from this book

Explore localization and globalization

Create, save, and retrieve data using persistent device storage

Record audio using a microphone

Capture images and video using a camera

Share content to social media networks

Optimize your app for tablet-sized devices

Locate the user's device using geolocation

Interact with the accelerometer to create a fun arcade game

Use core and third-party plugins to extend PhoneGap

Look at mobile application design patterns

Approach

A practical guide written in a tutorial-style, this book walks you step-by-step through 12 individual projects to create real world apps. Each project moves through design and implementation of the app, and also provides suggestions to enhance it.

Who this book is written for

If you are a mobile developer who is familiar with Phonegap basics and wants to quickly create some cool mobile applications with Phonegap, this book is for you. You should have some experience working with JavaScript, HTML, CSS, and also be able to use your operating system's command-line interface. No experience with Java, C#, or Objective C is required.

It's a simple example of Chat app running on Android devices, both server and clients. One device run AndroidChatServer to wait connection from clients, other devices run AndroidChatClient to connect to the server. Any AndroidChatClient can send message to server, then server broadcast to all clients.

Wednesday, August 13, 2014

This example show how to use Google Charts to display pie chart on Android WebView. Google chart tools are powerful, simple to use, and free. It not only display a static graphic, but also provide user touch interactive operation, check the video on the bottom.

When User click on the "Show Chart" button, it will start another activity, ShowWebChartActivity.java, and pass user data. ShowWebChartActivity load a WebView with our HTML to display Google Charts with Javascript. We have to implement WebAppInterface, with methods of @JavascriptInterface, getNum1()...getNum5(). It will be called by Javascript inside HTML to retrieve user data.