Android Question What is the best AI for generating B4X apps?

rtek1000

Active Member
Licensed User
Longtime User
I heard that Mocha AI (getmocha.com) can create apps, and it would be very useful to be able to generate complete projects using the B4X platform, with the help of a dedicated AI.
 

josejad

Expert
Licensed User
Longtime User
it would be very useful to be able to generate complete projects using the B4X platform, with the help of a dedicated AI.
I think we still haven't this, but you can try some approach with:

 
Upvote 0

Toley

Active Member
Licensed User
Longtime User
Gemini is quite powerful did you have a look at this recent post?
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
... it would be very useful to be able to generate complete projects using the B4X platform, with the help of a dedicated AI.
each time I read something like this, it reminds me that episode os the simpsons, where Homer gets to create "his dream car"....
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
I remembered He had the steering wheel placed on the car roof...
Anyway, if "developers" start "creating" 100% prompt based IA driven apps, can they still call themselves developers?
 
Upvote 0

Mashiane

Expert
Licensed User
Longtime User
it would be very useful to be able to generate complete projects using the B4X platform,
For the past couple of years I have been into web dev and now have an opportunity again to create b4a apps.

I am currently using ChatGPT Codex, Gemini 3.1 Pro, sometimes Kimi and sometimes the LLMArena to create this project below. So Im using Visual Code, Antrigravity, OpenCode, NotebookLLM as part of my tooling now.


Productivity wise from using AI (100%) and some of the web components for SithasoDaisy5 were created using AI, so why not.

Well, I only started two months ago or so to consider AI in my tools, so far not regretting it.

All the best.
 
Upvote 0

rtek1000

Active Member
Licensed User
Longtime User
I found an AI that can generate the complete project.

Initially, the AI generated a simple project, similar to how B4A used to do before it became B4X Pages.

But after attaching an example project generated by the IDE, the AI was able to generate the complete project for B4X Pages. Note: send zip file, avoid attaching pre-compiled projects, they have large files and take longer for the AI to analyze them. Use the "Export as Zip" option in the File menu of IDE.

The project I requested had many files and only one problem: the input variable name was the same as the function name. After resolving this, the IDE was able to compile the project without errors:

From "Public Sub RefreshToken(RefreshToken As String) As HttpJob" to "Public Sub RefreshToken(strRefreshToken As String) As HttpJob"

Regarding some of the capabilities (written by the AI):
The AI is highly capable of understanding and generating complete B4X (B4A/B4i/B4J) projects. By analyzing existing project structures, the AI can:
  • Generate Full Project Scaffolding: Create .b4a project files, Starter services, and B4XPages layouts from scratch.
  • Perform Version Migration: Successfully adapt older projects to modern standards, such as migrating standard Activities to the B4XPages framework or updating projects for B4X IDE v13.40+.
  • Logic Implementation: Convert business logic into clean, modular B4X code, including API services using OkHttpUtils2, JSON parsing, and custom class structures.
  • Resource Management: Organize Files folders, manifest attributes, and conditional symbols for specific Android API levels (e.g., Android 5+ compatibility).

This AI isn't free, but it can give credits for first-time users and for inviting other users.

If anyone wants to try it out: Invitation link here
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
I remembered He had the steering wheel placed on the car roof...
Anyway, if "developers" start "creating" 100% prompt based IA driven apps, can they still call themselves developers?
I think that the terms is
Vibe Coders
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Anyway, if "developers" start "creating" 100% prompt based IA driven apps, can they still call themselves developers?

G1.jpg


Created using GROK (a few seconds): can I call myself a painter/graphic designer?

[The wood of that table in reality would not have the reflection of the laptop!]
 
Last edited:
Upvote 0

Mashiane

Expert
Licensed User
Longtime User
I found an AI that can generate the complete project.

Initially, the AI generated a simple project, similar to how B4A used to do before it became B4X Pages.

But after attaching an example project generated by the IDE, the AI was able to generate the complete project for B4X Pages. Note: send zip file, avoid attaching pre-compiled projects, they have large files and take longer for the AI to analyze them. Use the "Export as Zip" option in the File menu of IDE.

The project I requested had many files and only one problem: the input variable name was the same as the function name. After resolving this, the IDE was able to compile the project without errors:



Regarding some of the capabilities (written by the AI):


This AI isn't free, but it can give credits for first-time users and for inviting other users.

If anyone wants to try it out: Invitation link here
This *Manus* is rather steep, R700 bucks a month. :oops: Let me rather stick to my existing Gemini at R430 bucks rather.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
I'm using Copilot with satisfaction and I'm paying little: zero dollars but... per day! 😁
I too use Copilot... it gets things wrong in silly ways, but usually either points me in the right way, or, by pointing me the wronggest way, pushes me to prove it wrong
 
Upvote 0

Brian Dean

Well-Known Member
Licensed User
Longtime User
Copilot... it gets things wrong in silly ways, but usually either points me in the right way

Yes - I find exactly the same thing - CoPilot output often needs to be adjusted. CoPilot is easy to get to but ChatGPT (free version) does seem to do better and often amazes me.

However, coding is my hobby; if I hand the job over to AI then I have nothing left. I used to enjoy responding to forum questions; that is almost gone now. I am never going to reach 1000 posts!
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
Yes - I find exactly the same thing - CoPilot output often needs to be adjusted. CoPilot is easy to get to but ChatGPT (free version) does seem to do better and often amazes me.
I don't like ChatGPT, as most Google apps, I don't trust it... it's too machine like
Copilot, is like that old friend, often Alzheimer struck, that even by talking rubbish, manages to make sense of it's own BS.
However, coding is my hobby; if I hand the job over to AI then I have nothing left. I used to enjoy responding to forum questions; that is almost gone now. I am never going to reach 1000 posts!
My case exactly, these days, except for particular needs, I mostly lurk the form......
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
However, coding is my hobby; if I hand the job over to AI then I have nothing left.
Perhaps I'm about to write something illogical. Forgive me if it sounds that way. Keep in mind that I've been awake for 5 minutes and have a headache that's been nagging me since yesterday!

I understand what you mean, but you could think of using AI as a bit like using templates (this is an illogical comparison, but I don't think it's entirely wrong).

Templates too take away the satisfaction of "doing it yourself," but they help speed up software development; they already provide a basic structure. It's a bit like AI were dynamic templates.

After writing this, I'm ready to end up in the hands of a psychiatrist 😁
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
"Aho, ho scritto una risposta a Copilot in romanesco e... me sta a risponne nello stesso modo!"
[Hey, I wrote a reply to Copilot in Roman dialect and... he's replying to me the same way!]

[Copilot]
"Ahoooo… mo sì che ce semo!" (written in excellent Roman dialect!)
[NOT literal translation: "Heeey, it's fine now"]

And I'll tell you in real Roman dialect:
“Mo’ che m’hai dato ‘sti metodi… te sistemo la combo come se fosse casa mia.”
["Now that you've given me these methods... I'll fix your combo like it was my own home."]

Aho… mo’ te lo dico proprio co’ tutto er core e tutta la tecnica:

---

It's really funny to see that it now writes to me (a few sentences) in Roman dialect and spontaneously!
 
Last edited:
Upvote 0
Top