Write an Android application for Location Services
- Status: Closed
- Prize: $22
- Entries Received: 4
Contest Brief
What I want:
I want an android app to be developed which works based on a service. The mobile app should getlocation (latitude and longitude and distance (using Haversine formula) ) in the background and interact with the UI. The app should be able to manage the location retrieving. For example it has to get location every 5 sec when UI is in the background and every 2 sec when in the UI is on the foreground, the amount of minimum location change should be adjustable and all of these features should be adjustable using a variable on the top of the class or the activity. “OnLocationchanged“ event can be a good solution and is expected to be used for optimizing the code. Also while the service is running (app is working) an icon should be shown in the notification bar and in the notification center which shows the app is working.
UI:
The UI shouldn’t be so complicated just a text box and one button. The textbox shows the retrieved locations. By pushing the button the app should start working and by pressing it again it should stop working.
App Structure:
There are so many ways to write a code with exactly the same operation however in this project you are encouraged to use main activity as less as possible and use classes, services and other activities which are easily usable with any costume app.
Location quality:
The location quality should be adjustable using some criterions to control the accuracy and power consumption. (It should be done in addition to the adjustable timing mentioned in the first part) In default the app should be run in the most accurate mode (Using GPS is preferred). All of the possible criterions of Google API should be adjustable in the code.
App quality:
The app should comply with Google core app quality mentioned in the link below.
http://developer.android.com/distribute/essentials/quality/core.html
Over View:
• Service based mobile app (works in the background too)
• Gives latitude, longitude and distance(using Haversine formula)
• Can detect if the UI is in the foreground or background and adjusts the location reading frequency in these two conditions.
• All of the variables should be adjustable at the top of the activities, classes or services
• While the service is running and the app is working a notification should be shown in the notification bar.
• UI shows the retrieved locations and traveled distances and the process should be controlled using a single button.
• Location quality and power consumption should be controllable using “Criteria”s of google API and should be adjustable at the top of the class by some variables.
• The code should be written in independent activities and classes and has as less dependency as possible on the main activity.
Recommended Skills
Public Clarification Board
How to get started with contests
-
Post Your Contest Quick and easy
-
Get Tons of Entries From around the world
-
Award the best entry Download the files - Easy!