Showing posts with label ANDROID. Show all posts
Showing posts with label ANDROID. Show all posts

Tuesday, March 20, 2012

Android and Arduino: Take the Physical World Mobile With the Mega ADK

Android and Arduino: Take the Physical World Mobile With the Mega ADK Review



Getting Started with the Arduino Mega ADK is a thorough overview of what is capable with the official Arduino ADK board. It starts with a very brief explanation of what Arduino and Android are in case the reader is picking this subject up for the first time. Once the reader has a solid grasp of what they'll be working with, the book gives a short overview of all the features included in the Arduino board such as: the purpose of specialized pins (such as analog and digital Input/Output).

After the hardware overview, the reader will learn how to prepare their computer to program hardware with the Arduino IDE, Eclipse (or the Android programming IDE of their choice), and installing the SDK to get access to Google's libraries. Finally the reader will build two or three simple projects to experience how Android and Arduino can talk to each other ver the Arduino Mega ADK's USB Host interface. The book finishes with the reader learning how to access the remaining sensors and features (GPS, Wifi, Bluetooth, NFC, and etc.). When they're done, readers will be able to produce their own polished works of technical art.


Thursday, December 15, 2011

Android Wireless Application Development (2nd Edition) (Developer's Library)

Android Wireless Application Development (2nd Edition) (Developer's Library) Review



The start-to-finish guide to Android application development: massively updated for the newest SDKs and developer techniques!

 

This book delivers all the up-to-date information, tested code, and best practices you need to create and market successful mobile apps with the latest versions of Android. Drawing on their extensive experience with mobile and wireless development, Lauren Darcey and Shane Conder cover every step: concept, design, coding, testing, packaging, and delivery. The authors introduce the Android platform, explain the principles of effective Android application design, and present today’s best practices for crafting effective user interfaces. Next, they offer detailed coverage of each key Android API, including data storage, networking, telephony, location-based services, multimedia, 3D graphics, and hardware.

 

Every chapter of this edition has been updated for the newest Android SDKs, tools, utilities, and hardware. All sample code has been overhauled and tested on leading devices from multiple companies, including HTC, Motorola, and ARCHOS. Many new examples have been added, including complete new applications. This new edition also adds

 

  • Nine new chapters covering web APIs, the Android NDK, extending application reach, managing users, data synchronization, backups, advanced user input, and more
  • Greatly expanded coverage of Android manifest files, content providers, app design, and testing
  • New coverage of hot topics like Bluetooth, gestures, voice recognition, App Widgets, live folders, live wallpapers, and global search
  • Updated 3D graphics programming coverage reflecting OpenGL ES 2.0
  • An all-new chapter on tackling cross-device compatibility issues, from designing for the smallest phones to the big new tablets hitting the market
  • Even more tips and tricks to help you design, develop, and test applications for different devices
  • A new appendix full of Eclipse tips and tricks

 

This book is an indispensable resource for every member of the Android development team: software developers with all levels of mobile experience, team leaders and project managers, testers and QA specialists, software architects, and even marketers.


Saturday, August 27, 2011

Arduino + Android Projects for the Evil Genius: Control Arduino with Your Smartphone or Tablet

Arduino + Android Projects for the Evil Genius: Control Arduino with Your Smartphone or Tablet Review



Discover how to create cool Arduino devices that “talk” to Android smartphones and tablets!

Arduino + Android Projects for the Evil Genius brings two popular open-source technologies together with a series of hands-on projects that marry the worlds of touch-screen devices and physical computing. The book covers the Android Open Application Development Kit and USB interface, showing you how to use it with the basic Arduino platform. Other projects demonstrate methods of communication between Android and Arduino—including sound, Bluetooth, and WiFi/Ethernet—that don’t require the ADK at all.

From fun, inventive projects such as building a Geiger counter or Bluetooth-controlled Arduino robot, to practical home automation projects, the book contains something for everyone. Included is a beginner’s guide to programming the Arduino that will help those who are new to the platform start with a firm foundation.

Arduino + Android Projects for the Evil Genius

  • Demonstrates how to use the Android Open Accessory Development Kit (ADK) with the basic Arduino platform
  • Features self-contained projects that include an clear explanation of the theory as well as practical, step-by-step instructions thoroughly illustrated with drawings and photographs
  • Shows how to use Ethernet, Bluetooth, and short-range RF links to talk to Arduino
  • Reveals the author's own never-before-seen sound-based link for making the two devices communicate with audio tones
  • Provides the fundamental knowledge you need to create your own projects
  • Contains techniques that work with ANY Android device
  • Explains how to create practical, useful home automation devices and communicate with them by radio or Internet

Everything for the Evil Genius!
Bluetooth-Controlled Robot; Geiger Counter Using ADK; Light Show Using ADK; TV Remote Using ADK; Temperature Logger Using ADK; Home Automation Controller; Controlling Mains Devices; Smart Home Thermostat; RFID Door Lock; Power Consumption Meter; Delay Timer; Programming Primer

Each fun, inexpensive, and slightly wicked Evil Genius project includes a detailed list of materials, sources for parts, schematics, and lots of clear, well-illustrated instructions for easy assembly. The larger workbook-style layout and convenient two-column format make following the step-by-step instructions a breeze.


Wednesday, August 10, 2011

App Inventor for Android: Build Your Own Apps - No Experience Required!

App Inventor for Android: Build Your Own Apps - No Experience Required! Review



Create Android mobile apps, no programming required!

Even with limited programming experience, you can easily learn to create apps for the Android platform with this complete guide to App Inventor for Android. App Inventor for Android is a visual language that relies on simple programming blocks that users can drag and drop to create apps. This handy book gives you a series of fully worked-out apps, complete with their programming blocks, which you can customize for your own use or use as a starting point for creating the next killer app. And it's all without writing a single line of code. Don't miss the book's special section on Apps Inventor Design Patterns, which explains computer terms in simple terms and is an invaluable basic reference.

  • Teaches programmers and non-programmers alike how to use App Inventor for Android to create Android apps
  • Provides a series of fully worked-out apps that you can customize, download, and use on your Android phone or use as a starting point for building the next great app
  • Includes a valuable reference section on App Inventor Design Patterns and general computer science concepts
  • Shows you how to create apps that take advantage of the Android smartphone?s handy features, such as GPS, messaging, contacts, and more

With App Inventor for Android and this complete guide, you'll soon be creating apps that incorporate all of the Android smartphone's fun features, such as the accelerometer, GPS, messaging, and more.


From the Author: Getting Data In and Out of App Inventor Apps

In today’s mobile world, applications are expected to not only provide functionality locally but also have up to date content and external awareness.

"How do I get all this data into App Inventor?" is one of the most frequently asked questions by new developers. Initially getting rows and columns of data into App Inventor was a kind of linear equation. You used the TinyWebDB or you turned to some of the third party hacks that are available.

The TinyWebDB component is still a possibility for volatile data that needs to be pulled from the internet and placed into App Inventor. It has the added benefit of being quick and allowing write to the web database. For getting rows and columns of data into App Inventor the algorithm would follow these steps:

1. Pull data from WebService and place in temporary variable.
2. Parse data into psuedo-array
3. Write data to a local TinyDB
This is still an option for getting tabular data into App Inventor. It has the advantage of being fast and stable. It has the disadvantage of needing the TinyWebDB service installed and running on a web server. Setting up and installing the TinyWebDB service can be complex and frustrating. There is the added complexity of needing a separate application to actually pre-populate TinyWebDB with data.

The App Inventor team recently released an update to App Inventor that includes functionality to allow access to the Google Fusion Tables. Google Fusion Tables is an online database solution that allows simple SQL like commands to be sent via HTTP to stored data. There is a nice back-end management solution that allows a user to pre-build and pre-populate data into created tables. All of the data lives in Google’s "cloud" service. The back-end management system will be very familiar to users of Google Docs or other Google cloud products.

The algorithm for getting tabular data into an App Inventor app using Fusion Tables will follow these steps:

1. Create the desired Fusion Table and populate the table with data using the Web backend.
2. The app will be "initialized" by pulling the data from a Fusion Table.
3. The app will store the returned Lists in a local TinyDB
The advantage of Fusion Tables is the ability to easily pre-populate the online data by hand entering or importing a spreadsheet of values. This will allow the developer to maintain the data that all the deployed apps consume. Thereby, fresh content and data could be added to applications by changing the data in the Fusion Table.

The disadvantage of Fusion Tables is the data retrieval method. When the data is pulled from the Fusion Table the application stops while displaying a notification that it is pulling data from a Fusion Table. Which appears a little bit hokey on a professional level application. It is also linear and fairly slow. In other words you will not likely be repeatedly and frequently pulling data from a Fusion table in the same App session. Instead, an application would likely pull data once when the application starts and then only when specifically refreshed.

The options and power that are given to developers with the new Fusion Table has yet to be fully explored and I look forward to some exciting uses of Fusion Tables. (Hint: Someone should use this for a text based MMORPG ... the possibilities are endless. ) The newest version of App Inventor released by the incredible rock stars on the Google App Inventor developer team includes the long awaited Holy Grail. I am, of course, talking about the "WebComponent". Now the web component as it currently exists is a little bit limited and not easy to implement. However, it is REALLY powerful even in its current iteration. It has the power to send HTTP formatted requests to existing web services and web sites and then store and manipulate the returned data. It combines the speed of the TinyWebDB service requests and the flexibility of using existing data like with the Fusion Tables. The web component brings the ability to use HTTP POST and GET commands which are the foundation of most simple web services. The algorithm for using the WebComponent would (or at least could) follow these steps:

1. Establish (or use existing) web service that will respond to GET/POST.
2. Use the WebComponent to send a GET request to the service.
3. Use the Text parsing blocks to parse out the tabular data sent by the web service.
The advantage of using GET/POST commands is the speed with which they can be used inline with programmatic functions in an application. Another advantage is the flexibility of using existing data and or maintaining external data in a database behind your webservice. The WebComponent opens up App Inventor to REAL web service and interactive internet services development.

I am excited about the direction the App Inventor team is taking this awesome product and look forward to an even more mature Rapid Application Development framework.


Tuesday, July 5, 2011

ANDROID A PROGRAMMERS GUIDE

ANDROID A PROGRAMMERS GUIDE Review



Master the Android mobile development platform

Build compelling Java-based mobile applications using the Android SDK and the Eclipse open-source software development platform. Android: A Programmer's Guide shows you, step-by-step, how to download and set up all of the necessary tools, build and tune dynamic Android programs, and debug your results. Discover how to provide web and chat functions, interact with the phone dialer and GPS devices, and access the latest Google services. You'll also learn how to create custom Content Providers and database-enable your applications using SQLite.

  • Install and configure Java, Eclipse, and Android plugin
  • Create Android projects from the Eclipse UI or command line
  • Integrate web content, images, galleries, and sounds
  • Deploy menus, progress bars, and auto-complete functions
  • Trigger actions using Android Intents, Filters, and Receivers
  • Implement GPS, Google Maps, Google Earth, and GTalk
  • Build interactive SQLite databases, calendars, and notepads
  • Test applications using the Android Emulator and Debug Bridge