Recently Google Updated their SDK to Version 9 and along with it came some other changes. One such change is the movement of the USB Driver installation location. New USB Driver Install Location On page 50, on Figure 2-25 of the Android Application Development For Dummies book I reference the USB driver to be inside of the Available Packages area of the Android SDK and AVD Manager. Unfortunately this has changed in the most recent version. The USB Driver is now located under Third Party Add-ons under Available Packages in the SDK and AVD Manager, as shown below. Select this item to install...
Read more...
5
Posted on: January 11, 2011
By Donn in Mobile
If you have a copy of my Android Application Development for Dummies book, then you might run into an issue with a recent update to the SDK. The recent SDK, moves the adb executable (Android Debug Bridge) and Eclipse will need to be updated in order to reflect the proper placement of the new ADT for Eclipse (which tells Eclipse where to find the adb executable).You might see this window (below) that says “Could not find /<path>/<to>/<android>/adb! Please check the Android Plugin’s preferences.” To eliminate this problem, do the following. You will need to...
Read more...
In my Android Application Development for Dummies book, I cover working with list views. The example I provided works excellent and you can follow along in the book to implement the given example. This post is about how you can improve the performance of the ListView and its items. When rendering a list view in the book, I override the getView method on the ListActivity. At that point I inflate the view from the resources. The code snippet looks like this: view = mInflater.inflate(R.layout.row, parent, false); This happens each time a view is created on the list view. Unforatunately, this...
Read more...