Showing posts with label mobile. Show all posts
Showing posts with label mobile. Show all posts

Monday, January 4, 2010

Creating An Android App 1 : Introduction

OK, here it goes.  I'm going to qualify this as being my first attempt at Blogging consistently.  Certainly this is my first attempt at blogging about a project, so bear with me OK?

I want to use Android to play around with location based services.  Why?  Because its pretty new and I see lots of opportunities to leverage computers in peoples pockets, that's why.  So my next few posts will be detailing the building of a simple app I'm calling, MyFriends.

This is an app that will track my location and send it to a server.  It will also send the location of all my friends to the same server, and share the location data between devices.  Initially, all the app will do is display my location on a Google map along with the locations of my friends, if they are in the maps viewable area.

This app is pretty simple, and I've seen some similar apps on the app store, but I'm doing this as an exercise to get familiar with Android.  And who knows, maybe, just maybe, this will turn into a usable app.

Things my app will need to do:

  • Get my location data
  • Send the data to a server via HTTP(S)
  • Get my friends data from the server via HTTP(S)
  • Create a Google Map view and Overlays to show the locations of me and my friends.
So, I've defined an app and the general scope of the first revision.

Next - Installation of the development tools.

Sunday, January 3, 2010

Android Development – So Easy, Yet Not So Easy

I have recently started playing around with Android. Given the success of the Droid, Droid Eris, and what looks like a phone from Google, the NexusOne, I figure the Android is going to be either the number one or number 2 development platform for mobile devices. In either case, I want to be able to write apps for my Droid, which, I love.

So this week I have attempted to start development. I have read through the online documentation, which, in typical Google fashion, is fairly complete and detailed. The Android Developer Guide includes step by step instructions for installation of the SDK, Eclipse Plugin, and samples to get you programming quickly.

Of course, nothing is perfect. So here are a couple of issues with the tools.


  • It appears that sometimes changed resources don’t get updated when the emulator is re-launched. Even though I’ve set the flag to Wipe User Data.
  • I can get one version of the Google Maps sample to run correctly but not another. It seems that the Sample Tutorial on the Web site doesn’t work for 2.0 or 2.0.1 emulators on my machine, but the sample bundled with the toolkits do. To be honest, it appears that the only difference is WHERE the MapView is instantiated, but I am still a noob at this, so I am probably mistaken

Is this going to be enough to cause me to give up? Heck no. Even though these two items are frustrating, the toolkit is still well put together and I expect to be building apps in no time. My next posts will detail the building of an app.