Subscribe to library updates

Informatix

Expert
Licensed User
LibGDX

v1.13:
- I fixed a bug when the device was rotated (the Timer thread, for example, was not disposed which caused a problem in lgGestureDetector);
- I added two functions for Tiled maps: renderImageLayerAt and renderTileLayerAt;
- I updated the manifest of all templates and examples.
 

hatzisn

Well-Known Member
Licensed User
I have added some new functionality to the Whats new B4X-library. Get the file in the relevant post.

https://www.b4x.com/android/forum/threads/b4x-whats-new-class.108678/#post-679211

(23/8/2019)
I have added the function CheckToShowWhatsNew which accepts the name of the Activity or page name (string) the version of the what's new we want to show (int) and an SQL. The function will check if the database has a table named "WhatsNew" and if there is not it will create it and insert the values of the name and the version and return True. If there is the table it will check if the name is in the inserted names and if it is not it will insert it as well as the version and return True. If the name there is in the table it will check the version and if the version we have sent is higher than the one in database it will update to the new version and return true else it will return false. If the result is true we show the what's new and if it is false we do not show it. OBVIOUSLY you will have to add to the dependencies the SQL (B4A) or the iSQL (b4i) as seen bellow.
 

DonManfred

Expert
Licensed User
[Chargeable] Firebase MLVision Translate

With ML Kit's on-device translation API, you can dynamically translate text between 59 languages.

The Languagecodes understood are:
AF, AR, BE, BG, BN, CA, CS, CY, DA, DE, EL, EN, EO, ES, ET, FA, FI. FR, GA, GL, GU, HE, HI, HR, HT, HU, ID, IS, IT, JA, KA, KN, KO, LT, LV, MK, MR, MS, MT, NL, NO, PL, PT, RO, RU, SK, SL, SQ, SV, SW, TA, TE, TH, TL, TR, UK, UR, VI, ZH

On-device translation is intended for casual and simple translations, and the quality of translations depends on the specific languages being translated from and to. As such, you should evaluate the quality of the translations for your specific use case. If you require higher fidelity, try the Cloud Translation API.

Also, ML Kit's translation models are trained to translate to and from English. When you translate between non-English languages, English is used as an intermediate translation, which can affect quality.

Refer to Usage Guidelines for ML Kit On-device Translation for important guidelines and restrictions on usage of this API. This document covers requirements around doing attribution in your app when translating text.
 

Erel

Administrator
Staff member
Licensed User
BCTextEngine v1.60 - Important update. Adds support for "lazy loading". In this mode the text is only drawn when it becomes visible and is removed when it becomes invisible.
With this change it is possible to use BBCodeView to show text made of thousands of lines.
Lazy loading is enabled by default. It is set in the designer. Uncheck this option if you want to get a single bitmap with all the text.

https://www.b4x.com/android/forum/threads/b4x-beta-bctextengine-bbcodeview-text-engine-bbcode-parser-rich-text-view.106207
 
Top