09
Nov
image

I was browsing the Android commit tree, as I like to do at 3:20am sometimes, and I just saw a new commit by Tor Norbye with the following description that made my heart skip a beat: "Add autoformatting of XML." This little update may not mean much to the regular folks, but to Android developers, like myself, this has been a long requested feature.

About a year ago, I wrote this article: Auto Formatting Android XML Files With Eclipse, which described how easy it is to achieve uniform, formatted XML files in Eclipse while doing Android development.

21
Oct
snap20101021_103714_wm

This article is aimed at rooted Android users using ROM Manager - if you are one of them, you should definitely consider looking into it; otherwise move right along, as this info will not apply to you. To see what ROM Manager can do for you, check out our guides here:

When was the last time you did a Nandroid backup?

07
Oct
image

Over at the bustling hivemind of xda-developers, poster Carsten4207 has just published his first app to the Market, and it's one with a neat little trick. The app, when enabled, uses the proximity sensor to determine whether your phone is in your pocket/face-down or facing up on a surface. You can then decide whether or not you want your phone to vibrate for incoming SMS messages depending on the situation.

15
Sep
image

Admit it - QR codes are useful. And cool. They allow you to instantly get any bit of information, most frequently browser or Market urls, onto your phone - all you have to do is download the Barcode Scanner app from the Market (or any other QR reader) and scan the QR image.

15
Sep
image

One of the more obvious settings missing from Android is the ability to use one keyboard, say Swype, in portrait orientation, and then automatically switch to another keyboard when the phone is in landscape.

This feature has been oft-requested, and is something that is strangely missing from many mobile OSes. Well, the clever clogs over at the XDA-Developers Nexus One forum have managed to figure it out with a little workaround.

27
Aug
profilelistall
Last Updated: July 24th, 2011

Have you ever wished your phone would just automatically silence itself while you're at work? Or maybe that it would immediately start Pandora when you plug in your headphones? Wish no longer: Tasker's got you covered.

This contest is now over. We have selected the winners - see if you are one of them towards the bottom of the page.

Tasker's goal is to automate (you guessed it) tasks on your Android device.

04
Nov
image
Last Updated: April 16th, 2010

This post and all its comments were migrated from Artem's personal blog beerpla.net when Android Police launched. If you would like to visit the original post there, please click here.

In this article I will describe the problem I've had with Eclipse's handling of XML file formatting as well as the best way to fix it.

I use Eclipse to do my Android development for a few reasons:

  • it's the only IDE fully supported by the Android dev team
  • it has a visual Layout/Resources builder that transforms XML files into corresponding visual representations
  • it's free and open source
  • I've been using Eclipse for many years and am very familiar with it

In order to use the visual features in Eclipse when developing for Android, you need to install the ADT plugin provided by Google

The Problem

However, one thing about Eclipse Android development has bothered me for a while - and that is XML formatting by the visual tools.

Page 2 of 212