For the past few days at work I have had the privilege of porting our application to both the Kindle Fire and Nook platforms. Porting to the Fire was remarkably easy once I found the information I needed. Porting to the Nook was very painful and was not 100% successful. Amazon has done a great [...]
If you’re trying to connect to the Kindle Fire via ADB on Windows follow the simple instructions below:
Download the USB Driver package via the SDK Manager if you haven’t already Open <SDK Folder>/extras/google/usb_driver/android_winusb.inf Add the following to the file under the Google.NTx86 and Google.NTamd64 headings: ;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
So, AdMob decided to disable my publisher account today. No indication as to why nor any notification that it happened until I tried to log in. I’ve reviewed their TOS and there is nothing that I can see that I violated. After reading and researching online it appears there is a very slim chance I [...]
We received an Asus EEE Transformer tablet yesterday at work along with the docking station. My first impression was *this* is the future of tablets. It’s really well done and I could easily see myself using a setup similar to this in my everyday life. The only thing I would miss is an IDE. Hopefully [...]
One of the nice things about Android is that it has a built-in search that your application can take advantage of. It’s very easy to set up, and you can easily add suggestions to it too. In the suggestions you can add an icon just by returning a field called “suggestions_icon_1″ in your Cursor. The [...]
At work, we use Robotium to fulfill our acceptance test requirements. Earlier this week we revamped our search interface to use Android’s built-in search API. This broke our AT run but was easily fixed. I’ll admit, I’m not a big fan of Robotium as there are many many hoops you have to jump through to [...]
For those of you very familiar with the Android API, you will know API level 8 modified showDialog, onCreateDialog, and onPrepareDialog to take an extra Bundle parameter. Adding that parameter provided a lot more flexibility in how you can display a dialog to the user. For instance, in my application I present a list of [...]
Recently, I discovered how to convert an APK file into readable Java source code and XML files. There are three tools you will need: apktool, dex2jar, and jd-gui (or any other java decompiler, JD Gui happens to be the best one I’ve found so far). You can download them from the following URLs:
I’ve been toying around with the Fragment Compatibility API (http://android-developers.blogspot.com/2011/03/fragments-for-all.html) and thought I would share some tips I’ve discovered during the past few hours:
Ensure any of your activities that use the new API extend FragmentActivity. If you are targeting 3.0 you don’t need to do this; extending Activity should suffice. Ensure you are importing [...]
If you’d like to spruce up your UI by adding a drop shadow, it’s fairly straight forward. This trick will only work with rectangular Views. First thing we need to do is create the drop shadow 9-patch graphic:
Open your favorite graphics editor (e.g. Photoshop or GIMP) Create a small image (4 x 4 pixels). [...]
Linking to our articles
We do not mind if you link to any of our articles directly. We do mind if you copy the entire article and post it to your blog under your name as some sites have done. Please do not do this.Search
Android Links

