I don't think the current release will allow javascript running in the html view to call J. This should be possible and opens up interesting possibilities. The preliminary step would be to experiment with javascript in the html view. I think it should be easy to put html controls in the window and have touching them do things. The trick would be to have the page do an ajax http request to a server running in J. Experiments and feedback welcome.
There are many ideas for significant imprrovements to JiOS. Perhaps in the new year we can launch a new beta program. This could move much faster if there was a way to tie it to funding. I may consider a small ($10) charge for the next version. It could generate some money to drive more development. Or it could kill it dead. On Mon, Nov 19, 2012 at 5:32 PM, bob therriault <bobtherria...@mac.com> wrote: > I think that this is most likely a question for Eric, > > In the iPad version of J is there a way to have an html event in hview > trigger a J response? Say a button in hview that could trigger the start of a > lab? Would this best be done through jevents such as hbutton does, or a > javascript function within the html? > > Cheers, bob > > On 2012-11-19, at 12:28 PM, Brian Schott wrote: > >> Where do you put the Html file on the i0S device? I successfully put it in >> the html window using jy and can see four buttons, but that must not be >> right, because nothing happens when I tap a button. >> >> Do I need to use JHS instead? >> >> --- >> (B=) >> >> On Nov 19, 2012, at 1:20 PM, Brian Schott <schott.br...@gmail.com> wrote: >> >>> Bill, >>> >>> Phonegap does look like a browser app and may be just perfect. >>> At the bottom of the page in the following link there is an html >>> example of using phonegap that I need to study (and would like to get >>> comments from other Jugglers, too). The docs don't mention ipad, but I >>> am hoping to use J's ipad implementation and am hoping there is a way >>> to use the html code in ipad J to take a picture of a playing card and >>> determine its suit and value. >>> >>> http://docs.phonegap.com/en/1.0.0/phonegap_camera_camera.md.html >>> >>> Btw, at first I did not read your email carefully and skipped over the >>> word phonegap, so I thought you were giving me a more general solution >>> and delayed my search. >>> >>> >>> On Mon, Nov 19, 2012 at 9:21 AM, bill lam <bbill....@gmail.com> wrote: >>>> You may try google using keywords like iphone,phonegap,camera. >>> -- >>> (B=) >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm