latest version resolves my issues with jconsole and launching apps (plot,viewmat) on Android 4.3. thank you
I also have emacs and J working together through comint mode on Android. This lets me bind ctrl-c n (or anything else) to advance labs On Apr 12, 2014 12:51 AM, "bill lam" <[email protected]> wrote: > apk updated again. > > Чт, 10 апр 2014, Joe Bogner писал(а): > > It is failing as before which I assumed is because of this spelling: > > 0=4!:0<'UserNubmer_ja_' > > > > UserNubmer_ja_ does not exist and presumably should be UserNumber_ja_ > > > > dver'' > > 1 > > UserNumber_ja_ > > 0 > > android_exec_am > > 3 : 0 > > 'intent uri mimetype flags'=. 4{.y > > user=. (UserNumber_ja_"_)^:(0=4!:0<'UserNubmer_ja_') (_1) > > 2!:0 ::0: utf8 'am start ',((user>:0)#'--user ', ":user),' -a ', intent, > ' > > -d ', (dquote uri), ((*#mimetype)#' -t ', mimetype), ((0~:flags)#' -f ', > > ":flags) > > EMPTY > > ) > > xedit'' > > java.lang.SecurityException: Permission Denial: startActivity asks to run > > as user -2 but is calling from user 0; this requires > > android.permission.INTERACT_ACROSS_USERS_FULL > > at android.os.Parcel.readException(Parcel.java:1431) > > at android.os.Parcel.readException(Parcel.java:1385) > > at > > > android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:2269) > > at com.android.commands.am.Am.runStart(Am.java:617) > > at com.android.commands.am.Am.onRun(Am.java:232) > > at com.android.internal.os.BaseCommand.run(BaseCommand.java:47) > > at com.android.commands.am.Am.mai > > On Apr 10, 2014 7:42 PM, "bill lam" <[email protected]> wrote: > > > > > This should be the correct version. If stdlib.ijs inside your android > is > > > something else, try forcing it decompressing assets again by typing > > > dver'' > > > > > > restart jqt and then exit again to complete the process. > > > > > > 11.04.2014, в 0:56, Joe Bogner <[email protected]> написал(а): > > > > > > > It's at the bottom: > > > > > > > > user=. (UserNumber_ja_"_)^:(0=4!:0<'UserNubmer_ja_') (_1) > > > > > > > > > > > > > > > > http://jsoftware.com/wsvn/base8/trunk/main/main/android.ijs?op=diff&rev=134&peg=134 > > > > > > > > NB. start new activity using intent > > > > android_exec_am=: 3 : 0 > > > > 'intent uri mimetype flags'=. 4{.y > > > > user=. (UserNumber_ja_"_)^:(0=4!:0<'UserNubmer_ja_') (_1) > > > > 2!:0 ::0: utf8 'am start ',((user>:0)#'--user ', ":user),' -a ', > > > > intent, ' -d ', (dquote uri), ((*#mimetype)#' -t ', mimetype), > > > > ((0~:flags)#' -f ', ":flags) > > > > EMPTY > > > > ) > > > > > > > > On Thu, Apr 10, 2014 at 12:20 PM, bill lam <[email protected]> > wrote: > > > >> I cannot find User_Nubmer_ja_ in your screenshot. > > > >> > > > >> Чт, 10 апр 2014, Joe Bogner писал(а): > > > >>> I use Keyboard with Ctrl Key for J on android. I dabbled with > Message > > > >>> Ease as well. > > > >>> > > > >>> The arrow keys show up in portrait. Here's a screenshot of labs > > > >>> > > > >>> > > > > https://www.dropbox.com/s/6uaehfcgkteupl9/Screenshot_2014-04-10-11-54-35.png > > > >>> > > > >>> I also use the arrow keys heavily. > > > >>> > > > >>> I agree that it's not as great as it could be though. I've been > > > >>> thinking about running J from emacs on android and then wiring up > some > > > >>> keyboard shortcuts. I haven't had a chance to do that yet. > > > >>> > > > >>> By the way, there's a new typo in android_exec_am_ in stdlib.ijs > ... > > > >>> I included it in the screenshot as well -- User_Nubmer_ja_ > > > >>> > > > >>> > > > >>> > > > >>> On Thu, Apr 10, 2014 at 11:36 AM, bill lam <[email protected]> > > > wrote: > > > >>>> It has to type the command > > > >>>> lab_jlab_ 0 > > > >>>> > > > >>>> this is a lot to type on soft keyboard and a lab may have 20 ro > > > >>>> 30 sections. Using up arrow of hackers keyboard to recall the > > > >>>> command is helpful but it doesn't show arrow keys in portrait > > > >>>> mode. > > > >>>> > > > >>>> Чт, 10 апр 2014, Joe Bogner писал(а): > > > >>>>> Thanks - I will download later today and try. > > > >>>>> > > > >>>>> labs advance seems to work well for me. I followed this guide: > > > >>>>> http://www.jsoftware.com/jwiki/Labs/Development > > > >>>>> > > > >>>>> Can you elaborate on the troubles you see? > > > >>>>> > > > >>>>> On Thu, Apr 10, 2014 at 11:16 AM, bill lam <[email protected]> > > > wrote: > > > >>>>>> Apk updated for using getprop to set UserNumber_ja_, Thansk. > > > >>>>>> > > > >>>>>> BTW I found lab advance quite troublesome in jconsole. Do you > > > >>>>>> have any idea? > > > >>>>>> > > > >>>>>> > > > >>>>>> Чт, 10 апр 2014, Joe Bogner писал(а): > > > >>>>>>> On Thu, Apr 10, 2014 at 4:15 AM, bill lam <[email protected] > > > > > wrote: > > > >>>>>>>> > > > >>>>>>>> Since jconsole does not know anything about android version or > > > >>>>>>>> user serial number so android_exec_host (under jconsole) > > > >>>>>>>> will fail for android 4.2 (API level 17 or later). > > > >>>>>>>> Instead one needs to defines > > > >>>>>>>> > > > >>>>>>> > > > >>>>>>> If you wanted to automate this, you could run > > > >>>>>>> ]version=. 2!:0 'getprop ro.build.version.release' > > > >>>>>>> 4.3 > > > >>>>>>> > > > >>>>>>> getprop tested on 4.3 and android 2.2.2 > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > http://stackoverflow.com/questions/21099301/android-adb-commands-to-get-the-device-properties > > > >>>>>>> > > > ---------------------------------------------------------------------- > > > >>>>>>> For information about J forums see > > > http://www.jsoftware.com/forums.htm > > > >>>>>> > > > >>>>>> -- > > > >>>>>> regards, > > > >>>>>> ==================================================== > > > >>>>>> GPG key 1024D/4434BAB3 2008-08-24 > > > >>>>>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > > >>>>>> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > > > >>>>>> > > > ---------------------------------------------------------------------- > > > >>>>>> For information about J forums see > > > http://www.jsoftware.com/forums.htm > > > >>>>> > > > ---------------------------------------------------------------------- > > > >>>>> For information about J forums see > > > http://www.jsoftware.com/forums.htm > > > >>>> > > > >>>> -- > > > >>>> regards, > > > >>>> ==================================================== > > > >>>> GPG key 1024D/4434BAB3 2008-08-24 > > > >>>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > > >>>> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > > > >>>> > ---------------------------------------------------------------------- > > > >>>> For information about J forums see > > > http://www.jsoftware.com/forums.htm > > > >>> > ---------------------------------------------------------------------- > > > >>> For information about J forums see > http://www.jsoftware.com/forums.htm > > > >> > > > >> -- > > > >> regards, > > > >> ==================================================== > > > >> GPG key 1024D/4434BAB3 2008-08-24 > > > >> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > > >> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > > > >> > ---------------------------------------------------------------------- > > > >> 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 > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
