<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>I noticed that if I created a new screen from the script page and ran it, the set-webView-content function worked as expected.  When I ran it from the repl instead, it did nothing.</span></div><div><br><span></span></div><div><span>How can I get this to work?</span></div><div><br><span></span></div><div><span>Thanks, Steve<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Steve Graham <jsgrahamus@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Keith Flower <keith@keithflower.org> <br><b><span style="font-weight:
 bold;">Cc:</span></b> Gambit List <Gambit-list@iro.umontreal.ca> <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, June 2, 2012 4:50 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [gambit-list] Gambit on Android<br> </font> </div> <br>
<div id="yiv834494164"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><span>Keith,</span></div><div><br></div><div>   A few more questions.</div><div>   1) Can I use your Android Gambit to make a self-contained app?</div><div>   2) Can I strip away the unneeded parts of Gambit before making the app?  If so, how does one do that?</div><div><br></div><div><br></div><div>Thanks, Steve<br><span></span></div><div><br></div>  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Keith Flower <keith@keithflower.org><br> <b><span style="font-weight:bold;">To:</span></b> Steve Graham <jsgrahamus@yahoo.com> <br><b><span
 style="font-weight:bold;">Cc:</span></b> Gambit List <Gambit-list@iro.umontreal.ca> <br> <b><span style="font-weight:bold;">Sent:</span></b> Wednesday, March 14, 2012 7:49 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [gambit-list] Gambit on Android<br> </font> </div> <br>
<div id="yiv834494164"><div><br><div><div>On Mar 13, 2012, at 3:35 PM, Steve Graham wrote:</div><br class="yiv834494164Apple-interchange-newline"><blockquote type="cite"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:garamond, times, serif;font-size:12pt;"><div><span>Keith,</span></div><div><span><br></span></div><div><span>   What steps did you take to learn Java, how to use Java for GUI's on Android and how to tie it together with JNI?  Any recommended books or URL's?</span></div><div><span><br></span></div></div></div></blockquote><div><br></div>I can't think of any particular Java resource I've used online more than others. Probably for Android the best overall resources have been the numerous example programs that come with the development kit. There are NDK examples as well. JNI to me seems a bit arcane - here are a couple of links I found
 helpful:<div><br></div><div>http://developer.android.com/guide/practices/design/jni.html</div><div>http://android.wooyd.org/JNIExample/files/JNIExample.pdf</div><div><br></div><div>Regards,</div><div><br></div><div>Keith</div><div><br></div><blockquote type="cite"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:garamond, times, serif;font-size:12pt;"><div><span><br></span></div><div><span>Thanks, Steve</span></div><div><br></div>  <div style="font-size:12pt;font-family:garamond, times, serif;"> <div style="font-size:12pt;font-family:times, serif;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Keith Flower <<a rel="nofollow" ymailto="mailto:keith@keithflower.org" target="_blank" href="mailto:keith@keithflower.org">keith@keithflower.org</a>><br> <b><span style="font-weight:bold;">To:</span></b> Steve Graham <<a rel="nofollow"
 ymailto="mailto:jsgrahamus@yahoo.com" target="_blank" href="mailto:jsgrahamus@yahoo.com">jsgrahamus@yahoo.com</a>> <br><b><span style="font-weight:bold;">Cc:</span></b> Gambit List
 <<a rel="nofollow" ymailto="mailto:Gambit-list@iro.umontreal.ca" target="_blank" href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a>> <br> <b><span style="font-weight:bold;">Sent:</span></b> Monday, March 12, 2012 12:38 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [gambit-list] Gambit on Android<br> </font> </div> <br>
<div id="yiv834494164"><div>For my little Gambit for Android app<div><br></div><div><div><div><a rel="nofollow" target="_blank" href="https://play.google.com/store/apps/details?id=org.keithflower.gambit">https://play.google.com/store/apps/details?id=org.keithflower.gambit</a></div><div><br></div><div>the GUI is Java, Gambit is compiled with the Android Native Development Kit, and JNI is the bridge.</div><div><br></div><div>I'm testing to release a new version that incorporates all of Marc's nice recent iOS changes. </div><div><br></div><div>Regards,</div><div><br></div><div>Keith</div><div><br></div><div>On Mar 12, 2012, at 10:19 AM, Steve Graham wrote:</div><br class="yiv834494164Apple-interchange-newline"><blockquote type="cite"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-size:12pt;font-family:garamond, times, serif;"><div>I understand that Android apps are typically written in Java.  How
 then is Gambit able to run on that platform?  If it is possible to write GUI apps for the Android using Gambit, are there any pointers on how to get started?</div><div><br></div><div>Thanks, Steve</div></div></div>_______________________________________________<br>Gambit-list mailing list<br><a rel="nofollow" ymailto="mailto:Gambit-list@iro.umontreal.ca" target="_blank" href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br><a rel="nofollow" target="_blank" href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br></blockquote></div><br></div></div></div><br><br> </div> </div>  </div></div></blockquote></div><br></div></div><br><br> </div> </div>  </div></div></div><br>_______________________________________________<br>Gambit-list mailing list<br><a ymailto="mailto:Gambit-list@iro.umontreal.ca"
 href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br><a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br><br><br> </div> </div>  </div></body></html>