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

Status
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:

B4AObjectBrowser3.1.4.0.png


upload_2014-12-18_21-26-19.png


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:

Afrikaans
Arabic
Bulgarian
Chinese
Czech
Danish
Dutch
English
French
German
Hebrew
Indonesian
Italian
Japanese
Norwegian
Persian
Polish
Portuguese
Romanian
Russian
Spanish
Swedish
Thai
Ukrainian
Vietnamese

B4X Object Browser adds support for:
Catalan
Greek


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

Have fun!

Dave

Change history:
B4A Object Browser
2.0.0.0 - First public release.
2.0.1.0 - Minor GUI update, remove the need to click Reload button during initial setup.
2.1.0.0 - See post #8
2.2.0.0 - See post #23
2.3.0.0 - see post #31
2.3.0.0 - see post #35
2.4.0.0 - see post #60
2.5.0.0 - see post #63
2.6.0.0 - see post #70
2.6.1.0 - see post #75
2.7.0.0 - see post #79
3.0.0.0 - (Pre-release)
3.0.1.0 - Major GUI updates
3.0.1.1 - Minor fixes to correct some "Copy" functionality that had been removed
3.1.0.0 - All known bugs fixed, plus multiple language support added. Separate link provided below. See post 112 for full info.
3.1.1.0 - Additional languages, ability to override GUI language, Chinese language fixed. See post 122 for more info.
3.1.2.0 - Fixes to French, German and Italian language translations. 15 languages now provided. Search history added.
3.1.3.0 - Portuguese language added, making this language number 16
3.1.4.0 - Updated ru and ja translations, Moved Options to View menu, Added support for DesignerName attribute. See post 128 for full details.
3.1.5.0 - Corrected some logic problems around Version Number and DependsOn. Fixed URL Links. See post 147 for full details.
3.1.6.0 - Increased search options, fixed some search bugs, added Hebrew. Full details in post 156.
3.2.0.0 - AutoUpdate, new language, a couple of minor bugfixes. Full details in post 157.
3.2.1.0 - New languages, a few bugfixes. Full details in post 164.
3.2.2.0 - Updated Thai translation.
3.2.3.0 - Fixed further Thai translation strings, arabic and Thai language settings, memory corruption error when switching from R-L and L-R languages and more
3.2.4.0 - Added the ability to override language settings.* See "How to override language setting.txt" in the installation directory.
3.2.4.1 - Fixed bug when overriding language settings.
3.2.4.2 - Fixed bug when selecting the following languages: Arabic, Bulgarian, Hebrew, Thai
3.2.4.3 - 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
3.2.4.4 - Fixed bug where installer did not remove previous version
3.2.5.0 - Added ability to select viewing of Class_Globals and Property Get / Property Set
3.2.5.1 - Added ability to select viewing of DesignerCreateView
3.2.5.2 - Added Romanian language
3.2.5.3 - Fixed problem when selecting Romanian
3.2.5.4 - Fixed 2nd problem when selecting Romanian
3.2.5.5 - Added Vietnamese language
3.2.5.6 - Added preliminary support for B4a 3.0 (Beta)
3.2.5.7 - Added ability to show duplicate Library Short Names
3.2.5.8 - Forced GUI to always show Full type name when showing Class and Library annotations
3.2.5.9 - Fixed a bug when reloading libraries after performing a search. Also added Donate form.
3.2.5.10 - Set XML Reader to null after closing the file, plus set properties to remove flickering when displaying file data.
3.2.5.11 - Corrected an issue where a blank History would cause an application error
3.2.5.12 - Added Czech, Danish and Persian languages
3.2.5.13 - Persian language updated
3.2.5.14 - 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 3.2.5.1): http://www.b4x.com/android/forum/th...n-b4a-object-browser.25682/page-9#post-172076

