b4xpages

  1. 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] -...
  2. 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...
  3. 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...
  4. 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...
  5. 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")...
  6. 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...
  7. Lucas Siqueira

    Share My Creation [B4XPAGES] YOUR COINS - CODE B4X - CURRENCY QUOTES

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

    Spanish Para que sirven B4X Pages..???

    Estimados por favor su ayuda aclarando para que sirven las B4X Pages??? Muchas gracias...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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")
  16. 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...
  17. 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"
  18. K

    Android Question B4XPages & B4XDrawer -> App Crashes when Loading page with Drawer

    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...
  19. ADRIANO ROGERI

    Android Question Migrating to B4xpages Google Maps

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

    Android Question [SOLVED] B4XPages - right to left title?

    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
Top