ADC, Android Development Course, is a series of Android development classes taught by Evan Liu (hmisty) in Beihang University Software College, Beijing, China.
ADC My Journey
ADC My Journey is the 8th homework of the ADC. The source code here is a partially finished Android application. The goal for the students is to complete the application as required.
There are six requirements of the homework:
Remove the functionality to move the map when lean the phone
Implement a new feature to refresh location when shake the phone
When shake the phone, please re-centralize the map screen to your current location.
Implement a new feature to view the pictures
Like playing video, please allow the user to view the captured pictures when click the flag.
Fix the issue of flag overlapping
If you flag a place more than once, there will be more than one flags. But you can only click on one flag. Please fix the issue by showing a dialog for the user to choose which flag he wants to choose if more than one flags are overlapping in the same place.
Implement the lines between flags
Learn the LocationManager and keep monitoring the movement. Flag automatically when the user walks beyond every certain distance. And draw lines to link the flags to get a visualized footprint.
- Source codes
Fork, complete, commit, push and send me a pull request at hmisty/adc_myjourney.
The MIT License
Copyright (c) 2012 Evan (Qingyan) Liu
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.