B4X Object Browser
1.0.0.0 - First public release
4.0.0.1 - Minor changes - mainly updating graphics to reflect Anywhere Software changes.
4.0.0.2 - Bug fixes, Desktop icon.
4.1.0.0 - Code Snippet Management added.
4.1.1.1 - Spanish language updates
4.1.1.2 - Modified the Method / Property / Field Copy function appropriately to copy either the selected text or all text
4.1.1.3 - Performed multiple bug-fixes to correct issues with right-click commands
4.1.1.4 - Performed another bug-fix to the right-click menu (for Events list)
4.1.1.5 - Performed another bug-fix to the right-click menu (for copying Fullname)
4.1.2.0 - Added support for B4R
4.1.3.0 - 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 3.2.0.0 (NOT AutoUpdate) is available here.
Version 3.2.1.0 (AutoUpdate enabled) is available here.
All newer versions (from Version 3.2.2.0 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.
 

Attachments

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

Vader

Well-Known Member
Licensed User
Longtime User
Version 3.0.1.0 has been released. This version must be installed from the setup program (sorry about that), but contains many GUI changes to streamline usage.

B4AObjectBrowser3.0.1.0.png


No Community features yet - they will come later.

See post #1 for the download links (bottom of post).

Please let me know what you think. As most of you are aware, I do implement features that you ask for, when I can.

Hmm I just realised I may have removed some Copy functionality. That will require testing tomorrow. Apologies in advance for that.



Dave
 

Informatix

Expert
Licensed User
Longtime User
Version 3.0.1.0 has been released. This version must be installed from the setup program (sorry about that), but contains many GUI changes to streamline usage.



No Community features yet - they will come later.

See post #1 for the download links (bottom of post).

Please let me know what you think. As most of you are aware, I do implement features that you ask for, when I can.

Hmm I just realised I may have removed some Copy functionality. That will require testing tomorrow. Apologies in advance for that.

Thank you.
 

Vader

Well-Known Member
Licensed User
Longtime User
Hmm I just realised I may have removed some Copy functionality. That will require testing tomorrow. Apologies in advance for that.

Minor changes made to correct the functionality that I had mistakenly removed. Version 3.0.1.1 contains these fixes (see page 1 for link).
 

Vader

Well-Known Member
Licensed User
Longtime User
Here's a screenshot:
attachment.php


As you can see, the version number is only wrong in the Class Details. Is it due to the fact that we do not use the point as a decimal separator in France?

I am adding other languages right now (de, fr, it). When that is done, I will make sure this works for you.
 

Vader

Well-Known Member
Licensed User
Longtime User
Ok, so I can see that when I change the language to fr-FR, the Version number is displayed incorrectly.

I will see if I can get it fixed for you quickly.

When I have that fixed, I will release Version 3.1.0.0 with English, French, German and Italian. I will have to work out what languages people want to see next.

I used some tools to do the translation so it may not be perfect.

This has taken me all day to add the regional language support. It's hard work!

B4AObjectBrowser3.1.0.0.png
 

Vader

Well-Known Member
Licensed User
Longtime User
Ok, so I had a think about it and now it's fixed.

I won't release it right now - it's after midnight here, but I will see if I can do it tomorrow. No promises.
 

Vader

Well-Known Member
Licensed User
Longtime User
Shortly (in the next 5 minutes) I will be posting up the setup for version 3.1.0.0. This version contains bugfixes for all known problems, plus adds language support for the following:
English
Spanish
German
Polish
French
Dutch
Japanese
Italian

Chinese is also in there, but in my testing, I couldn't get it to work. Your mileage may differ.

If anyone has any problems with the tool-generated translations provided, send me your email address and I will send you a spreadsheet with all the strings.

See Post #1 for the download link.

-------------------------------------------------

Poco antes (en los próximos 5 minutos) Voy a publicar la configuración de la versión 3.1.0.0. Esta versión contiene correcciones de errores para todos los problemas conocidos, además añade soporte para los siguientes idiomas:
Inglés
español
alemán
polaco
francés
holandés
japonés
italiano

China también está ahí, pero en mis pruebas, no pude hacerlo funcionar. Su kilometraje puede variar.

Si alguien tiene algún problema con las traducciones generadas por herramientas proporcionadas, me envíe su dirección de correo electrónico y le enviaremos una hoja de cálculo con todos los hilos.

Ver Post # 1 para el enlace de descarga.

-------------------------------------------------

Kurz (in den nächsten 5 Minuten) Ich werde Entsendung bis das Setup für Version 3.1.0.0. Diese Version enthält Bugfixes für alle bekannten Probleme, plus einige sprachliche Unterstützung für die folgenden:
Englisch
Spanisch
Deutsch
polnisch
Französisch
Holländer
Japanisch
Italienisch

Chinesisch ist auch da, aber in meinen Tests konnte ich nicht, dass es funktioniert. Ihre Erfahrungen können abweichen.

Wenn jemand irgendwelche Probleme mit den Tool-generierten Übersetzungen vorgesehen, senden Sie mir Ihre E-Mail-Adresse und ich schicke Ihnen eine Tabelle mit allen Saiten.

Siehe Beitrag # 1 für den Download-Link.

-----------------------------------------------------

Wkrótce (w ciągu następnych 5 minut) będę Ogłaszanie konfigurację dla wersji 3.1.0.0. Ta wersja zawiera poprawki dla wszystkich znanych problemów, plus dodaje wsparcie językowe dla następujących czynności:
angielski
hiszpański
niemiecki
polski
francuski
holenderski
japoński
włoski

Chiński jest również tam, ale w moim testowania, nie mogłem dostać się do pracy. Twój przebieg mogą się różnić.

Jeśli ktoś ma jakieś problemy z narzędziem wygenerowanych tłumaczeń dostarczonych, wyślij mi swój adres, a ja wyślę Ci arkusz kalkulacyjny z wszystkich ciągów.

Zobacz post # 1 na odnośnik pobierania.

-----------------------------------------------------

Peu de temps (dans les 5 minutes qui suivent) Je vais poster la configuration pour la version 3.1.0.0. Cette version contient des correctifs pour tous les problèmes connus, plus ajoute le support pour les langues suivantes:
Anglais
espagnol
allemand
polonais
français
néerlandais
japonais
italien

Chinoise est aussi là, mais lors de mes tests, je ne pouvais pas le faire fonctionner. Votre kilométrage peut varier.

Si quelqu'un a des problèmes avec les traductions générées par l'outil fourni, envoyez-moi votre adresse e-mail et je vous enverrai une feuille de calcul avec toutes les chaînes.

Voir Post # 1 pour le lien de téléchargement.

-----------------------------------------------------

Kort (de komende 5 minuten) Ik zal posten van de setup voor versie 3.1.0.0. Deze versie bevat bugfixes voor alle bekende problemen, plus voegt taalondersteuning voor het volgende:
Engels
Spaans
Duits
Pools
Frans
Nederlands
Japanse
Italiaans

Chinees is ook daar, maar in mijn testen, kon ik niet krijgen om te werken. Jouw snelheid kan verschillen.

Als iemand problemen heeft met de meegeleverde tool-gegenereerde vertalingen, stuur me je e-mailadres en ik zal u een spreadsheet met alle snaren.

Zie Bericht # 1 voor de download link.

-------------------------------------------------

まもなく(次の5分で)私は、バージョン3.1.0.0のためのセットアップを掲載される。このバージョンでは、すべての既知の問題に対するバグフィックスが含まれており、加えて、次の言語サポートを追加します。
英語
スペイン語
ドイツ語
ポーランド語
フランス語
オランダ語
日本人
イタリア語

中国人はそこにもありますが、私のテストでは、私はそれを動作させることができなかった。あなたのマイレージは異なる場合があります。

誰もが提供されているツールで生成された翻訳で何か問題がある場合は、私にあなたの電子メールアドレスを送信し、私はあなたにすべての文字列を含むスプレッドシートをお送りいたします。

参照は、ダウンロードリンクのために#1を投稿してください。

-----------------------------------------------------

Poco (nei prossimi 5 minuti) io sarò il distacco il setup per la versione 3.1.0.0. Questa versione contiene correzioni per tutti i problemi noti, e aggiunge il supporto per le seguenti lingue:
inglese
spagnolo
tedesco
polacco
francese
olandese
giapponese
italiano

Cinese è anche lì, ma nel mio test, non sono riuscito a farlo funzionare. La vostra situazione può essere diversa.

Se qualcuno ha problemi con lo strumento generati traduzioni fornite, mandami il tuo indirizzo e-mail e vi invierò un foglio di calcolo con tutte le stringhe.

Vedi Post # 1 per il link per il download.

--------------------------------------------------

不久,在接下來的5分鐘我將張貼在安裝版本3.1.0.0。此版本包含錯誤修正所有已知的問題,再加上增加了以下語言支持:
英語
西班牙的
德國的
波蘭語
法國人
荷蘭人
日本
意大利的

中國也是在那裡,但在我的測試中,我無法得到它的工作。您的里程可能會有所不同。

如果任何人有任何問題與提供的工具生成的翻譯,請給我您的電子郵件地址,我會送你一個電子表格中的所有字符串。

請參見#1的下載鏈接。
 

Vader

Well-Known Member
Licensed User
Longtime User
I installed the new version but it is still in english and I didn't find a way to change that.

It is supposed to auto-detect your current language (ie locale) settings and switch seamlessly. I didn't add the ability to switch manually.

If you switch manually (which I did in code) it displays correctly.

Let me set french as the locale on a VM and I will see what I get. I'll report back here what happens. Worst case scenario I will have to put a switch in there.

Edit: I have to download language packs to test this properly. This is going to take a while, so I will have to get back to you tomorrow or Thursday.
 
Last edited:

Vader

Well-Known Member
Licensed User
Longtime User
Ok, this is now fixed. I have tested it with French and German.

The application has not changed - the setup program didn't install the required language files. My apologies for the mixup.

Please uninstall the application, download the new setup and install again. The link has not changed (See post #1)

B4AObjectBrowser3.1.0.0Francais.png


B4AObjectBrowser3.1.0.0Deutsche.png


Edit: I also added russian.
 
Last edited:

Vader

Well-Known Member
Licensed User
Longtime User
Great. That works now but the french translation needs some corrections. Could you send me the file?

Email sent. Let me know by PM if you need it sent elsewhere.

Does anyone else want to fix the translation of the other languages?
 

magoandroid

Member
Licensed User
Longtime User
Email sent. Let me know by PM if you need it sent elsewhere.

Does anyone else want to fix the translation of the other languages?

The Italian version, now it works, but needs some corrections.
Could you send me the file?
 

Toley

Active Member
Licensed User
Longtime User
Hello Vader, I really enjoy your soft. But a have a little request. My PC is french Canadian but I would prefer to have the soft in english. Can you place a selector please. Something like auto, english, french etc... Thank you for your work.
 
Status
Not open for further replies.
Top