b4xpages

  1. mcqueccu

    B4J Question [SOLVED] B4XPages how to move borderless form

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

    Android Question [B4XPages] How know if a page already exist ?

    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
  3. Chris Guanzon

    Android Question How to handle Activity_Keypress with animation

    How to handle Activity_Keypress with custom animation in b4xpage?
  4. Lucas Siqueira

    B4A Library [B4X] BR_B4XFloatTextField

    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...
  5. a6000000

    I want The MqttChat Example in [B4XPages] with runtime permissions

    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] -...
  6. vfafou

    Android Question [B4APages] About background tasks and services

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

    Android Question [B4XPages] About B4XPages.GlobalContext

    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...
  8. vfafou

    Android Question [B4XPages] Errors when trying to run GoogleMaps Example

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

    Android Question B4XPages KeyPress

    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")...
  10. vfafou

    Android Question [B4XPages] B4XPages questions

    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...
  11. L

    Spanish Para que sirven B4X Pages..???

    Estimados por favor su ayuda aclarando para que sirven las B4X Pages??? Muchas gracias...
  12. swChef

    Android Example B4XPages vs Activities, Bluetooth Example

    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...
  13. jahswant

    Android Code Snippet How I converted my apps to B4XPages

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

    iOS Question Problem with B4XPages and Chat Layout

    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...
  15. alimanam3386

    Android Question get the current page ( current page is showing to user)

    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...
  16. Guenter Becker

    Android Question ActionBar Color and Icons

    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...
  17. Michael2150

    Android Code Snippet B4x pages GetStartingIntent

    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...
  18. Michael2150

    Bug? B4xPages GetPage suggestion has a code snippet that should be changed.

    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")
  19. P

    Android Question b4xpages questions

    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...
  20. alimanam3386

    iOS Question How to Initialize iMedia variable in B4XMainPage

    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"
Top