NetRexx in the Android Shell for ALL.

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

NetRexx in the Android Shell for ALL.

Jason Martin

You must build the netrexx4android branch in the svn repo.

********* I will provide the jar in svn when I get time. ************

After you build.

On your PC create a Junk/ Directory :

NetRexxC.jar, ecj-4.2.jar, dx.jar must be converted to dex format

You must use the dx command provided in the Android SDK

.................................(in netrexx4android/build/lib/ after you build)

dx --dex --output=/Junk/NetRexxC.jar /will_be_in_build_lib/NetRexxC.jar

.................................(From build or any current NetRexx release)

dx --dex --output=/Junk/ecj-4.2.jar /where_did_you_find_it/ecj-4.2.jar

.................................(From Android SDK under /platform-tools/lib/)

dx --dex --output=/Junk/dx.jar /where_did_you_find_it/dx.jar


Now put some nrx files in Junk

At least HelloWorld.nrx ( NetRexx /examples/rosettacode/)

(or all /examples/rosettacode/ except these
'JensensDevice.nrx'
'RCBoxTheCompass.nrx'
'RCHelloWorld_GraphicalAWT_01.nrx'
'RCHelloWorld_GraphicalSwing_01.nrx'
'RCHelloWorld_GraphicalSwing_02.nrx'
'RCTestAFunction.nrx'
'RCXMLOutputStax.nrx')



SHOULD NOW LOOK LIKE:


Junk/

NetRexxC.jar
ecj-4.2.jar
dx.jar
HelloWorld.nrx (at least this one)



Create a lib directory under Junk

Junk/lib/    (No conversion needed -- Put these real Java jars there)

android.jar  (From the Android SDK platforms - one that matches your setup)
NetRexxR.jar (From build or any current NetRexx release)


START YOUR ANROID EMULATOR with an AVD that you created a sdcard for.

Wait till it is up.

Copy all at once with ANROID SDK Tool adb:

adb push JUNK/ /mnt/sdcard/


Now do

adb shell

cd /mnt/sdcard/ or just sdcard

You can create 3 scripts on the PC and push if you want or just type commands.

FIRST Script :

compile_all_nrx.sh

dalvikvm -classpath /sdcard/NetRexxC.jar:/sdcard/ecj-4.2.jar org.netrexx.process.NetRexxC -classpath /sdcard/lib/android.jar:/sdcard/lib/NetRexxR.jar *.nrx

To run the script : sh /mnt/sdcard/compile_all_nrx.sh

SECOND Script :

convert_HelloWorldOnly.sh

dalvikvm -classpath /sdcard/dx.jar com.android.dx.command.Main --dex --keep-classes --no-strict --output=/sdcard/works.jar HelloWorld.class

THIRD Script :

run_my_dex_class.sh

dalvikvm -classpath /sdcard/NetRexxC.jar:/sdcard/works.jar HelloWorld

*******************************************************************************

What is dalvikvm? The virtual machine. Type dalvikvm --help


Why not just one exported classpath?

    Pure java classes are useless to the dalvikvm.

    Dex classes are unknown to NetRexx.

And the best solution to keep NetRexx from getting lost in / and avoid
the dex classes in /system and /system/lib was to force
a clean -classpath where we know the Java jars are and let you put them
any where you want. All other APPS are PRIVATE to a degree.

PERMISSIONS WILL STOP SOME THINGS FROM WORKING.

Some of this goes away with a GUI app but that is another day.

I left the Java Version returned by Android at 0 so that -run -exec and Interpretation will gracefully fail for now.

NetRexx logo shows version 0.0 because it reads that from the Java Manifest.xml. Not sure about that at the moment.


If you have a terminal app and a text editor for your phone, as long you keep
the --keep-classes command when using dx, simple console apps will work on phone and PC using one jar.





_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx in the Android Shell for ALL.

rvjansen
Jason,

brilliant! I'll report back as soon as I tried it myself.

best regards,

René.



On 2012-11-18 16:19, Jason Martin wrote:

> You must build the netrexx4android branch in the svn repo.
>
> ********* I will provide the jar in svn when I get time. ************
>
> After you build.
>
> On your PC create a Junk/ Directory :
>
> NetRexxC.jar, ecj-4.2.jar, dx.jar must be converted to dex format
>
> You must use the dx command provided in the Android SDK
>
> .................................(in netrexx4android/build/lib/ after
> you build)
>
> dx --dex --output=/Junk/NetRexxC.jar
> /will_be_in_build_lib/NetRexxC.jar
>
> .................................(From build or any current NetRexx
> release)
>
> dx --dex --output=/Junk/ecj-4.2.jar
> /where_did_you_find_it/ecj-4.2.jar
>
> .................................(From Android SDK under
> /platform-tools/lib/)
>
> dx --dex --output=/Junk/dx.jar /where_did_you_find_it/dx.jar
>
> Now put some nrx files in Junk
>
> At least HelloWorld.nrx ( NetRexx /examples/rosettacode/)
>
> (or all /examples/rosettacode/ except these
>  'JensensDevice.nrx'
> 'RCBoxTheCompass.nrx'
> 'RCHelloWorld_GraphicalAWT_01.nrx'
> 'RCHelloWorld_GraphicalSwing_01.nrx'
> 'RCHelloWorld_GraphicalSwing_02.nrx'
> 'RCTestAFunction.nrx'
>  'RCXMLOutputStax.nrx')
>
> SHOULD NOW LOOK LIKE:
>
> Junk/
>
> NetRexxC.jar
> ecj-4.2.jar
> dx.jar
> HelloWorld.nrx (at least this one)
>
> Create a lib directory under Junk
>
>  Junk/lib/    (No conversion needed -- Put these real Java jars
> there)
>
> android.jar  (From the Android SDK platforms - one that matches your
> setup)
> NetRexxR.jar (From build or any current NetRexx release)
>
>  START YOUR ANROID EMULATOR with an AVD that you created a sdcard
> for.
>
> Wait till it is up.
>
> Copy all at once with ANROID SDK Tool adb:
>
> adb push JUNK/ /mnt/sdcard/
>
> Now do
>
> adb shell
>
>  cd /mnt/sdcard/ or just sdcard
>
> You can create 3 scripts on the PC and push if you want or just type
> commands.
>
> FIRST Script :
>
> compile_all_nrx.sh
>
> dalvikvm -classpath /sdcard/NetRexxC.jar:/sdcard/ecj-4.2.jar
> org.netrexx.process.NetRexxC -classpath
> /sdcard/lib/android.jar:/sdcard/lib/NetRexxR.jar *.nrx
>
> To run the script : sh /mnt/sdcard/compile_all_nrx.sh
>
> SECOND Script :
>
> convert_HelloWorldOnly.sh
>
> dalvikvm -classpath /sdcard/dx.jar com.android.dx.command.Main --dex
> --keep-classes --no-strict --output=/sdcard/works.jar
> HelloWorld.class
>
> THIRD Script :
>
> run_my_dex_class.sh
>
> dalvikvm -classpath /sdcard/NetRexxC.jar:/sdcard/works.jar HelloWorld
>
>
> *******************************************************************************
>
> What is dalvikvm? The virtual machine. Type dalvikvm --help
>
> Why not just one exported classpath?
>
>     Pure java classes are useless to the dalvikvm.
>
>     Dex classes are unknown to NetRexx.
>
> And the best solution to keep NetRexx from getting lost in / and
> avoid
>  the dex classes in /system and /system/lib was to force
> a clean -classpath where we know the Java jars are and let you put
> them
> any where you want. All other APPS are PRIVATE to a degree.
>
> PERMISSIONS WILL STOP SOME THINGS FROM WORKING.
>
> Some of this goes away with a GUI app but that is another day.
>
> I left the Java Version returned by Android at 0 so that -run -exec
> and Interpretation will gracefully fail for now.
>
> NetRexx logo shows version 0.0 because it reads that from the Java
> Manifest.xml. Not sure about that at the moment.
>
> If you have a terminal app and a text editor for your phone, as long
> you keep
> the --keep-classes command when using dx, simple console apps will
> work on phone and PC using one jar.

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx in the Android Shell for ALL.

rvjansen
In reply to this post by Jason Martin
Jason,

I have tried this but I am stuck at dalvikvm not being able to access its dex-cache, and after that dalvikvm segfaults

E/dalvikvm( 2441): Can't open dex cache '/data/dalvik-cache/[hidden email]@classes.dex': No such file or directory
W/dalvikvm( 2441): threadid=1: thread exiting with uncaught exception (group=0x40015578)
E/dalvikvm( 2489): Can't open dex cache '/data/dalvik-cache/[hidden email]@classes.dex': No such file or directory
W/dalvikvm( 2489): threadid=1: thread exiting with uncaught exception (group=0x40015578)
E/dalvikvm( 2507): Can't open dex cache '/data/dalvik-cache/[hidden email]@classes.dex': No such file or directory
W/dalvikvm( 2507): threadid=1: thread exiting with uncaught exception (group=0x40015578)
E/dalvikvm( 2547): Can't open dex cache '/data/dalvik-cache/[hidden email]@classes.dex': No such file or directory
E/dalvikvm( 2547): Can't open dex cache '/data/dalvik-cache/[hidden email]@classes.dex': No such file or directory
E/dalvikvm( 2547): Too many exceptions during init (failed on 'Ljava/io/IOException;' 'unable to open DEX file')
E/dalvikvm( 2547): VM aborting

I might have missed something in the recipe though. To be specific, I do not understand this part:

> START YOUR ANROID EMULATOR with an AVD that you created a sdcard for.

I did not start the emulator; I just tested this on a real device - I don't know how to create an sdcard for an AVD (Android Virtual Device?). I guess this is something to do with security again.
is there a solution for this? Is there a way to define a 'dummy application' with a directory that it can use?

I see that the cache is in /data/dalvik-cache, where I am not allowed. I remember to have messed with a cache deletion tool after installing too much applications - but I do not know if the path is there or not.

best regards,

René.


On 18 nov. 2012, at 16:19, Jason Martin <[hidden email]> wrote:

>
> You must build the netrexx4android branch in the svn repo.
>
> ********* I will provide the jar in svn when I get time. ************
>
> After you build.
>
> On your PC create a Junk/ Directory :
>
> NetRexxC.jar, ecj-4.2.jar, dx.jar must be converted to dex format
>
> You must use the dx command provided in the Android SDK
>
> .................................(in netrexx4android/build/lib/ after you build)
>
> dx --dex --output=/Junk/NetRexxC.jar /will_be_in_build_lib/NetRexxC.jar
>
> .................................(From build or any current NetRexx release)
>
> dx --dex --output=/Junk/ecj-4.2.jar /where_did_you_find_it/ecj-4.2.jar
>
> .................................(From Android SDK under /platform-tools/lib/)
>
> dx --dex --output=/Junk/dx.jar /where_did_you_find_it/dx.jar
>
>
> Now put some nrx files in Junk
>
> At least HelloWorld.nrx ( NetRexx /examples/rosettacode/)
>
> (or all /examples/rosettacode/ except these
> 'JensensDevice.nrx'
> 'RCBoxTheCompass.nrx'
> 'RCHelloWorld_GraphicalAWT_01.nrx'
> 'RCHelloWorld_GraphicalSwing_01.nrx'
> 'RCHelloWorld_GraphicalSwing_02.nrx'
> 'RCTestAFunction.nrx'
> 'RCXMLOutputStax.nrx')
>
>
>
> SHOULD NOW LOOK LIKE:
>
>
> Junk/
>
> NetRexxC.jar
> ecj-4.2.jar
> dx.jar
> HelloWorld.nrx (at least this one)
>
>
>
> Create a lib directory under Junk
>
> Junk/lib/    (No conversion needed -- Put these real Java jars there)
>
> android.jar  (From the Android SDK platforms - one that matches your setup)
> NetRexxR.jar (From build or any current NetRexx release)
>
>
> START YOUR ANROID EMULATOR with an AVD that you created a sdcard for.
>
> Wait till it is up.
>
> Copy all at once with ANROID SDK Tool adb:
>
> adb push JUNK/ /mnt/sdcard/
>
>
> Now do
>
> adb shell
>
> cd /mnt/sdcard/ or just sdcard
>
> You can create 3 scripts on the PC and push if you want or just type commands.
>
> FIRST Script :
>
> compile_all_nrx.sh
>
> dalvikvm -classpath /sdcard/NetRexxC.jar:/sdcard/ecj-4.2.jar org.netrexx.process.NetRexxC -classpath /sdcard/lib/android.jar:/sdcard/lib/NetRexxR.jar *.nrx
>
> To run the script : sh /mnt/sdcard/compile_all_nrx.sh
>
> SECOND Script :
>
> convert_HelloWorldOnly.sh
>
> dalvikvm -classpath /sdcard/dx.jar com.android.dx.command.Main --dex --keep-classes --no-strict --output=/sdcard/works.jar HelloWorld.class
>
> THIRD Script :
>
> run_my_dex_class.sh
>
> dalvikvm -classpath /sdcard/NetRexxC.jar:/sdcard/works.jar HelloWorld
>
> *******************************************************************************
>
> What is dalvikvm? The virtual machine. Type dalvikvm --help
>
>
> Why not just one exported classpath?
>
>     Pure java classes are useless to the dalvikvm.
>
>     Dex classes are unknown to NetRexx.
>
> And the best solution to keep NetRexx from getting lost in / and avoid
> the dex classes in /system and /system/lib was to force
> a clean -classpath where we know the Java jars are and let you put them
> any where you want. All other APPS are PRIVATE to a degree.
>
> PERMISSIONS WILL STOP SOME THINGS FROM WORKING.
>
> Some of this goes away with a GUI app but that is another day.
>
> I left the Java Version returned by Android at 0 so that -run -exec and Interpretation will gracefully fail for now.
>
> NetRexx logo shows version 0.0 because it reads that from the Java Manifest.xml. Not sure about that at the moment.
>
>
> If you have a terminal app and a text editor for your phone, as long you keep
> the --keep-classes command when using dx, simple console apps will work on phone and PC using one jar.
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx in the Android Shell for ALL.

Jason Martin
In reply to this post by Jason Martin
What phone model?
What terminal app / or Console App are you using?
How did you get the data to it.
Can you use adb shell on PC to connect?
I did have the a gui app installed on one image but I removed before testing. Could have keep some data in my cache.
I will retry on clean image.

On Sun, Nov 18, 2012 at 10:19 AM, Jason Martin <[hidden email]> wrote:

You must build the netrexx4android branch in the svn repo.

********* I will provide the jar in svn when I get time. ************

After you build.

On your PC create a Junk/ Directory :

NetRexxC.jar, ecj-4.2.jar, dx.jar must be converted to dex format

You must use the dx command provided in the Android SDK

.................................(in netrexx4android/build/lib/ after you build)

dx --dex --output=/Junk/NetRexxC.jar /will_be_in_build_lib/NetRexxC.jar

.................................(From build or any current NetRexx release)

dx --dex --output=/Junk/ecj-4.2.jar /where_did_you_find_it/ecj-4.2.jar

.................................(From Android SDK under /platform-tools/lib/)

dx --dex --output=/Junk/dx.jar /where_did_you_find_it/dx.jar


Now put some nrx files in Junk

At least HelloWorld.nrx ( NetRexx /examples/rosettacode/)

(or all /examples/rosettacode/ except these
'JensensDevice.nrx'
'RCBoxTheCompass.nrx'
'RCHelloWorld_GraphicalAWT_01.nrx'
'RCHelloWorld_GraphicalSwing_01.nrx'
'RCHelloWorld_GraphicalSwing_02.nrx'
'RCTestAFunction.nrx'
'RCXMLOutputStax.nrx')



SHOULD NOW LOOK LIKE:


Junk/

NetRexxC.jar
ecj-4.2.jar
dx.jar
HelloWorld.nrx (at least this one)



Create a lib directory under Junk

Junk/lib/    (No conversion needed -- Put these real Java jars there)

android.jar  (From the Android SDK platforms - one that matches your setup)
NetRexxR.jar (From build or any current NetRexx release)


START YOUR ANROID EMULATOR with an AVD that you created a sdcard for.

Wait till it is up.

Copy all at once with ANROID SDK Tool adb:

adb push JUNK/ /mnt/sdcard/


Now do

adb shell

cd /mnt/sdcard/ or just sdcard

You can create 3 scripts on the PC and push if you want or just type commands.

FIRST Script :

compile_all_nrx.sh

dalvikvm -classpath /sdcard/NetRexxC.jar:/sdcard/ecj-4.2.jar org.netrexx.process.NetRexxC -classpath /sdcard/lib/android.jar:/sdcard/lib/NetRexxR.jar *.nrx

To run the script : sh /mnt/sdcard/compile_all_nrx.sh

SECOND Script :

convert_HelloWorldOnly.sh

dalvikvm -classpath /sdcard/dx.jar com.android.dx.command.Main --dex --keep-classes --no-strict --output=/sdcard/works.jar HelloWorld.class

THIRD Script :

run_my_dex_class.sh

dalvikvm -classpath /sdcard/NetRexxC.jar:/sdcard/works.jar HelloWorld

*******************************************************************************

What is dalvikvm? The virtual machine. Type dalvikvm --help


Why not just one exported classpath?

    Pure java classes are useless to the dalvikvm.

    Dex classes are unknown to NetRexx.

And the best solution to keep NetRexx from getting lost in / and avoid
the dex classes in /system and /system/lib was to force
a clean -classpath where we know the Java jars are and let you put them
any where you want. All other APPS are PRIVATE to a degree.

PERMISSIONS WILL STOP SOME THINGS FROM WORKING.

Some of this goes away with a GUI app but that is another day.

I left the Java Version returned by Android at 0 so that -run -exec and Interpretation will gracefully fail for now.

NetRexx logo shows version 0.0 because it reads that from the Java Manifest.xml. Not sure about that at the moment.


If you have a terminal app and a text editor for your phone, as long you keep
the --keep-classes command when using dx, simple console apps will work on phone and PC using one jar.






_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx in the Android Shell for ALL.

rvjansen
Jason,

it is a Samsung I picked up last year in a sale; it is one of those
phone sized things without a phone in it. I would call it a tablet but
my iPad would be offended. The type number is YP-G70.

I used an app called 'Terminal' and got the data on it using adb - I
mostly used adb shell because of easier typing. The whole adb and
development suite works perfectly from the mac without installing usb
drivers. I am afraid the next step is to root the device; I am convinced
it will all work as soon as dalvik is allowed to write its dex caches. I
remember to have experimented some time ago with setting environment
variables to move the cache to the sdcard but I don't remember much of
it - only that it did not work. With your work on the compiler, I am
going to try once more.

Now the interesting thing is that when one would write a whole gui app,
everything works, but that does not lend itself to the scripting pattern
in which I use NetRexx most. Also, it is mostly a research effort in how
intrusive the sandboxing actually is. I did wish android was better than
ios in this respect, but it is still to be something we need to prove.

best regards,

René.



On 2012-11-21 00:04, Jason Martin wrote:

> What phone model?
> What terminal app / or Console App are you using?
> How did you get the data to it.
> Can you use adb shell on PC to connect?
> I did have the a gui app installed on one image but I removed before
> testing. Could have keep some data in my cache.
>  I will retry on clean image.
>
> On Sun, Nov 18, 2012 at 10:19 AM, Jason Martin <[hidden email]>
> wrote:
>
>> You must build the netrexx4android branch in the svn repo.
>>


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx in the Android Shell for ALL.

Jason Martin
In reply to this post by Jason Martin
Works for me in the emulator.

New clean Linux User Account. (No paths or classpaths SET)
New Android SDK download.
New SVN Checkout of that Branch only
New NetRexx Build
New creation of minimum 1.5 level 3 API AVD. (The lowest I can go)

Maybe my instructions are a little unclean.

Sometime today, I will produce some very clean shell scripts so all my processes are clean and visible.




_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx in the Android Shell for ALL.

Jason Martin
In reply to this post by Jason Martin
# Not a working script, just a guide,
#
# Just do one command at a time adjusted
#  to your platform for the whole process.
#
# wget http://dl.google.com/android/android-sdk_r21-linux.tgz
#
# tar -xvzf android-sdk_r21-linux.tgz
#
# ~/android-sdk-linux/tools/android
#
# Stop ...... this is GUI stuff
#
# When the android GUI loads
# You need to check and install at least these for the rest to work.
# Under Tools folder
# check Android SDK Platform-tools
# Under Android 1.5(API 3)
# check SDK Platform
# Click lower right button to Install 2 packages
#
# Quit android GUI
#
# Stop ...... this is console stuff
#
# Open a console/terminal program
#
# You must be in your home directory
#
# ~ is the user's home directory on Linux

cd ~

# Create AVD command line version

~/android-sdk-linux/tools/android create avd -n ConsoleNetRexx -t 1

# On Linux this will create directories ~/.android/avd/ConsoleNetRexx.avd/
#
# Create fake 100 megabyte sdcard

~/android-sdk-linux/tools/mksdcard -l BlankSDcard 100M ~/.android/avd/ConsoleNetRexx.avd/EmptyFile.img

# Start AVD and use fake sdcard

~/android-sdk-linux/tools/emulator -avd ConsoleNetRexx -sdcard EmptyFile.img

#
# Open a SECOND console/terminal and execute remaining commands.
#

cd ~

mkdir CHECKOUT

cd CHECKOUT

# Only checkout what is needed.

svn co https://svn.kenai.com/svn/netrexx~netrexxc-repo/netrexxc/branches/netrexx4android/

cd netrexx4android

make

cd ~

mkdir JUNK

cd ~/JUNK

mkdir lib

~/android-sdk-linux/platform-tools/dx --dex --output=NetRexxC.jar ~/CHECKOUT/netrexx4android/build/lib/NetRexxC.jar

~/android-sdk-linux/platform-tools/dx --dex --output=ecj-4.2.jar ~/CHECKOUT/netrexx4android/lib/ecj-4.2.jar

~/android-sdk-linux/platform-tools/dx --dex --output=dx.jar ~/android-sdk-linux/platform-tools/lib/dx.jar

cp ~/android-sdk-linux/platforms/android-3/android.jar ~/JUNK/lib

cp ~/CHECKOUT/netrexx4android/build/lib/NetRexxR.jar ~/JUNK/lib

# You could just use your text editor to create these 3 scripts.

touch HelloWorld.nrx

echo 'say "Hello"' > HelloWorld.nrx

touch compile_all_nrx.sh

echo 'dalvikvm -classpath /sdcard/NetRexxC.jar:/sdcard/ecj-4.2.jar org.netrexx.process.NetRexxC -classpath /sdcard/lib/android.jar:/sdcard/lib/NetRexxR.jar *.nrx' > compile_all_nrx.sh

touch convert_HelloWorldOnly.sh

echo 'dalvikvm -classpath /sdcard/dx.jar com.android.dx.command.Main --dex --keep-classes --no-strict --output=/sdcard/works.jar HelloWorld.class' > convert_HelloWorldOnly.sh

touch run_my_dex_class.sh
echo 'dalvikvm -classpath /sdcard/NetRexxC.jar:/sdcard/works.jar HelloWorld' > run_my_dex_class.sh

cd ~

~/android-sdk-linux/platform-tools/adb push ~/JUNK /sdcard

~/android-sdk-linux/platform-tools/adb shell

#
# Stop you are in the adb shell working with the device itself.
#

#
# Run these next four commands in there.
#

#cd sdcard
#sh compile_all_nrx.sh
#sh convert_HelloWorldOnly.sh
#sh run_my_dex_class.sh

# You saw some errors go by. Not there in later API levels. But it works.


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx in the Android Shell for ALL.

Jason Martin
In reply to this post by Jason Martin
It fails for me on a real device too.

I got hold of a discarded phone but the touch screen is locked and the display is scattered but I did connect with usb cable and test.

I get the same segfaults and cache errors.

But I note: /data is not mounted or not accessible by me (Maybe because it is locked or something else.) ,

even when I install an app with the jars that should work with no problems.

Can not unlock to see to run app at the moment.

I am sending keycodes to the device through adb shell to try to unlock.






_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/