Categories
Android Java

Android; how to actually put your applications APK onto a device

OK, so you’ve been developing your “hello world” application in Eclipse for a little while, and now want to actually test it out on a device. The first thing you need to do is to create your APK file, this is the bundled application file and gets installed similar to how an EXE file would […]

Categories
Android Java

Android; Querying data from your phone book; names, addresses, postcodes, emails etc

One of the more useful features of Android is the ability to obtain data from elements of Android itself, such as the phone book. Your application may require data from your phone itself, such as your contacts, and more specific items such as all your contacts email addresses, or postcodes. In this post I will […]

Categories
Android Java

Android; Using intents to refresh tab content

As part of my MeCercana application, I needed to refresh data in some form. My application has 3 tabs, one of the tabs displays contacts from the contacts book, this works great if you switch the phone off after adding a new contact, but that isn’t ideal. What I needed, was a way to refresh, […]

Categories
Android Java

Android; Implementing global state; share data between Activities and across your application

If your developing an Android application, chances are you will have multiple activities that perform various tasks. One of my first questions when I was investigating Android, was how can I pass data between my Activities? Moreover, how can I retain some form of state, globally throughout my application, so I can dynamically pass data […]

Categories
Android Java

Converting UK Postcodes to co ordinates to use in Android

If your developing applications on Android, and are looking at using the Maps API, chances are you are going to want to plot items on the map, and in order to do that you need to know the longtitude and latitude of the location you wish to mark. I’ll assume that you already have a […]