[Oskari-user] Oskari RPC and Cordova Android app issue
Mäkinen Sami (MML)
sami.makinen at maanmittauslaitos.fi
Thu Apr 11 23:58:26 PDT 2019
Hi,
Do you need the “parent page” or can you just do a WebView for the iframe src/the map? Most of the Google search results related to postMessage in WebView seems to deal with how to communicate between Java and Javascript by sending and receiving messages using the postMessage().
BR,
Sami
Lähettäjä: Oskari-user <oskari-user-bounces at lists.osgeo.org> Puolesta Puikkonen Klaus (Ruoka)
Lähetetty: torstai 11. huhtikuuta 2019 16.02
Vastaanottaja: Oskari-user at lists.osgeo.org
Aihe: [Oskari-user] Oskari RPC and Cordova Android app issue
Hi,
does anybody have idea or knowledge how Oskari RPC could work with Cordova and Android Webview. With browser everything works fine but in Webview postmessages does not work for some reason.
For example:
this.channel.postRequest(
'MapMoveRequest', [x, y, zoomlevel]
);
does nothing.
I'm trying to convert www application to simple android app....the applications for herders. They take pictures and locations of dead reindeers... the location are shown in the map which is in iFrame.
br
klasu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/oskari-user/attachments/20190412/e79dd7dd/attachment.html>
More information about the Oskari-user
mailing list