Category: Intermediate

  • [TUT] Animate Removing From a Custom Adapter (ListView)

    Hi guys, this is a Tutorial Request to show how to control your own animations from a custom adapter. The question was a bit vague so I’ve taken it and will show you how to animate a view when you are removing an item from a ListView. Of course ListView is backed by an Adapter,…

  • [TUT] Backup & Restore SharedPreferences to the cloud

    This tutorial will show you how you can backup and restore your users sharedpreferences into the cloud. This allows for your app to remember it’s settings in between device installs. This is based on the reference from Google here. In this example we have a simple activity that takes user input and displays it on…

  • [TUT] Using Annotations for Android XML onClick visibility

    In this tutorial I’ll show you how to create a basic Annotation. The idea being you can use this to highlight the entry points into your code. (These entry points coming from XML onClick declarations in your layout files). I did this originally for myself, I was finding it hard when looking through my Activity…

  • [TUT] HTML in an Email Intent

    Recently I’ve had to write an Android Application that can send some of its data via email. It’s easy to send the data but I wanted to style the email using CSS. After trying every possible scenario here’s my results. You can add < b >, < i > and other small styling tags but…

  • [TUT] Change alias passwords of your Android Keystore

    I recently gave one of my applications to another developer to work on. They where to upload updates to Google Play and therefore needed the keystore to sign the application. Now me being naive to start with my keystore had an alias that was specific to me and not the app, it also had a…

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

    Hi guys, this is a Tutorial Request to show a list of videos that a user has uploaded to their youtube channel using atom XML. 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…

  • [TUT] SplashScreen with Progress Bar

    Recently had a request for a splash screen that can be used to inform the user that you are downloading some resources that are needed for your app to load. When your app first starts you might want to download a database from the internet, unzip some compressed files in your assets directory or do…

  • [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] 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] 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…

  • Add source code links to Android APIs

    So I’ve just been taking it for granted that I can see the source code for the Android SDK by clicking ‘view source’ on the Android developer site. see below: Today I was using someone else’s machine and was completely confused when I couldn’t see that link. I was wondering, was it because I was…

  • [TUT] Rounded Corners Map View

    This tutorial is pretty self explanatory. Basically a nicer looking map view that has rounded corners. This is a custom view that draws a map view then draws rounded corners over the top. This works if your mapview goes to the edge of the screen I’ll be writing an update for MapViews that sit in…