Home > Development > Photo features now functional!

Photo features now functional!

Well, with a lot of hard work I’ve finally managed to get all of the photo-related features I wanted into Excursional.  Specifically, it is now possible to view an image by tapping on its icon in the map view.  Alternatively, the user can also bring up a gallery view of all the photos he/she has taken during the trip by clicking on the “gallery” button on the trip home page.

Before I finished all of that up, I decided it was time to figure out how my app was going to continue to track GPS coordinates when it gets hidden (another app gains focus).  Previous to this research, Excursional consisted of a single Activity – Android’s paradigm for an app with a UI.  However, when an Activity loses focus it is paused by the system – thereby making it impossible to receive GPS coordinate updates.  So I started looking at the Service, and decided it’s right for Excursional.

Services in Android are headless apps that run in the background until explicity told to stop.  Sounds pretty well-suited to listening for GPS updates to me.  So now Excursional consists of an Activity and a Service, and will keep tracking routes even when the UI isn’t visible.

In my next post I’ll be posting some screenshots of the updated UI.  Thanks for reading!

-Allan

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: