Small clarification needed regarding Resumable Sub/Wait for Event consumption
I have a sub called TTSCompleted which is called by a lib
in main code I use the following statement
Wait for TTSCompleted
When the event happens "Wait for" apparently resumes but the Sub TTSCompleted is not...
Hi
Is there a way to raise an event when the app crashes and do something (like run a service)?
The idea is to send the sqlite db (via ftp in a service) when the app crashes.
Thank you
Hi!
I have added SetActivityAttribute(Main, android:windowSoftInputMode, adjustResize|stateHidden) to the manifest for using the Ime_heightChanged event but it only works if I add the same line one by one all the activities I need to handle de IME event.
Is there a single line for the...
Hi everyone,
I have a Panel with insisde a Scrollview that fills the panel.
I wish to handle the Click event of the panel, but it is not working, nothing happen when i click something where the scrollview is present. like if the the scrollview is acting as a shield between me and the panel.
How...
Hi everyone, i'm trying to translate a standard project in b4xpages.
i pretty finished doing it.
The last thing remaining to complete the "translation" is:
How can i get the _Click event when i press on the page?
before i was using PageEventName_Click
Thanks in advance
Hi,
I need to do something when the user change the cursor position in an editText.
There is natively no event to handle the cursor changing position in an Edit text (it just handle the text and focus changing).
As i can see , it's possible to create such a listener in java with class override...
hi, i recently used admob.
I created one Native ad, it started working some days ago.
Today i created other two native ads, after that i stopped receving the ads, even the first one i created some days ago (the event doen't trigger..)
It is normal? is an admob behaviour?
Thanks!
Greetings.
I plan to create a couple of image views that will increment or decrement a slider only if they do a long click and keep their finger on the views. Does B4A have an image view that has a rapid change property like one from the B4XPlusMinus view?
Hi,
i want to change the color of the hint in a FloatLabeledEditText in the _EnterPressed Event.
When the field is filled with a value the hint should not appear in "disabled" version. It should have
a "normal" color.
Hello,
I have a sub that fill a custom view with a product list.
The _ItemClick event is handling perfectly his job , when we are clicking into the global item line, but :
that product list (code below) have 2 kind of added buttons which have to launch (with button_Click) 2 differents script...
Hi, everyone, i'm coding an app, and i wanted to do it graphically catchy, so i designed my own msgBox in the designer, and i display it using the custom B4XDialog and loading the layout i did.
Now, the problem is that it doesn't aumatic handle the KeyPress Back event, so you have to do it...
Hi everyone, this class is an edit of this class from Erel:
https://www.b4x.com/android/forum/threads/classes-are-soon-coming.18395/
I've done some changes to achieve an animated "Swipe gesture (left to right)"
If you swipe all the way right to the trigger point, you can trigger an event...
Newbie question.
I modified the Two Activities example to see if I could learn how to call multiple activities without an event.
I copied Activity2, modified it slightly and named it Activity3.
I was able to call multiple activities by using the click event of multiple buttons.
But how do you...
Hello
As far as I know xCustomListView now is included as internal library (lib version 1.67) but a not long time ago was a custom view until version 1.66.
My question is, how can I add an #Event: ItemLongClick (Index As Int, Value As Object) and use it in my app since there is not included the...
Hii experts,
My custom view Label class is working fine.
I add custom view label object in custom list view by add row function.
But customlistview_itemclick event is not running when I click on custom view.
Here is my code of custom cllick event
Private Sub mBase_Click
Log(mCallBack)...
I have this code in an activity:
Sub theButton_Click
' Have we permission to use camera?
Private rp As RuntimePermissions
Private havePermission As Boolean = True
If Not(rp.Check("android.permission.CAMERA")) Then
Msgbox("We need this permission because reasons so...
Hi, as a former VB6 user I expected to find a shortcut from designer to event code.
For now I go to module and search for/create the implementation
It's nice to generate from designer by right click on control - generate -
I expected a similar - 'implementation/code' - submenu that would take...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.