Re: [Jprogramming] access camera on handheld devices

2014-02-25 Thread Jim Russell
Very neat! (A bit ugly perhaps, but neat.) Not sure where your code got garbled, but I had to change the "at" that appeared when I pasted your code into my script: NB. LABNUMS=:": each <"0 at i.@#LABTITLES_jlab_ Sent from my iPad On Dec 14, 2012, at 10:26 AM, bob therriault wrote: > Yep, Javas

Re: [Jprogramming] access camera on handheld devices

2012-12-19 Thread bob therriault
This is an update to the iPad Lab interface that uses the hview to allow access to J labs. The top row of buttons selects lab categories. The lab buttons provide a view of the opening page of the lab. At the moment javaScript in hview cannot activate the lab in J, but I do provide the informat

Re: [Jprogramming] access camera on handheld devices

2012-12-14 Thread bob therriault
Hi Brian, When you click on the category buttons, the different lab buttons associated with the category should appear, and when you click on the lab button, an alert should pop up that tells you what number should be used as an argument to jx. Eric replied in an earlier post in this thread, "

Re: [Jprogramming] access camera on handheld devices

2012-12-14 Thread Brian Schott
Bob, That demo works nicely for me. Congratulations. So javascript DOES already work and the suggestion made by Brian LeRoux is not relevant. So, maybe I'm missing a big piece of this puzzle. The "Full Example" example taken from the following link produces the buttons in the Hview window, but cl

Re: [Jprogramming] access camera on handheld devices

2012-12-14 Thread bob therriault
Yep, Javascript works in view on iPad I have been playing around with a different way to view labs (but we still don't have a way to call J from hview yet, do we? :) ) Here is the script for what I have done so far. Apologies to anyone who actually knows how to code. :) cocurrent 'uxjlab' requ

Re: [Jprogramming] access camera on handheld devices

2012-12-14 Thread Eric Iverson
I expect javascript is enabled by default for the iPad hview. It would be worthwhile to test this. Having javascript work in that window does open up possibilities. On Fri, Dec 14, 2012 at 7:03 AM, Brian Schott wrote: > Eric, > > Last night I mentioned the html window in J for ipad to Brian LeRou

Re: [Jprogramming] access camera on handheld devices

2012-12-14 Thread Brian Schott
Eric, Last night I mentioned the html window in J for ipad to Brian LeRoux, who is a/the developer for phonegap. He said maybe the fix is simply changing the value of setEnableJavaScript, but only maybe. On Mon, Nov 19, 2012 at 5:46 PM, Eric Iverson wrote: > I don't think the current release wil

Re: [Jprogramming] access camera on handheld devices

2012-11-19 Thread Brian Schott
Eric, There are a few links about using iOS and phonegap on the web. This one, and its continuation, struck me as useful. http://hiediutley.com/2011/03/14/phonegap-tutorial-series-1-project-structure-and-internals/ On Mon, Nov 19, 2012 at 5:46 PM, Eric Iverson wrote: > I don't think the current

Re: [Jprogramming] access camera on handheld devices

2012-11-19 Thread Eric Iverson
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

Re: [Jprogramming] access camera on handheld devices

2012-11-19 Thread bob therriault
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

Re: [Jprogramming] access camera on handheld devices

2012-11-19 Thread Brian Schott
Nevermind, I see that it is meant to be used in Xcode, not in any existing app. The javascript and html just was a tease for me. On Mon, Nov 19, 2012 at 3: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

Re: [Jprogramming] access camera on handheld devices

2012-11-19 Thread Brian Schott
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 wrote: >

Re: [Jprogramming] access camera on handheld devices

2012-11-19 Thread Brian Schott
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 ip

Re: [Jprogramming] access camera on handheld devices

2012-11-19 Thread bill lam
You may try google using keywords like iphone,phonegap,camera. Пнд, 19 Ноя 2012, Brian Schott писал(а): > Can a camera image be controlled/triggered by any browser? > > > -- > (B=) > -- > For information about J forums see http

Re: [Jprogramming] access camera on handheld devices

2012-11-19 Thread Brian Schott
Can a camera image be controlled/triggered by any browser? -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] access camera on handheld devices

2012-11-18 Thread bill lam
tive vv Android:) > > greg > ~krsnadas.org > > -- > > from: bill lam bbill@gmail.com > to:programming@forums.jsoftware.com > date: 18 November 2012 14:50 > subject: Re: [Jprogramming] access camera on handheld devices > > For the Android, I thi

Re: [Jprogramming] access camera on handheld devices

2012-11-18 Thread bill lam
For the Android, I think it will be easier to invoke other camera apps using intent. Вск, 18 Ноя 2012, Michael Dykman писал(а): > Speaking for the Android, that is not possible with the current app. We > are hoping to change that soon. > > On 2012-11-18 1:45 PM, "Brian Schott" wrote: > > Can J

Re: [Jprogramming] access camera on handheld devices

2012-11-18 Thread Michael Dykman
Speaking for the Android, that is not possible with the current app. We are hoping to change that soon. On 2012-11-18 1:45 PM, "Brian Schott" wrote: Can J access the built in camera on iOS or Android devices? I only have an iOS device, but such a feature would be valuable to me if I could devel

[Jprogramming] access camera on handheld devices

2012-11-18 Thread Brian Schott
Can J access the built in camera on iOS or Android devices? I only have an iOS device, but such a feature would be valuable to me if I could develop in J and do things with images there. (B=) -- For information about J forums