rpi-mobile/RPIMobile-Android — pull request #7 by pdpiech (2014-03-14 22:44:07+00:00)
Title: Tweak ListView for MapFragment, fix various bugs

MainActivity:
- Add check for YouTube being installed before opening "Videos"
- Add Google Play Services check; display message if not installed

MapFragment:
- Consistent row height in ListView
- Migrate to using ArrayAdapter instead of BaseAdapter
- Remove need to extend BaseAdapter class; auto-handling; less code
- Fix bug where returning to ListView from GoogleMap duplicated list
- Move database parsing code into separate method; use new database file
- Add check for Google Play Services; prevent app crash if not installed

map_fragment.xml:
- edit in order to work with ArrayAdapter auto-handling

map_list_item.xml:
- edit in order to work with ArrayAdapter auto-handling

ViewMapFragment:
- Implement onDeleteView method to prevent duplicate IDs error
- Move logic over from MapListAdapter class
- Remove debugging code

MapLocation:
- Implement toString method required for ArrayAdapter to function
properly

MapListAdapter:
- Entirely comment out; no longer needed by MapFragment
- Code may be useful for implementation of TV Guide feature

AthleticsFragment:
- Close RSS reader variable after use; fix resource leak warning

WeatherFragment:
- Comment out unused variables and removed unused imports
- Variables will prove useful for adding graphics back later

strings.xml:
- Change app name: "RPI Mobile" (with a space)
- Remove unused values

content.db:
- change name from "map_locations.db"
- Now contains new table for future TV Guide implementation with sample
entry