Subscribe to library updates

hatzisn

Expert
Licensed User
Longtime User

hatzisn

Expert
Licensed User
Longtime 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
Longtime 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.
 

DonManfred

Expert
Licensed User
Longtime User
[Chargeable] Firebase MLVision Translate
Update v1.05
- Some new objects like ModelManager which can return a List of all known Languages, get list of installed Languages, delete a Language already downloaded.
Example is updated to use the new Methods too.
 

agraham

Expert
Licensed User
Longtime User

Erel

B4X founder
Staff member
Licensed User
Longtime 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/t...xt-engine-bbcode-parser-rich-text-view.106207
 
Top