Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:56 29 Oct 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MMBasic for Android takes its first step

Author Message
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4325
Posted: 02:02pm 29 Jul 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 1581
Posted: 02:36pm 29 Jul 2025
Copy link to clipboard 
Print this post

Holy moly...great news  

Well done, Tom  
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4102
Posted: 02:41pm 29 Jul 2025
Copy link to clipboard 
Print this post

Wow. Congrats!

John
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 472
Posted: 11:24pm 29 Jul 2025
Copy link to clipboard 
Print this post

Sweet! I can hardly wait for the first public beta.
 
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 711
Posted: 12:30am 30 Jul 2025
Copy link to clipboard 
Print this post

This is so cool! Can't wait to test it!

Greetings
Daniel
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1106
Posted: 12:44am 30 Jul 2025
Copy link to clipboard 
Print this post

What the posts above said
ChopperP
 
BishopXXL
Newbie

Joined: 13/01/2019
Location: Germany
Posts: 39
Posted: 08:16am 30 Jul 2025
Copy link to clipboard 
Print this post

very coool !!!!
 
PeteCotton

Guru

Joined: 13/08/2020
Location: Canada
Posts: 575
Posted: 09:16pm 05 Aug 2025
Copy link to clipboard 
Print this post

Very awesome!  
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4325
Posted: 10:56pm 05 Aug 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 1581
Posted: 03:43pm 06 Aug 2025
Copy link to clipboard 
Print this post



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: Canada
Posts: 575
Posted: 03:57pm 06 Aug 2025
Copy link to clipboard 
Print this post

  thwill said  ... no useful file-system; modern Android does it's damnedest to sandbox apps and keep them away from the "Documents" folder ...


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: Australia
Posts: 176
Posted: 03:50pm 07 Aug 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 4325
Posted: 04:24pm 07 Aug 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 4325
Posted: 08:17am 04 Sep 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 1581
Posted: 08:35am 04 Sep 2025
Copy link to clipboard 
Print this post

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: Canada
Posts: 575
Posted: 10:32pm 10 Sep 2025
Copy link to clipboard 
Print this post

  thwill said  Hi folks,

It's a bit flakey but I have a file-system and can RUN a program:

  ...


Great job  
 
aFox
Senior Member

Joined: 28/02/2023
Location: Germany
Posts: 108
Posted: 07:30pm 11 Sep 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 4325
Posted: 10:28pm 11 Sep 2025
Copy link to clipboard 
Print this post

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: Canada
Posts: 575
Posted: 11:06pm 12 Sep 2025
Copy link to clipboard 
Print this post

  thwill said  because that is where 75% of the fun is.



I think you misspelled "pain".
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025