[openstreetmap/openstreetmap-website] Support android intent uri for JOSM style remote control (#1478)

Simon Poole notifications at github.com
Tue Mar 7 17:43:31 UTC 2017


This is WIP.

On Android the normal Urls will actually work, but not as source of an iframe, that's why we need custom code (using a custom scheme in the uri is frowned upon, but I'm a repeat offender).

One aspect that needs work is handling errors, unluckily it is rather unclear if it can be done in any reasonable fashion. The other thing is that I haven't done anything with the "Edit" button because while showing it would work without problems for Vexpucci that doesn't go for anything else.

Documentation on how to set up the Android side follows.  
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/1478

-- Commit Summary --

  * Support android intent uri for JOSM style remote control

-- File Changes --

    M app/assets/javascripts/index.js (43)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1478.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1478.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1478
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170307/64d4bbd0/attachment.html>


More information about the rails-dev mailing list