Android Tutorial [B4X] B4A, B4i, B4J and B4r API documentation - B4X Object Browser

Not open for further replies.
API documentation - B4a, B4i, B4J and B4R (i.e. B4X) Object Browser (which also includes Code Snippet Management)

Hi everyone,

As you may or may not be aware, I have embarked on a project to bring better documentation to us all.

The first problem I have had is that the official and semi-official documentation tools aren't what I was hoping for. Not saying they aren't good, they just aren't what I need.

My first thankyou was called the B4a Object Browser. This version was for B4Android only. It is my own version of the XML file loader. I call it the B4a Object Browser.

The second thankyou is an updated version that supports B4A, B4I and B4J. This is called the B4X Object Browser.

If you know the Visual Studio Object Browser, you should have a good idea of what I am trying to emulate.

To run it you must have .NET Framework 3.5 SP1 installed, and you must install it from my setup.

I have only tested it on Windows, and not with Mono.
I am assuming that everyone that wants to use it, will be on Windows.

Here are some screenshots:



Download the appropriate zip, unzip it and run the setup. I suggest you scan it for viruses before you run it of course.

B4A Object Browser:
When it runs the first time, it will need to know where the B4a Library XML files are, so ensure you go into the Options and configure them.
If you are upgrading, you can Import your old settings, and in fact are prompted to do so if you have a blank configuration.

If you are asked to find the B4A Library XML files, browse to your B4a Library folder (usually C:\Program Files\Anywhere Software\Basic4android\Libraries, or if you are using 64 bit Windows, it is C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries)

From this point, it will remember the path, so you will not have to enter it again.

B4X Object Browser:
The paths to your B4A, B4I and B4J installations (and the Libraries folders under them) will be determined automatically.

In the Options screen you can set multiple paths, with the ability to modify them.

It has multi-language support, and will detect your PC's language and apply the changes automatically. If you want to over-ride this, you may do so from the Options screen.

In B4A Object Browser, the following languages are supported:


B4X Object Browser adds support for:

I suggest everyone that uses this tool subscribe to the thread so you are informed of changes.

Have fun!


Change history:
B4A Object Browser - First public release. - Minor GUI update, remove the need to click Reload button during initial setup. - See post #8 - See post #23 - see post #31 - see post #35 - see post #60 - see post #63 - see post #70 - see post #75 - see post #79 - (Pre-release) - Major GUI updates - Minor fixes to correct some "Copy" functionality that had been removed - All known bugs fixed, plus multiple language support added. Separate link provided below. See post 112 for full info. - Additional languages, ability to override GUI language, Chinese language fixed. See post 122 for more info. - Fixes to French, German and Italian language translations. 15 languages now provided. Search history added. - Portuguese language added, making this language number 16 - Updated ru and ja translations, Moved Options to View menu, Added support for DesignerName attribute. See post 128 for full details. - Corrected some logic problems around Version Number and DependsOn. Fixed URL Links. See post 147 for full details. - Increased search options, fixed some search bugs, added Hebrew. Full details in post 156. - AutoUpdate, new language, a couple of minor bugfixes. Full details in post 157. - New languages, a few bugfixes. Full details in post 164. - Updated Thai translation. - Fixed further Thai translation strings, arabic and Thai language settings, memory corruption error when switching from R-L and L-R languages and more - Added the ability to override language settings.* See "How to override language setting.txt" in the installation directory. - Fixed bug when overriding language settings. - Fixed bug when selecting the following languages: Arabic, Bulgarian, Hebrew, Thai - Fixed bug when showing empty parentheses, Search and Clear Search buttons, bug where Clear Search button forced library reload even if no search text was entered - Fixed bug where installer did not remove previous version - Added ability to select viewing of Class_Globals and Property Get / Property Set - Added ability to select viewing of DesignerCreateView - Added Romanian language - Fixed problem when selecting Romanian - Fixed 2nd problem when selecting Romanian - Added Vietnamese language - Added preliminary support for B4a 3.0 (Beta) - Added ability to show duplicate Library Short Names - Forced GUI to always show Full type name when showing Class and Library annotations - Fixed a bug when reloading libraries after performing a search. Also added Donate form. - Set XML Reader to null after closing the file, plus set properties to remove flickering when displaying file data. - Corrected an issue where a blank History would cause an application error - Added Czech, Danish and Persian languages - Persian language updated - Added "Always on top" setting (under "Always on top" menu setting) and modified each Form to follow this setting
----------- Note: No further updates will be performed to B4a Object Browser

Full list of changes here (before

B4X Object Browser - First public release - Minor changes - mainly updating graphics to reflect Anywhere Software changes. - Bug fixes, Desktop icon. - Code Snippet Management added. - Spanish language updates - Modified the Method / Property / Field Copy function appropriately to copy either the selected text or all text - Performed multiple bug-fixes to correct issues with right-click commands - Performed another bug-fix to the right-click menu (for Events list) - Performed another bug-fix to the right-click menu (for copying Fullname) - Added support for B4R - Changed auto-update download to .msi (instead of .exe)

I have put together a pdf to understand how to use it. It is included in the setup, but you can get it separately here (559 Kb).
Grab the setup and unzip and install it. This must be done this way because of the file size being too big for the forum. (>2 MB)...

B4a Object Browser
Version (NOT AutoUpdate) is available here.
Version (AutoUpdate enabled) is available here.
All newer versions (from Version onwards) are available through AutoUpdate, and will not be provided here (other than the link below).
The latest version is always available from here.

B4X Object Browser
The latest B4x Version is available from here. AutoUpdate will take over from that point.


  • upload_2014-12-11_22-32-46.png
    106.1 KB · Views: 2,125
Last edited:


Well-Known Member
Licensed User
Longtime User
Excellent, this looks like another great resource. Thanks again for the contribution.


Well-Known Member
Licensed User
Longtime User
Thank you Dave. It's really useful.


Licensed User
Longtime User

Thanks for sharing. I'll have a look at it, the screenshot looks nice.



Active Member
Licensed User
Longtime User
Thank you very much Dave.

This is by far the most usefull tool for people like me who don't have a big Visual Basic backgroung knowledge. :sign0098:


Well-Known Member
Licensed User
Longtime User
Update posted (

You will have to navigate to your Libraries Directory again after you "install" this update.


Well-Known Member
Licensed User
Longtime User
Updated to

Ok, so here is the latest version (


Removed Reload button (option now provided in File menu)
Grouped class information into a group box
Added "Loading Libraries" information when waiting for Form to load Libraries
Added classic File menu, including Reload Libraries option
Help menu (Only shows About box, but is enough to know what version you have)

Browse to Library folder
Optionally show methods, Properties and Fields (At least one must be selected)
Optionally show Void in Usage
Optionally Show Full typenames
Optionally show empty parentheses
Label above Methods, properties and Fields treeview changes according to your selected options.

Known issues:
If you change your View options and click OK, you will have to click on the Method/Property/Field again for the updated options to take effect.
You will have to re-specify your Library location after applying this update.


Edit: See post 1 for updated file

Last edited:
  • Like
Reactions: jrp


Licensed User
Longtime User
I can just feel it.
Thanks for sharing.


Well-Known Member
Licensed User
Longtime User
Nice tool but it lacks a setting for the additional libraries folder. Most of my libraries are not in the B4A library folder (I don't like to mix third-party libraries with official B4A libraries and I think that I'm not the only one in this case).

Another little problem: special chars protected with \u (e.g. \u00e9 = é) are not converted.

The first of these is fixed. I have added the ability to have any number of paths. This would allow people to keep the Libraries separate for whatever reason (though of course, B4A will only look in two paths).

As for the Unicode conversion, I am working on that.

Thirdly, I see in your library that you use <U> and </U> to format the text. I will be adding support for this also.



Licensed User
Longtime User
The first of these is fixed. I have added the ability to have any number of paths. This would allow people to keep the Libraries separate for whatever reason (though of course, B4A will only look in two paths).

As for the Unicode conversion, I am working on that.

Thirdly, I see in your library that you use <U> and </U> to format the text. I will be adding support for this also.


Great ! :icon_clap:
Not open for further replies.