Shop OBEX P1 Docs P2 Docs Learn Events
using an android phone to program a propeller. — Parallax Forums

using an android phone to program a propeller.

Cole LoganCole Logan Posts: 196
edited 2010-06-28 22:34 in Propeller 1
I saw a website that showed how to make an Motorola Droid act as a USB host. And seeing that android is just a modified version of Linux and we have compilers that will work in Linux, ex BST, how hard would it be to make it work. Would it take just a little modification or a total rewrite. When I get home I am going to make the cable that is required to trick the Droid in to USB-OTG and see if I can get it to see the prop when it is plugged in. If I can get it to at least see the prop can some one on here help me with the next step. I have played with linux much and have never done any programming for it. Or even if you could point me to a site that would have the info I need to learn.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1986 Chevy EL Camino·· No prop yet

1984 Suzukie GS1100GK No prop yet

Comments

  • heaterheater Posts: 3,370
    edited 2010-06-28 18:11
    Well, It's running Linux so we have BSTL as a loader than already works on Linux.
    But it's an ARM processor not an Intel so BradC would have to cross compile it for us to run on ARM. This has already been discussed re: other ARM platforms.

    The Android software stack has a Linux kernel at the bottom and a whole pile of Java on top. Applications should be written in Java according to what little I have read. Can we even run a native binary on it?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.

    Post Edited (heater) : 6/28/2010 6:17:17 PM GMT
  • LeonLeon Posts: 7,620
    edited 2010-06-28 18:37
    The Android kernel is based on Linux, but Android isn't really Linux:

    www.vogella.de/articles/Android/article.html#overview_android

    I've got a Dell Streak, running Android 1.6. They will be updated to 2.2 in a couple of months.

    I can't see anyone being able to develop Propeller software on Android any time soon. The code will have to be rewritten in Java.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Leon Heller
    Amateur radio callsign: G1HSM
  • BradCBradC Posts: 2,601
    edited 2010-06-28 22:34
    The Android kernel can run native binaries if compiled with the right headers and tools (not standard arm-linux binaries). It was done recently using the FreePascal compiler, so there is work happening in that area. It's not going to happen for bst and friends in the foreseeable future though.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "I mean, if I went around sayin' I was an emperor just because some moistened bint had lobbed a scimitar at me they'd put me away!"
Sign In or Register to comment.