-
Notifications
You must be signed in to change notification settings - Fork 174
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
Update:Android:GUI/Internal: Show contextual GUI menu when receiving geo intent #987
Open
lains
wants to merge
30
commits into
navit-gps:trunk
Choose a base branch
from
lains:geo-coord-show-actions-on-internal-gui
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
65d9d1c
Sample working internal GUI coordinates option menu on QR code scan (…
lains 24196b9
Fixing sanity check
lains 7d11904
Fixing line length
lains 083049f
Fixing renamed function
lains b564028
Making NavitGraphics.getCoordForPoint() static
lains a352997
Disabling overlays before showing coord action menu
lains 100ac78
Merge branch 'trunk' into geo-coord-show-actions-on-internal-gui
lains 30a5445
Updating native prototype following switch to static method
lains cd16a5a
Merge branch 'trunk' into geo-coord-show-actions-on-internal-gui
jkoan 94663d1
Refactoring gui_internal_show_coord_actions()
lains 87e360e
Using overlay disable before running graphics_overlay_disable()
lains 80c01fa
Fixing contextual internal menu display
lains 46259e9
Removing call to graphics_overlay_disable() as this is done by gui_in…
lains 8248a15
Merge branch 'trunk' into geo-coord-show-actions-on-internal-gui
lains 65403f2
Delaying geo: intent processing and adding probe for gui_show_coord_a…
lains 6b48a55
Fixing indentation
lains b52939c
Merge branch 'trunk' into geo-coord-show-actions-on-internal-gui
lains d11f1c5
Merge branch 'trunk' into geo-coord-show-actions-on-internal-gui
lains 1417419
Merge branch 'trunk' into geo-coord-show-actions-on-internal-gui
jkoan cdc2c3e
Merge branch 'trunk' into geo-coord-show-actions-on-internal-gui
jkoan 90e8a56
Merge branch 'trunk' into geo-coord-show-actions-on-internal-gui
lains 14f9089
Fixing processing geo: intent when navit is not started
lains 51c864f
Merge branch 'geo-coord-show-actions-on-internal-gui' of https://gith…
lains 0b61705
Removing trailing spaces for sanity check
lains 93f73aa
Applying astyle
lains 5c11a9e
Merge branch 'trunk' into geo-coord-show-actions-on-internal-gui
lains 3ef645e
Merge branch 'trunk' into geo-coord-show-actions-on-internal-gui
lains e61a0dc
Fixing sailfish build
lains 9eeee8b
Fixing show_coord_actions (disabled) callback for sailfish
lains db97e5b
Merge branch 'trunk' into geo-coord-show-actions-on-internal-gui
lains File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, can you give a motivation for this, does it solve or change anything ? thx.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I searched a bit further and you have a point in changing it to static when it comes to MIM as described here #964. Just if you change it to static you will have to change jobject to jclass in the signature there https://github.com/navit-gps/navit/blob/trunk/navit/android.c#L325 for consistency, thx.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, yes, that was the reason for this change. This method does not access any member of the class.
I agree it has nothing to do with the feature in this PR. I just fixed this on the way while browsing through the code I wrote earlier in the previously related PR #794.
But you're right, this is not required to implement the feature described in this current PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review, I've just changed this.