Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: ScriptBasic Android

  1. #1

    ScriptBasic Android

    *** deleted ***
    Last edited by John Spikowski; 18-09-2013 at 16:45.
    ScriptBasic Project Manager
    Project Site
    support@scriptbasic.org

  2. #2
    How did you compile it John? I got the impression that the Android sdk development environment was all Java.

    Charles

  3. #3
    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

  4. #4
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404
    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.

  5. #5
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404
    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.

  6. #6
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404
    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.

  7. #7
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    dataDataTest1

    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

  8. #8
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404
    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.
    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>
    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 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>
    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.
    Last edited by kryton9; 26-04-2012 at 01:45.

  9. #9
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404
    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.

  10. #10
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404
    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
    John, that is the problem, can't do those steps. I get permission denied or the directories are not there.

    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

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Using software patents to destroy Android
    By LanceGary in forum Shout Box Area
    Replies: 1
    Last Post: 17-02-2012, 07:50
  2. Android...
    By oldpapa49 in forum Software discussion
    Replies: 8
    Last Post: 15-01-2011, 09:38
  3. Android powered smartphone anyone?
    By Michael Hartlef in forum Shout Box Area
    Replies: 0
    Last Post: 29-05-2009, 19:28
  4. Android preview
    By ErosOlmi in forum Technology
    Replies: 2
    Last Post: 30-05-2008, 23:37
  5. Android
    By kryton9 in forum Other languages
    Replies: 2
    Last Post: 16-02-2008, 02:11

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •