Finally, am starting a new project with B4J.
Even though its just a B4J (desktop application), i still want to use B4XPages. This is my very First Attempt in B4Xpages.
My question is how do i access click event for mainform like this Mainform_MousePressed (EventData As MouseEvent)
or how do i...
Hi,
I'm converting my app to B4XPages and i want to know if a page already exist ,is there a way to do it?
Dim MyPage As B4XMyPage
MyPage.Initialize
if B4xPages.PageExist("MyPage") then
MyPage = B4xPages.GetPage("MyPage")
else
B4XPages.AddPageAndCreate("MyPage",MyPage)
end if
Regards
Hello everyone!
With the example of Erel library and with the help of Biswajit, we made some modifications to the original B4XFloatTextField library, recreating it with some modifications in the visual transforming into BR_B4XFloatTextField.
See how the example looked:
Note: I have no iphone to...
I want The MqttChat Example in [B4XPages] with runtime permissions
Mqtt Example
https://www.b4x.com/android/forum/threads/mqtt-chat-with-auto-discovery.75713/
4 or more Modules: [Main] - [B4XMainPage maybe a start button to Layout1] - [PageLayout1] - [PageLayout2] -...
Hello!
I would like to ask the following:
As I understand, I could have the Starter service for background tasks like push messages functionality with web sockets, send/receive messages via the websocket push framework and background GPS management to send location data to server even if the...
Hello!
I would like to ask the following questions:
According to this post: https://www.b4x.com/android/forum/threads/b4xpages-shared-constants.121269/ we can access globals from any B4XPages app modules. If we write:
Sub Process_Globals
End Sub
Sub Service_Create
Public AppGlobals As...
Hello!
I'm starting to use B4XPages and I'm studying several useful for my needs examples.
Trying to run the GoogleMaps example, the first error I was having without try to debug, was at compiling process and it is the following:
Generating R file. Error
AndroidManifest.xml:29: error: Error...
How to use KeyPress with B4XPAGES?
I have a webview in B4XMainPage and I would like to use the command webview.back, I don't know how to work with keypress in separate classes
Sub Activity_KeyPress (KeyCode As Int) As Boolean
If KeyCode = KeyCodes.KEYCODE_BACK Then
Log("teste1")...
Hello!
I have written a taxi calling app with custom web socket push framework. The app has a starter service for global objects declaration and a pushservice service for handling the communication between server and mobile device. The pushservice also handles the Location and GPS...
In the thread BT Pages Example, a new version of the BT example was created using Pages. Since I'm just looking at Pages for the first time, I popped the new and old versions into a code comparison utility (old version is linked in the new example post). However I found that, while with reason...
To convert my apps was pretty easy. I just opened my activities(B4A) and code modules(B4i & B4J) with notepad ++ then I changed their types to class. Then I Changed all my show methods(B4i & B4J) and Activity_Create(B4A) to B4xPage_Created then for dynamic data populations I moved all those...
I have tried to use this Cross platform chat layout example with B4XPages, I changed some of code for example I used just one page as chat page and all the views are loaded by call loadLayout function like this :
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1...
I am using B4XPages in my current app, my question is how we can get the current page that is showing to user ( current page ) ???
in b4a we have isPause function and that was very useful.
I am using firebase messaging, I have this code in Main module :
Private Sub...
Dear Erel,
Due to the lack of documentation I have to place some questions as followes:
How to change the color of the inbuild ActionBar?
How to put a Logo Icon before the Title of the Action Bar?
How to put an Icon before the MenuItem Text?
Could you please give some snippets to answer this...
When you're trying to get the starting intent of the activity from a B4xPage class object, add this sub to the activity you want to get the Intent from:
Public Sub GetStartingIntent as Intent
return Activity.GetStartingIntent
End Sub
And when you need to get it in the B4xPage call it...
When using B4XPages.GetPage you get the following code snippet as a suggestion on how to use this function.
Dim mp As B4XMainPage = B4XPages.Get("MainPage")
The "Get" method has changed its name to "GetPage"
Dim mp As B4XMainPage = B4XPages.GetPage("MainPage")
Hey there,
B4X pages seems very nice, so I wanted to try it.
I downloaded the ThreePagesExample but didn't understand it. So here are my questions, hopefully someone could help me :)
1. You know the layouts? Like Example.bal for b4a? How do I transfer the ui from b4a layout to b4j and/or b4i...
Previously, we initialised the iMedia variable simple like this
media1.Initialize("cam" , Page1)
For now ( B4XPages projects ) how we can Initialize that in B4XMainPage ? we have not "Page1"
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.