Skip, it seems your jqt should already worked properly.
You can also run the websocket inside qt demo both on android and a desktop simultaneously. and on the browser in desktop computer, change the ip of repl server to that of the android so that it runs like a ssh (sort of). 13.02.2014, в 5:38, Skip Cave <s...@caveconsulting.com> написал(а): > Bill, > > The first time Tried 1!:0 '/storage/sdcard0/*' statement it generated a > huge list of what looks like 2-D boxed data: > > 1!:0 '/storage/sdcard0/*' > |RMnsd|2014 2 10 16 40 27|4096 |rwx|.... > |Ltrhb|2014 2 10 16 40 9 |4096 | ... > ... > > Unfortunately, the J window display on my Galaxy does not scroll > horizontally, so I can't view the end of long lines. Orienting the phone to > portrait mode helps see more of the lines, at the expense of seeing fewer > lines. Also, the vertical scroll is spotty, so it is quite difficult to > scroll to see how many lines of output there are. It is also difficult to > scroll back to the top, to see the original command. After running this > command, keyboard input seems to be locked, so I can't enter any more > commands. Also, copy & paste by long holds on highlighted text (standard > Android behavior) does not work, so there doesn't seem to be any way to > copy the actual output, in order to paste it in an email or other > application. > > However, I can kill J by long-pressing on the main button below the screen, > which brings up the "running apps" view, and then swiping J off the screen. > That kills J. Then I can use the green J icon to restart J with a clean > session. > > I did this a couple of times, and then suddenly, the command didn't > generate the long, boxed output anymore. Here's the console output after > things started working more normally: > > JVERSION > Engine: j701/2011-02-23/15:25 > Library: 8.01 .020 > Qt IDE: 1 .0.23s/5.2.0 > Platform: Android 32 > Installer: j801 install > InstallPath: /storage/emulated/legacy > > 1!0: '/storage/extSdCard/*' > 0 > 1!0: '/storage/sdcard1/*' > 0 > 1!0: '/storage/sdcard0/*' > 0 > jpath '-bin' > /storage/emulated/legacy/Android/data..... > jpath '-install' > /storage/emulated/legacy/Android/data..... > jpath '-addons' > /storage/emulated/legacy/Android/data.... > jpath '-users' > -users > jpath '-user' > /storage/emulated/legacy/j801-user > AndroidPackage > com.jsoftware.android.qtide > > As you can see, the long ines are clipped off to the left. > The only way I was able to get this input into this email was to take a > screenshot of the J session using the Galaxy screen capture utility, and > then OCR the image, and paste the text from the OCR'ed image into this > email. Copy/paste does not work in the J session. > > Skip > > > On Wed, Feb 12, 2014 at 3:40 AM, bill lam <bbill....@gmail.com> wrote: > >> Skip, >> >> Jqt/android try to install on removable sdcard but the location >> of sdcard is vendor specific and changed in Android 4.2 ro 4.3. >> Just a few questions. >> >> Do you also get /storage/sdcard0 and /storage/sdcars1 folders? >> Is /storage/sdcard1 the same folder as /storage/extSdCard ? >> >> Please try the followings and report their outputs >> >> 1!:0 '/storage/sdcard0/*' >> 1!:0 '/storage/sdcard1/*' >> 1!:0 '/storage/extSdCard/*' >> >> JVERSION >> >> jpath '~bin' >> jpath '~install' >> jpath '~addons' >> jpath '~users' >> >> AndroidPackage >> >> >> Вт, 11 фев 2014, Skip Cave писал(а): >>> 2!:5'SDCARD' >>> >>> 0 >>> >>> Path to SD Card : /storage/extSdCard >>> >>> 2!:5' /storage/extSdCard' >>> 0 >>> >>> By the way, I left out a step in the install process: >>> >>> 1. Went to Settings/More/Security/ and checked "Allow install from >> unknown >>> sources" and unchecked "Block or warn before installing apps that may >> cause >>> harm" >>> >>> 2. Went to J Software download page. Downloaded 8.01 qtide-signed.apk. >> The >>> .apk downloaded quickly, and went into the Download folder in the Phone's >>> non-violatle storage (not in my added SD Card) >>> >>> *** >>> *2.5. Used 'My Files' File explorer (comes with the Galaxy Note) to >> browse >>> to the Download folder in NV ram on the phone, and tapped on the .apk >> file >>> to install it.* >>> >>> *** >>> >>> 3. Green J icon appeared in apps window. Pressed and held the J icon, to >>> drop icon on main desktop. >>> >>> 4.Tapped green J icon, got a black screen for a couple of seconds, then >> got >>> J interactive window. >>> >>> 5. typed 2+2. screen showed 222. Typed i.4. Screen showed I.4 (cap I) >>> >>> 6. Went to Settings/Language & Input/Samsung keyboard setup. Turned off >>> Predictive text. Turned off Auto-spacing. Turned off Auto-capitalization. >>> Turned off Auto-punctuate. >>> >>> 7. Typed 2+2. screen showed 2+2. Typed i.4. Screen showed i.4. Much >>> better. Does J have an alternate keyboard you can install just for J >> only, >>> so I don't have to keep turning the auto-help stuff on and off? I need a >>> keyboard with the lower case letters, numbers, and punctuation all >> present >>> & unshifted, with uppercase being the only shift change. >>> >>> 8. Pressed menu button (lower left, below screen). Selected >> Tools/Package >>> Manager. Selected 'All', Selected 'Install'. Nothing happened. Scrolling >>> through Packages is weird. Rather than the Package list moving with your >>> finger, the list stays stationary, and the highlight moves. You have to >> run >>> your finger off either end of the list to get the list to scroll. Not >> very >>> good for a touch-screen UI. >>> >>> 9. I went back to main screen & tried more stuff with primitives. Things >>> seem to be basically working. Came back a few minutes later and tried >>> Package Manager again. This time it showed all packages installed! Need >> to >>> have a progress indicator somewhere. There was no indication that >> anything >>> was downloading. >>> >>> 10. Found LaunchPad under Menu/Run. Took me awhile to find it, as I >> didn't >>> expect it under "Run". There were TWO 'LaunchPad' selections under the >> Run >>> menu.Both seemed to do the same thing. Both selections gave two choices >> - >>> qtdemo and wddemo. Most LaunchPad demos seemed to work, both wd & qt. >>> >>> >>> Skip Cave >>> Cave Consulting LLC >>> >>> >>> On Tue, Feb 11, 2014 at 5:52 PM, bill lam <bbill....@gmail.com> wrote: >>> >>>> Skip, >>>> >>>> What is the output for >>>> >>>> 2!:5'SDCARD' >>>> >>>> and what is your actual full path name to the sdcard folder? Is it >> sdcard0? >>>> On Feb 12, 2014 6:14 AM, "Skip Cave" <s...@caveconsulting.com> wrote: >>>> >>>>> My install story with J on Android: >>>>> >>>>> My phone is a Samsung Galaxy Note 2 (Android Jellybean 4.3). >>>>> >>>>> 1. Went to Settings/More/Security/ and checked "Allow install from >>>> unknown >>>>> sources" and unchecked "Block or warn before installing apps that may >>>> cause >>>>> harm" >>>>> >>>>> 2. Went to J Software download page. Downloaded 8.01 >> qtide-signed.apk. >>>> The >>>>> .apk downloaded quickly, and went into the Download folder in the >> Phone's >>>>> non-violatle storage (not in my added SD Card) >>>>> >>>>> 3. Green J icon appeared in apps window. Pressed and held the J >> icon, to >>>>> drop icon on main desktop. >>>>> >>>>> 4.Tapped green J icon, got a black screen for a couple of seconds, >> then >>>> got >>>>> J interactive window. >>>>> >>>>> 5. typed 2+2. screen showed 222. Typed i.4. Screen showed I.4 (cap >> I) >>>>> >>>>> 6. Went to Settings/Language & Input/Samsung keyboard setup. Turned >> off >>>>> Predictive text. Turned off Auto-spacing. Turned off >> Auto-capitalization. >>>>> Turned off Auto-punctuate. >>>>> >>>>> 7. Typed 2+2. screen showed 2+2. Typed i.4. Screen showed i.4. Much >>>>> better. Does J have an alternate keyboard you can install just for J >>>> only, >>>>> so I don't have to keep turning the auto-help stuff on and off? I >> need a >>>>> keyboard with the lower case letters, numbers, and punctuation all >>>> present >>>>> & unshifted, with uppercase being the only shift change. >>>>> >>>>> 8. Pressed menu button (lower left, below screen). Selected >>>> Tools/Package >>>>> Manager. Selected 'All', Selected 'Install'. Nothing happened. >> Scrolling >>>>> through Packages is weird. Rather than the Package list moving with >> your >>>>> finger, the list stays stationary, and the highlight moves. You have >> to >>>> run >>>>> your finger off either end of the list to get the list to scroll. >> Not >>>> very >>>>> good for a touch-screen UI. >>>>> >>>>> 9. I went back to main screen & tried more stuff with primitives. >> Things >>>>> seem to be basically working. Came back a few minutes later and tried >>>>> Package Manager again. This time it showed all packages installed! >> Need >>>> to >>>>> have a progress indicator somewhere. There was no indication that >>>> anything >>>>> was downloading. >>>>> >>>>> 10. Found LaunchPad under Menu/Run. Took me awhile to find it, as I >>>> didn't >>>>> expect it under "Run". There were TWO 'LaunchPad' selections under >> the >>>> Run >>>>> menu.Both seemed to do the same thing. Both selections gave two >> choices >>>> - >>>>> qtdemo and wddemo. Most LaunchPad demos seemed to work, both wd & >> qt. >>>>> >>>>> I may have more comments later. >>>>> >>>>> Skip Cave >>>>> Cave Consulting LLC >>>>> >>>>> >> ---------------------------------------------------------------------- >>>>> 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm