Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapViewer, Actionbar fixes, Database Viewer UI & Fallback MCC Location #47

Merged
merged 2 commits into from
Apr 27, 2014
Merged

Conversation

xLaMbChOpSx
Copy link
Contributor

Increased Map Viewer default zoom level as it was too high, this should now provide a better display of the current location.

Invalidated the Actionbar/Menu display whenever the main activity is displayed to ensure the correct icons are displayed for the tracking indication.

Corrected the Signal Strength tracking indicator icon, this one is a good example of why I should not
code whilst drinking bourbon! :)

Tweaked the Database Viewer card display to use a darker colour scheme and gradient on the cards, I think this looks 100x better than the original white crappy display.

Map Viewer will now attempt a 3 step process to determine where to initially display the map:

  1. Last location held in the location tracking database,
  2. Last known location held by the device from either GPS or Network location service
  3. NEW Based on current MCC the Map Viewer will move to the Capital City based on the MCC

The default locations are provided through the default_mcc_locations.csv file which is found in the
app/src/main/assets folder which lists Country, Mcc, Longitude and Latitude. These details are held within a database table and populated whenever the database is upgraded. This detail can also be viewed through the database viewer.

Increased Map Viewer default zoom level as it was too high, this should now provide a better display of the
current location.

Invalidated the Actionbar/Menu display whenever the main activity is displayed to ensure the correct icons
are displayed for the tracking indication.

Corrected the Signal Strength tracking indicator icon, this one is a good example of why I should not
code whilst drinking bourbon! :)

Tweaked the Database Viewer card display to use a darker colour scheme and gradient on the cards, I think
this looks 100x better the original white crappy display.
Map Viewer will now attempt a 3 step process to determine where to initially display the map:
1. Last location held in the location tracking database,
2. Last known location held by the device from either GPS or Network location service
3. **NEW** Based on current MCC the Map Viewer will move to the Capital City based on the MCC

The default locations are provided through the default_mcc_locations.csv file which is found in the
app/src/main/assets folder which lists Country, Mcc, Longitude and Latitude. These details are held within
a database table and populated whenever the database is upgraded. This detail can also be viewed through
the database viewer.
xLaMbChOpSx added a commit that referenced this pull request Apr 27, 2014
MapViewer, Actionbar fixes, Database Viewer UI & Fallback MCC Location
@xLaMbChOpSx xLaMbChOpSx merged commit c11f86b into CellularPrivacy:master Apr 27, 2014
@E3V3A
Copy link
Contributor

E3V3A commented Apr 27, 2014

Very very nice!

SecUpwN pushed a commit that referenced this pull request Jan 2, 2015
MapViewer, Actionbar fixes, Database Viewer UI & Fallback MCC Location
SecUpwN pushed a commit that referenced this pull request Apr 17, 2015
MapViewer, Actionbar fixes, Database Viewer UI & Fallback MCC Location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants