Hi,
Can u help me please?
I have an B4A app with a button, the idea is that when i click on the button, the app will open a url with this code for example:
Dim i As Intent
i.Initialize(i.ACTION_VIEW, "https://www.examplewebpage.com")
StartActivity(i)
And the web page will close automatically...
Hi all,
I have a B4J Server application implementing a REST API service with multiple Handler Class Modules.
In one of these class modules I need to use CallSubDelayed to raise a callback event which is used in a Wait For in a different class module.
Is this possible?
If so, how do I reference...
Hi All,
I have to intercept, from an Android device, an event raised from a library of the device.
I added the library with
#AdditionalJar: companyregdevicelibrary
In this library there is an "IButton" object that I initialize with JavaObject
Dim CompDevice As JavaObject...
Hi, Guys
How do you handle Callbacks in IOS - I am converting code from B4A to B4I
The B4A code is
' Timeout trips - hide the progress dialog and raise a Timeout event.
Sub tmrProgressTimeout_Tick()
Log("Timeout tripped")
Hide
#if B4A
If SubExists(mCallback, mEvent & "_Timeout")...
hi guys.
whats the equivalent in B4J to this java code?:
x.y.addEventListener(new EventAdapter() {
@Override
public void error(someXYobject) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {...
Hi
For .AddEventListener and .CallBack, is it possible to specify the event from a string?
For example
'add an event
Sub AddEvent(module As Object, eventType as string)
'define the method to be called
Dim sEvent as string = $"game_${eventType}"$
Dim e as BANanoEvent
'define the callback
Dim...
Hi,
I've to integrate my app with a library that manage the communication of a device with a POS.
I initialize my class object with javaObject and run methods without problems. But the lib needs a method "Register(callbacksClass)" where I pass my activity istance to manage the callbacks methods...
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.