B4A Library [B4X] BCToast - Cross platform custom toast message - Erel    
Aug 9, 2026   
(34 reactions)BCToast is a custom "toast" message implementation based on BCTextEngine: https://www... As BCToast
End Sub
Sub Activity_Create(FirstTime As Boolean)
toast.Initialize(Root)
End Sub...
link:
How to change the background color?
try this
toast.pnl.Color = xui.Color_White...
link: How to change the background color?...
link:
Note that unlike B4A built-in toast message feature, this toast message can only be displayed from ...
B4A Question B4XPages - BCToast keep visible if i close a page - Alexander Stolte    
Jul 20, 2020   
(2 reactions)Hey,
it would be nice if you have the possibility to use the BCToast across all pages and it stays visible when you close the page like in the native ToastMessage....
link: It is simple in B4A:
bc.Initialize(B4XPages.GetNativeParent(Me))
Just pass the single activity that holds all pages as the parent....
Share My Creation [B4X] B4X Pleroma - open source client for Mastodon / Pleroma social networks - Erel    
Nov 4, 2020   
(16 reactions)What is Mastodon?
IPSbNdBmWKE
Pleroma is a lightweight implementation that extends Mastodon.
B4X Pleroma is a client for these social networks.
More information here: https://www.b4x.com/android/forum/threads/119426/#content
It is based on quite a few B4X components including: BCTextEngine, BitmapCreator, MiniHtmlParser, OkHttpUtils2, OAuth, KeyValueStore, XUI Views, B4XPages, B4XDrawer, B4XGifView, B4XPreferencesDialog, BCToast, xCustomListView, BitmapsAsync, RequestsManager and...
Bug? BCToast message won't go away - MrKim    
Aug 12, 2026While working on my other problem I was hacking away and found this. I realize this probably shouldn't be done but here it is.
B4A only app. Activity_Create. B4A 13.7 Beta.
If you do a BCToast.show THEN load the layout the toast message will appear on the screen and not go away...
link:
There's little point in displaying a toast before Activity_Create has completed.
Call a Sub that shows the toast, using CallSub...
link: There's little point in displaying a toast before Activity_Create has completed.
Call a Sub that shows the toast, using CallSubD...
B4A Question BCToast Failing after latest update - MrKim    
Aug 8, 2026.MJL2Testing.bctoast$ResumableSub_Show.resume(bctoast.java:233)
at com.ISS.MJL2Testing.bctoast._show(bctoast.java:115)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware...
link: for. I tried duplicating it to give you. Copied all of the code prior to the first BCtoast...
link:
I thought libs in b4xlibs were already included so this shouldn't be necessary?
That's tru...
link: app. I disassembled BCToast and noticed that this was included in the lib so I added it to my app and...
B4A Example [B4X] [B4XPages] Barcode Reader - Erel    
Jul 12, 2021   
(41 reactions)97444 https://www.b4x.com/basic4android/images/i_view64_HkncBfNNKe.png
B4A + B4i barcode reader.
Don't miss:
- #PlistExtra in B4i.
- Manifest code + #AdditionalJar in B4A
Depends on BCToast: https://www.b4x.com/android/forum/threads/b4x-bctoast-cross-platform-custom-toast-message.111046/#content
(BCToast will be an internal library in the near future)
While the camera related code is platform specific, the main program logic can still be shared. In this case there isn't too much...
B4A Code Snippet [B4X] BCToast with additional views and pause. - MrKim    
Jun 22, 2021   
(5 reactions)I like BCToast but frequently for us they are used as an educational tool to tell the user what to do next or confirm that he has accomplished a task, etc.
After you are more experienced you may not want to be "batting down" these messages any more so I can add a button or check box "Don't Show This Again".
115324
So I modified Erel's BCToast so you can add additional views - for me it is buttons but it can be anything.
It also extends the length of time the message...
B4i Question BCToast initialize - Scantech    
Aug 18, 2022I can't seem to figure out the simple things like initializing for bctoast.
toast.Initialize(???
Need it in b4xMainpage
Update: It cannot be global and should use root to initialize....
Bug? BCToast have bug with Thai language.(English is complete) - Olaan    
Jun 8, 2022After I change text to be Thai language. it show not complete correctly.
toast.Show($"ไฟล์เก่...
link: it ,I just only tell about BCtoast library has some bug....
link:
The font size is different and the BCToast performs a word-wrap sooner if the text gets too long.
I tried...
link: Please see my code at line 86-88 ,after you have run it and load the html file. The Toasts are diff...
B4A Question Hide BCToast that not hide automatically - asales    
Jul 14, 2021Due this change in the new versions of the Android, I need to change the custom toast message.
I created the code below - based in ShowCustomToast with BCToast - that I can call of any activity... the BCToast in a panel and the user close the panel, before the toast disapears, if I open the panel... As Boolean, BackgroundColor As Int, TxtColor As Int)
Private toast As BCToast
toast.Initialize(act...
link:
If I show the BCToast in a panel and the user close the panel, before the toast disapears, if...
Page: 1  
2  
3  
4  
5  
6  
7