Hi everyone, i want to share a stupid piece of code that could be useful (to me it did).
I had the need to know what was the page displayed when Application_Active sub is fired -> this is the post
What I did
Create a code module where i save all the useful functions and created a single...
The original code: https://www.b4x.com/android/forum/threads/inputdialog-function.52811/post-331242
I modified the code to be able to add two buttons, and receive the "Success" parameter to distinguish when the user tap on the positive button or cancel button.
Dim no As...
If I use many elements (100-1000) for the SearchTemplate, then I have to wait more than 100ms. Is it possible to somehow speed up this process? Also, the time depends on different devices, the older the device, the longer the list is displayed.
I've used Spinner...
How can I make an XUI Input dialog that has B4XFloatTextField.
The XUI Views Example has an example of the B4XFloatTextField, but it it's parent is the main window not a dialog.
There is also an example of an Input dialog template, but it only has a simple text entry field:
Another B4A library 🤪
This is a wrapper for link
Version : 1.1
"Custom AlertView Dialogue is the world's most advanced alert view library. Custom AlertView Dialogue includes simple message popups, confirmation alerts, selector popups, action sheet bottom menus...
If you're getting crashes when you have dialogs open (e.g. msgbox, fileDialog, inputDialog, etc.) from the various versions of the Dialogs libraries, you can fix most/all of them by switching from the traditional Show method to ShowAsync.
This has been posted in various forms...
This is a fully customizable popup dialog which supports Image, Video, Custom View, Simple text, Long Scrollable text and many more.
Video Alert (remote video) with video pause play functionality
Hi everyone, there is a way to wait for the user to click on the notification dialog, so the app stops to do things?
MsgBox2("Msg", "Body", "Title", Array("Yes", "No"))
Wait For Msg_Click (ButtonText As String)
If ButtonText = "Yes" Then
hi, i saw this post that show partially how to show the new dialog style from Apple.
The only problem is that, even if i had some top/right buttons to the page displayed as dialog, they aren't disaplayed because i think there isn't the navigation bar in that page.
Where i add the button (taken...
I want a better dialog for time input so I created this time (picker) dialog using B4X XUI Views and IME library. I think the code has too many lines. Hope someone can simplify or improve it.
Note: I haven't tested but I think this code can also work for B4i and B4J.
Update: I have tested with...
I have a small code that questions the user to confirm to exit the Application and I am getting a strange error, saying that the compiler cannot parse the dialog response
The Error in the Log window is :
Error occurred on line: 1559 (Main)
I tried to make the voice recognition to close when there is no match by intent.https://developer.android.com/reference/android/speech/RecognizerIntent.html#RESULT_NO_MATCH
Dim i As Intent
First, i spend a lot of time in creating views, some views i need by my self, but some views not and to create a high quality view cost a lot of time. If you want to support me, then you can do it here by Paypal. :)
Hello, I needed a cross platform msgbox and dialog, that I can modify to 100%...
I'm using this line to make sure the user has permission to get the devices location when the user first installs the app.
It calls a dialogue box asking for access to the devices location. If the...
Another datepicker in Dialog.
I'm trying to add anotherdatepicker in CustomLayoutDialog.
Its shows Log
Error occurred on line: 150 (AnotherDatePicker)
java.lang.RuntimeException: Object should first be initialized (B4XView).