Android port

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Android port

Post by pfalcon » Wed Sep 02, 2015 6:43 pm

FYI, I'm working on Android port. Well, actually with this change: https://github.com/micropython/micropyt ... a46d3d6aa0 it just builds with toolchain from NDK and basically works (no testsuite validation performed yet).

This topic is to share the progress of the port, and hopefully we'll provide binaries for Android in the scope of https://github.com/micropython/micropython/issues/1295 .
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

SpotlightKid
Posts: 463
Joined: Wed Apr 08, 2015 5:19 am

Re: Android port

Post by SpotlightKid » Thu Sep 03, 2015 4:06 pm

Very cool! Looking forward to trying it out, when I finally decide on an Android tablet to buy.

User avatar
mbirth
Posts: 25
Joined: Mon Oct 20, 2014 1:00 pm
Location: Berlin, Germany
Contact:

Re: Android port

Post by mbirth » Tue Oct 13, 2015 10:07 pm

If you need a beta tester, I have a Nexus 9 waiting for a MicroPython APK... ;)
pyBoard v1.0 + LCD32MKv1.0 | WiPy + Expansion Board | GitHub

User avatar
femto
Posts: 6
Joined: Wed Oct 14, 2015 6:21 am

Re: Android port

Post by femto » Sat Oct 17, 2015 1:12 pm

Me too! :D

Fat Boy Tablet: Samsung Galaxy Tab Note Pro 12.2

BR,

HD

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Android port

Post by pfalcon » Sat Oct 17, 2015 2:11 pm

As of now, all required code changes are merged into mainline. I hope to work on easily accessible build script for Android next. The immediate target is native Linux MicroPython executable, running in Android command line (adb shell). There're no plans for "APK" at this time (well, I already play with one, but it still needs to be run from command line).
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

User avatar
mbirth
Posts: 25
Joined: Mon Oct 20, 2014 1:00 pm
Location: Berlin, Germany
Contact:

Re: Android port

Post by mbirth » Sat Oct 17, 2015 2:58 pm

pfalcon wrote:well, I already play with one, but it still needs to be run from command line
That's what I meant with APK. I'm perfectly fine running it from the shell (or a Tasker shell command).
pyBoard v1.0 + LCD32MKv1.0 | WiPy + Expansion Board | GitHub

User avatar
femto
Posts: 6
Joined: Wed Oct 14, 2015 6:21 am

Re: Android port

Post by femto » Sun Oct 18, 2015 8:20 am

I'm working most of my working hours in a Linux shell, so I completely agree with @mbirth that a simple APK without any UI would be fine for me too.

User avatar
kfricke
Posts: 342
Joined: Mon May 05, 2014 9:13 am
Location: Germany

Re: Android port

Post by kfricke » Sun Oct 18, 2015 12:06 pm

femto wrote:I'm working most of my working hours in a Linux shell, so I completely agree with @mbirth that a simple APK without any UI would be fine for me too.
+1 *signed*

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Android port

Post by pfalcon » Tue Oct 20, 2015 9:44 pm

Ok, Android build script is available in my "cross" branch: https://github.com/pfalcon/micropython/ ... android.sh

Testing and reports are welcome!
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

User avatar
femto
Posts: 6
Joined: Wed Oct 14, 2015 6:21 am

Re: Android port

Post by femto » Wed Oct 21, 2015 7:55 am

Thanks a lot, will try immediately when back at home again! :D

Post Reply