How did you compile it John? I got the impression that the Android sdk development environment was all Java.
Charles
*** deleted ***
Last edited by John Spikowski; 18-09-2013 at 16:45.
How did you compile it John? I got the impression that the Android sdk development environment was all Java.
Charles
Extension modules:
That is going to be quite a challenge, John. The Devices, GUI and graphics environment will differ substantially from regular PCs. Does the NDK allow you access all the Java-based SDK functions?
Charles
John, I used dropbox to move the unzipped file scriba from my pc to my android phone. When I try to run scriba, it will load and try to run and then it won't launch. I then renamed it to scriba.apk, it loads and when it tries to run it then gives and error saying it can't parse it. I don't want to install the android development kit at the moment to just transfer the file to my phone. Hope there is a solution.
According to this article the dropbox method should work. http://www.techrepublic.com/blog/sma...id-device/3114
Last edited by kryton9; 05-04-2012 at 04:51.
John, thanks for the information. I will launch a terminal window and see if I can get it to run from there. Will report later....
I installed the terminal emulator. chmod and chown are both available. I tried chmod 0001 scriba.apk but got permission denied as a result. The 'users' command is not available, so I am not sure who the terminal thinks the user is to try to make chown changes.
Last edited by kryton9; 06-04-2012 at 05:10.
John, I got a permission denied with ls -l
I probably have to root the phone, which is not something I want to do to get true root access. This is just the terminal emulator that I am running.
ls by itself works, just as a note.
I used 'dropbox' to get it to the phone. Then I used the 'astro' file manager to move it. Both are free apps.
John, I tried tonight and failed. I took screenshots to document things.
My phone is HTC EVO 4G running Android 2.3.5
It is not rooted.
I tethered my phone via usb to my notebook.
I found the data directory under the android directory.
I then created a data sub directory in the data folder.
I copied scriba to that folder.
I then ran terminal emulator on my phone.
You can see my steps and hopefully my mistake.
I combined the 2 screenshots into one. You can see how I set things up folder wise on the sd card
and what I did in the terminal window.
Hope we can get this working, I think we are close.
dataDataTest.jpg
John, I think the help they are giving is using adb instead of seeing the phones sdcard as an external drive as I have been trying.
I connected to the phone via adb, but have no luck in finding the directory for the terminal emulator or pushing the scriba file over as they mentioned.
The help they give is much like I see on many linux help forums, very cryptic.
Here is my adb transcript. As you can see I connected via adb to my phone, but I can't get to the folders as they wrote in their help.
I also just tried this John.C:\Users\Kent\Downloads\android root>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT17LHL10205 device
C:\Users\Kent\Downloads\android root>adb shell ls
adb server is out of date. killing...
* daemon started successfully *
app-cache
config
cache
sdcard
acct
mnt
vendor
etc
ueventd.supersonic.rc
ueventd.rc
ueventd.goldfish.rc
system
sys
shutdown.supersonic.rc
sbin
proc
init.supersonic.rc
init.rc
init.goldfish.rc
init
default.prop
data
cwkeys
bootcomplete.supersonic.rc
bootcomplete.rc
root
dev
C:\Users\Kent\Downloads\android root>adb shell cd data
adb server is out of date. killing...
* daemon started successfully *
C:\Users\Kent\Downloads\android root>adb shell ls
adb server is out of date. killing...
* daemon started successfully *
app-cache
config
cache
sdcard
acct
mnt
vendor
etc
ueventd.supersonic.rc
ueventd.rc
ueventd.goldfish.rc
system
sys
shutdown.supersonic.rc
sbin
proc
init.supersonic.rc
init.rc
init.goldfish.rc
init
default.prop
data
cwkeys
bootcomplete.supersonic.rc
bootcomplete.rc
root
dev
C:\Users\Kent\Downloads\android root>
Too me it looks like you need to root the phone. From reading the help they posted on the link you presented, it looks like they just assume it will work. I would like to see their adb logs of actually doing on an unrooted phone.C:\Users\Kent\Downloads\android root>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT17LHL10205 device
C:\Users\Kent\Downloads\android root>adb push scriba /data/data/jackpal.androidterm
adb server is out of date. killing...
* daemon started successfully *
failed to copy 'scriba' to '/data/data/jackpal.androidterm/scriba': Permission denied
C:\Users\Kent\Downloads\android root>
Last edited by kryton9; 26-04-2012 at 01:45.
John, yes I did get his terminal emulator from the google play market.
I am running Windows 7 on my notebook and not linux. Perhaps that is causing the problems, but adb should run the same on both I would think?
Can you ask your developers to just print their adb transcripts not from the emulator, but from a pc to an android non rooted cell phone as I have done.
In my case, I put the scriba file on my pc in the folder where my adb.exe file is. So it would be nice to see from start to finish.
From PC:
adb devices
adb push scriba
any other commands they might use for permissions etc.
Then from the Phone, running Terminal Emulator and getting scriba to run.
John, that is the problem, can't do those steps. I get permission denied or the directories are not there.I think you're making this much harder then it needs to be.
1. Copy the scriba file to the /Android/data/data/jackpal.androidterm directory
2. In your jackpal terminal cd /Android/data/data/jackpal.androidterm
Anyways, I finally rooted my phone. Here is how things are on the phone.
The sdcard and data are all directories in the very root of the phone.
There is no jackpal directory on the sdcard at all. It is in the root and then in the data folders.
I will use your other tips to get it working, at least on a rooted phone... hope to come back with good results tonight or tomorrow
Bookmarks