<div dir="ltr">Sounds like a good project for a student on the "Google Summer of Code"? </div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 20, 2015 at 9:47 AM, Erik Jan de Wit <span dir="ltr"><<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
My idea having a native UI, but all logic in javascript has to have a name so let’s call it hybrid Cordova.<br>
<br>
I experimented a bit yesterday with the idea and it seems very feasible. On the Cordova home page they have already a guide how to include the Cordova web view on a native project, with that creating a interface to be able to call javascript is almost to easy.<br>
<br>
What I have now is a native (android) button that calls a javascript function. It uses a plugin to call the javascript and offers a static method for the execution.<br>
<br>
So to take this to the next level, I think we need a bit of a javascript api to do page navigation. And have a bit of a Java Api to initialise the WebView and specify the name of the script to load. Or just pickup all scripts in a assets directory.<br>
<br>
WDYT, is it worth exploring further?<br>
<br>
Cheers,<br>
Erik Jan<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div>