event

  1. M

    Android Question AdMob Stop sending ads

    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!
  2. rleiman

    Android Question [SOLVED] - Image view with repeat click event handler

    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?
  3. M

    iOS Question Fire an event from a class

    Hi, where can I find some documentation/tutorial on #event in B4i class? I want to add a custom event in a code module, fired by my class. thanks
  4. M

    iOS Question Check if the WiFi and the Mobile Data are enabled

    How can i check if the Wifi and Mobile Data are enabled (not connected). And what is the event that triggers when one of those two change
  5. F

    Android Question FloatLabeledEditText change Hint color in event EnterPressed

    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.
  6. ALBRECHT

    Android Question Button Click with passing parameters

    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...
  7. K

    Android Question Check only one checkbox

    I want to uncheck all another checkbox of that same event, when new check box checked.
  8. M

    Android Question [SOLVED] KeyPress Event Unmanageable

    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...
  9. M

    B4A Class Draggable View [Edited - Swipe Gesture]

    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...
  10. C

    Android Question Invoking multiple activities back-to-back w/o 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...
  11. Myr0n

    Android Question How can I add a new event in xCustomListView?

    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...
  12. K

    Android Question custom view parent click

    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)...
  13. Sandman

    Android Question [SOLVED] Activity_PermissionResult event is never called

    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...
  14. Thorsen

    Wish Abstract designer - go to event implementation

    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...
  15. Star-Dust

    B4J Library [B4X] [XUI] SD: B4XViewEvent

    Using the XUI views I realized the need to follow the events of Touch, Drag, Click and Release in a unique way. Required XUI 1.72+ In Android I would use this command: Sub EventName_Touch (Action As Int, X As Float, Y As Float) In B4J I would use this: Sub EventName_MouseDragged (EventData As...
  16. Star-Dust

    B4J Question [SOLVED] OnTouchListener event

    I created a class that changes the event View as a parameter by changing the view. This works well in B4A but does not work in B4J. This is the code: Sub Class_Globals Private CallBack As Object 'ignore Private EventName As String 'ignore End Sub 'Initializes the object. You can add...
  17. MarkusR

    Android Question Event from CustomView Class to Activity Modul?

    is there a Simple way to create a event in a Customview to catch this Event in the Activity Modul? something like CustomView: Sub ButtonFinish_Click RaiseEvent Ready(1) End Sub --- Activity: Sub Ready(a as int) End Sub
Top