With web services used everywhere, being able to parse XML is a necessary skill when developing Android apps. Here’s an example for you to modify for your own purposes.
(more…)
Parsing XML in Android
Power saving tips for Android and other smartphones
Charging your smartphone every day is pretty much expect whether you have an iPhone or an Android phone, but how do you make sure your phone stays put for the whole day, particularly if it’s a long busy day away from home/the office?
Disable Wi-Fi: unless you know you want to use Wi-Fi, disable it. In Android, go to Settings –> Wireless & networks –> Wi-Fi checkbox.
Airplane Mode: if you are travelling on a familiar journey and know you are going through zones of bad reception, or if you are in the basement of a building with no reception, or travelling on the underground for example, switch to airplane mode. For Android, press your power button for a few buttons until a menu pops up and choose Airplane Mode option.
Use Airplane Mode instead of Silent Mode: if you are in a meeting and don’t want to be disturbed but would still like your smartphone on to check the time or simply because the noise it makes when you switch it on and off is too awkward in front of the boss, switch to Airplane mode instead of silent mode.
Got any other easy power saving tips? Share in the comments
Use a colors.xml file to create consistent Android layouts
When defining a layout in Android using an xml file, the temptation is often to directly type in the colour, such as #000 for black. However, when developing a complex app, there is high risk of inconsistent colours throughout your app so the best way is to define a colour xml file, called colors.xml and saved in the values folder, and to refer to these colours, and these colours only, in your layout xml files. You may also define drawables that are colours in this file, for when you need a Drawable object of a certain colour, and not a Color object.
(more…)
How to develop an Android app using the accelerometer
Think it’s fun to develop an app using the phone/tablet built in accelerometer? Me too! I’ll share here an example app, using the same technique for the accelerometer as used in my Android game Ants.
(more…)
Celebrating one download a minute of Ants – can we double that?
So last night (UK time), I published a casual game testing your strategy and spatial skills called Ants. This morning, I checked the download stats on Google Android Developers Console and it was almost 700, in about 12 hours, making it roughly one download a minute! No review so far but got one vote – a five star! I wonder if we can get to 2 downloads a minute?
(more…)
Ants – a new casual game for Android
I’ve just published Ants, a casual game for Android using the accelerometer – Giant Ants have invaded your space, will you manage to survive? The game is free so why not check it out? Currently, there are 20 levels and it will take you a while to get through them – trust me, I’ve been playing (I mean, testing…) the game a lot this past week and it ain’t easy (don’t let Level 1 fool you
) so you’ll get quite a lot of fun out of this.
Find Tweets – a new Twitter app for Android with a difference
All Twitter apps I know of out there show tweets as a list… so I asked myself “is there another way to present tweets so users can see what’s what quickly?” The answer is “tag cloud”. So I’ve released a Twitter app for Android with this in mind. It does the usual stuff you would expect – yes, it does show tweets as a list if you want to – and it also shows a tag cloud so users can instantly see what their friends are tweeting about, or indeed what any specific user is tweeting about.
(more…)
Using ViewFlipper to make custom Android tabs
Frustrated with the relatively lack of flexibility of Android TabActivity layouts? Try ViewFlipper!
(more…)
Android Developer Conference, March 7-9, San Francisco
So the first Android Developer Conference, called AnDevCon has been announced and it’s taking place in San Francisco in early March.
(more…)
Android Game promotion
A special Winter Sale on Sudoku Way – the Tetris meet Sudoku game for Android, reduced to £0.99 (normal price £1.29) until 17th February! There is a free Lite version so you can try before you buy