17.07.2015 Views

OCTranspoLive: A live OCTranspo GPS bus location application for ...

OCTranspoLive: A live OCTranspo GPS bus location application for ...

OCTranspoLive: A live OCTranspo GPS bus location application for ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

system by utilizing the Java programming language. For this project Android SDKAPI level 14 was used. The ADT (Android Development Tools) plugin along withEclipse provides all the tools needed to start programming <strong>for</strong> Android[1]. The SDKallows the user to setup virtual devices using the Virtual Devices Manager.Thisdevice emulation is useful <strong>for</strong> testing dierent API levels but is very slow. As such, Ideveloped mostly using a hardware device attached via USB.Also provided by Google is their close-source Google Apps <strong>for</strong> Android. Installingthese with the SDK manager allowed me to use the Google Maps library. An Android<strong>application</strong> is made up of one or more Activities. Android Activities have the lifecycledetailed in Figure 1. For this project background threads were utilized <strong>for</strong> networkoperations such as HTTP requests and this meant thread management had to be keptin mind during all the states of the Activity lifecycle to avoid having resources usedwhen not needed.8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!