• List of Android Devices with pixel density buckets

    This is my attempt at collating what device runs at what pixel density. I realise there are millions of devices so this list will start small and hopefully I’ll update it often whenever I come across a new device. [code] Model | Android Version | Density Advent Vega | 2.2 | mdpi Amazon Fire TV…

  • [TUT] Switching Android build constants using Ant

    When you want to create two different builds/configurations for your development environment and your live build, it can be really annoying having to change all those constants; or you don’t have them as constants and you’ve got some horrible if else logic in your code. Here I’ll show you how to use Ant to swap…

  • [TUT] Running an Ant script with Eclipse

    In a previous tutorial I explained how to use an Ant script to build and run your projects. However it’s no good knowing how to do that, if you can’t run the Ant script. So here is a simple picture by picture example of running an Ant script with Eclipse. First you need to add…

  • Tyre Pressure Readings in your App – Using Intent Filters

    Have just updated Tyre Pressure Checker to allow other apps to use it’s capabilities. You can now have Tyre Pressure information for UK registered cars within your apps. There are two methods for this you can either ‘hand off’ to Tyre Pressure Checker and that app will ask for a car registration then display the…

  • [TUT] Click item in a ListView to show YouTube Video

    Following on from the popular ‘Show YouTube Feed for a Users Videos in a ListView’ someone requested that when you click on one of the individual videos in the list that it links off to the YouTube video. This in itself this is quite simple, but getting the architecture right and having the data you…

  • Google Analytics – Common Problems and Fixes

    I’ve just been experimenting with my first app using Google Analytics. I set up it all nicely to track each activity that is visited, track when certain buttons are pressed and also what orientation the user is currently using my app in. It all looked fine and dandy on the code side. Next I waited…

  • [TUT] Add Your App to the Android ‘do something’ Menu (using Intent Filters)

    This request is to be able to add your application to the context menus of the android system. When the android system or another application wants to do a specific task, it will broadcast an intent saying “can anyone do this for me“. Here I’ll show you how you can grab this request so your…

  • [TUT] Show YouTube Feed for a Users Videos in a ListView ( JSON )

    Hi guys, this is a Tutorial Request to show a list of videos that a user has uploaded to their youtube channel. YouTube has some great API‘s for using the data from their website and you can retrieve this data in a few formats including XML and JSON. This tutorial will retrieve the data using…

  • [TUT] Set a notification for a user chosen time

    Here we will set a notification to be popped up at a specific time in the future that the user has chosen. We will follow on from the Basic Date Picker Tutorial to use this Date Picker to allow the user to set a reminder. It is a quite interesting scenario and this is just…

  • OutOfMemory error – do you use runnables?

    This is how I fixed my OutOfMemoryError, I don’t claim to be 100% correct and forgive me when I try to explain how, what and why (because I’ll probably just do it wrong) but hopefully me giving my description of this issue will lead you to fixing your own defects. Argh my latest application was…

  • [TUT] Basic Date Picker

    I was just looking on the Android Developer site and the only tutorial they had to show a DatePicker was within a dialog. I didn’t want my datepicker in a dialog, I wanted it embedded into my activity. However I already knew there was a DatePicker XML view that I could use, so I was…

  • [TUT] Preloaded images set as phone wallpaper

    This is the first request that I’ve done! This tutorial will show you how to display some images within your application from the resources folder, you can browse through these images and choose to set one as your phones wallpaper. Tutorial will go like this: Create XML layout to let you browse your images Create…

  • [TUT] Sliding Drawer Activity – Animate an Activity

    This tutorial is to show you how you can have a new activity animated to slide into view just like the Android Sliding Drawer. The tutorial show’s the animation coming in from the left and leaving from the left, but you can easily change this to animate from the left, right, up, down, you can…

  • [TUT] Infinite Scrolling Gallery View

    This is just something I put together when trying to figure out the best way to display my images to the user. One thing I did find out is the Android Gallery View sucks! I won’t be using it again for further projects but it does the job at the moment. The issue with the…