As stated in jwiki: wd'pc..' must be executed inside onStart and onStart is called by an andorid activity which is created by the wd'activity..' cmd. Since dissect had never run wd'activity' so that it cannot create any new windows. Simply adding wd'activity' is not sufficient for dissect, there should be other issues that I have already mentioned. Unfortunately I am afraid I cannot port dissect to jandroid.
jandroid demos including viewmat and plot will call wd'activity'. That said, I suggest you at least try running and studying some jandroid demos on devices or emulators to get started. Вт, 22 дек 2015, Henry Rich написал(а): > It's not the cost of the smartphone - I would have to pay for the data plan. > I don't use any smartphone. > > > I'm confused. The user says dissect 'xxx' from a J session. How does > onStart get called? From the name, I would think it would get called when J > starts - but that would be too soon. > > In a Dissect situation, the app is J, and it started long ago. > > Do viewmat and other programs creating a pc window work? > > Henry Rich > > On 12/22/2015 11:24 PM, bill lam wrote: > >The first or second hit from google "android activity lifecycle" should bring > >you to the official documentation. > > > >[*] http://developer.android.com/reference/android/app/Activity.html > > > >from that page, you can see the following method > > > > protected void onCreate(Bundle savedInstanceState); > > > > protected void onStart(); > > > > protected void onRestart(); > > > > protected void onResume(); > > > > protected void onPause(); > > > > protected void onStop(); > > > > protected void onDestroy(); > >At the present, jandroid only requires onStart callback in J locale, > >others are optional. > > > >You had said you didn't own any android device, do you get one > >by now? I guess it is difficult to do android development without > >experience with a physical android phone or tablet. I guess you > >can buy a chinese made windows/android dual boot 8" tablet with > >as little as 100 usd. > > > >Вт, 22 дек 2015, Henry Rich написал(а): > >>Can you please: > >> > >>1. Point to some page that discusses the Android life cycle > >>2. Indicate what the callback verbs are that might be called in the activity > >>locale > >> > >>Like many developers, I know nothing of Android but am anxious to make my > >>code run there if possible. > >> > >>Henry Rich > >> > >>On 12/22/2015 9:30 PM, bill lam wrote: > >>>Now documented in jwiki. > >>> > >>>Вт, 22 дек 2015, JGeneral написал(а): > >>>>I'd guess it can run with a few features missing. > >>>> > >>>>jandroid has an architecture change compared to jqt where it requires an > >>>>onStart event (search in forum archives for OnStart (sp) that should > >>>>ideally have a wiki entry, and a template for common jqt/jandroid code. > >>>> > >>>> > >>>> > >>>> > >>>>----- Original Message ----- > >>>>From: bill lam <[email protected]> > >>>>To: General forum <[email protected]> > >>>>Sent: Tuesday, December 22, 2015 6:15 PM > >>>>Subject: Re: [Jgeneral] dissect > >>>> > >>>>I've never run dissect on jandroid so not sure exactly what happened, > >>>>Nevertheless I suspect dissect cannot run because there is no mouse right > >>>>click event in android devices and also android does not support > >>>>overlapping window. > >>>>On Dec 23, 2015 12:11 AM, "Henry Rich" <[email protected]> wrote: > >>>> > >>>>>Looks like it has trouble creating the main dissect display. I don't > >>>>>have > >>>>>any way to test this, and I don't know what an 'activity' is. > >>>>> > >>>>>Bill, can you help me with this? > >>>>> > >>>>>Henry Rich > >>>>> > >>>>>On 12/22/2015 10:57 AM, Björn Helgason wrote: > >>>>> > >>>>>>I tried dissect in the new jandroid > >>>>>> > >>>>>>dissect '100 200 + i.2 3' > >>>>>>domain error > >>>>>>|pc : pc requires a new activity > >>>>>>: wd > >>>>>>| (LF,~wd ::(''"_)'qer') (13!:8)3 > >>>>>>---------------------------------------------------------------------- > >>>>>>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 > >>---------------------------------------------------------------------- > >>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
