This repository has been archived by the owner on Mar 4, 2019. It is now read-only.
Added ability to menu to copy current location to the clipboard. #123
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In reference to issue #95 I have added the ability to copy the current location to your clipboard, which can be pasted into any other application.
A few notes:
I used the text views to pull the data for the clipboard because if you do not have a position, then you will get - - instead of an error or nothing. And it will copy the location in the method specified in settings menu. If you choose MGRS, Decimal, Dec min, DDMMSS, it still copies as you set in your settings preferences.
I have tested this on a Samsung Galaxy S4, Android 7.1.2, using MGRS, Decimal, Decimal Minutes, and Decimal Minutes Seconds. All copied without error. I also tested if you have no location, still copies to clipboard without error, just as " - - ".