|
Forum Index : Microcontroller and PC projects : MMBasic for Android takes its first step
| Author | Message | ||||
| thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4325 |
Hi folks, MMBasic running natively on an Android phone: ![]() I've proved to myself (~90%) that it is do-able - though with a Bluetooth keyboard for input at the moment. Nobody hold their breath for a download though, there is a very long way to go before I'm going to consider that. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1581 |
Holy moly...great news Well done, Tom |
||||
| JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 4102 |
Wow. Congrats! John |
||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 472 |
Sweet! I can hardly wait for the first public beta. |
||||
| Amnesie Guru Joined: 30/06/2020 Location: GermanyPosts: 711 |
This is so cool! Can't wait to test it! Greetings Daniel |
||||
Chopperp![]() Guru Joined: 03/01/2018 Location: AustraliaPosts: 1106 |
What the posts above said ![]() ChopperP |
||||
| BishopXXL Newbie Joined: 13/01/2019 Location: GermanyPosts: 39 |
very coool !!!! |
||||
| PeteCotton Guru Joined: 13/08/2020 Location: CanadaPosts: 575 |
Very awesome! |
||||
| thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4325 |
Sometimes the "simplest" things are the hardest. I've got soft-keyboard integration, execution of immediate mode BASIC statements, sound and graphics but no useful file-system; modern Android does it's damnedest to sandbox apps and keep them away from the "Documents" folder ... I'm figuring it out but .EDIT: it doesn't help that it can't all be done in C/C++ you have to call to and from Java (or Kotlin), what a ball-ache. Best wishes, Tom Edited 2025-08-06 09:10 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1581 |
![]() Might make more sense to use SD-Card for storage. Yeah, Google has been making life more and more difficult. I notice that the industrial panel PCs can be had with earlier versions of Android which are much less restricted. Same problem with SMS etc. |
||||
| PeteCotton Guru Joined: 13/08/2020 Location: CanadaPosts: 575 |
You used to be able to grant "Permissions" to the app that were accepted by the user to access photos and documents. The problem with both Android and iOS is that they keep changing the permissions models every couple of years to follow new legislation or technical threats (Bluetooth suddenly became "This app might be able to track your location"). In order to keep apps active in the stores, they do need annual maintenance (in my experience), to update these features and/or complete store compliance rules ("Does this product use AI to generate any content that might be offensive" just appeared as a rule on Apple store). I get why both companies do this, but it does make it a pain for the small developer to constantly have to go back and jump through hoops. Either way - my hat is off to you Tom! Another exceptional project that I will follow with great interest. |
||||
| mozzie Senior Member Joined: 15/06/2020 Location: AustraliaPosts: 176 |
G'day Tom, This is looking awesome, hopefully you'll get over the hurdles Will this only work with current versions of Android? I think I have 3 older Android tablets here just waiting for MMBasic Regards, Lyle. |
||||
| thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4325 |
G'day Lyle, The initial target device is my personal phone (a Moto g32 running Android 13). MMB4A v1.0 will be targeting two use-cases: - Programmable calculator - Game*Mite substitute This means no Wireless, Bluetooth or kitchen sinks initially - sorry folks. If I get that far then we will see what the future holds. Best wishes, Tom Edited 2025-08-08 02:25 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
| thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4325 |
Hi folks, It's a bit flakey but I have a file-system and can RUN a program: https://www.youtube.com/shorts/mSnW4Dxcmdc Note that the "programmer's" soft-keyboard is a 3rd party app (https://github.com/Julow/Unexpected-Keyboard). Next up, the EDITor. Best wishes, Tom Edited 2025-09-04 18:19 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1581 |
Exciting stuff Please provide for a soft-keyboard-disable. I prefer to create my own. ![]() Edited 2025-09-04 18:36 by PhenixRising |
||||
| PeteCotton Guru Joined: 13/08/2020 Location: CanadaPosts: 575 |
Great job |
||||
| aFox Senior Member Joined: 28/02/2023 Location: GermanyPosts: 108 |
Hi Tom I am the maintainer of OliBasic a fork of RFO-Basic created by the BASIC legend Paul Laughton. This BASIC! based only on Android's Java engine, because no special compiling for different devices. X11Basic might be similar to your concept. IMO a BASIC number cruncher on Android. https://f-droid.org/repo/net.sourceforge.x11basic_165_src.tar.gz But all C or C++ BASICs on Android have slower graphic performance against Google's customized graphic functions. If you use a Raspberry Pi 4 or 5 (4GB+) you can install an Android version from KonstaKang.com in a lot of versions. A pretty tool for testing different versions, because you can switch OS changes off and on, too. Also a highlight is the direct support of I²C sensors like BME280. Feel free to ask for special code. Gregor |
||||
| thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4325 |
Hi Gregor, Thanks, but you are somewhat missing the point, I very specifically want *MM*Basic on Android and I want it built from the same code and thus with maximum compatibility with my MMBasic for Linux. I also want to do it myself (whilst still recognising that it is built upon the work of Geoff, Peter and others) because that is where 75% of the fun is. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
| PeteCotton Guru Joined: 13/08/2020 Location: CanadaPosts: 575 |
I think you misspelled "pain". |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |