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...
Hi, my name is Lucas Siqueira 🇧🇷 !
I am very happy 😁 to share with you the designer at B4XPAGES.
This code queries currency quotes using the free https://exchangerate.host/ api.
I also implemented a designer with progress while the app makes the http request to get the data via json and...
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"
Hi All
I am having an issue where my test app is crashing when moving to the second page of my App, It seems to relate to the left Pane drawer but I cant see what I am doing wrong.
Error log below, Also attached a sample project for reference.
One other question, How do I set the size for a...
Good night, I'm migrating to B4x pages and I can't display the location on Google maps. Can someone help me.
The Application is stopped on the line
**Wait For MapFragment1_Ready***
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
'load the layout to Root...
Hi All,
I can see that the title is set for B4XPages by using B4XPages.SetTitle, so is there anyway I can have the title on the right hand side, since my title is in Arabic (right to left)?
Thanks for your help!
Kind regards,
Ayman
Hello Erel, you have done an excellent job with B4X!
When possible, include in B4A, B4I, B4J a button to create project [B4X] B4XPages - Cross platform, so for those who start in b4x it would be faster to start a project.
Another suggestion is in the event B4XPages.AddPage (_, _) I could...
I am trying to run the example for B4X pages but i am getting following error in both B4A and B4J
Syntax error.
Unknown member: values
Is there some version problem, i am using B4a version 9.8 and B4J version 8.1
Hello fellow B4X'ers ;)
NO - This is not a tutorial.
PLEASE NOTE: To test the attached file, you need to sign up below for free to receive your free develop API key
https://pixabay.com/api/docs/
This morning after reading Erels B4XPages tutorial, I spent about 30 minutes converting my B4A...
I'm still trying to wrap my head around the new and exciting feature B4XPages and I understand it's still not entirely finalized. However, I saw this limitation:
I was wondering if this is a limitation that might disappear once B4XPages evolves, perhaps even in the near future? Or is this a...
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.