b4xpages

  1. A

    iOS Question [solved] B4XPages - B4XPage_Appear crash

    Hi All, I am trying to set the text for B4XFloatTextField in B4XPage_Appear but it crashes with the stack in the code block below. I understand that when a page appear the events that will raise is B4XPage_Created then B4XPage_Appear, so I am tryin to use B4XPage_Appear since my data is coming...
  2. LucaMs

    Android Question [Solved] B4XPages - ClosePage error

    Sub Class_Globals Private Root As B4XView Private xui As XUI Public Page2 As pag2 End Sub Public Sub Initialize Page2.Initialize End Sub 'This event will be called once, before the page becomes visible. Private Sub B4XPage_Created (Root1 As B4XView) Root = Root1...
  3. vfafou

    Android Question [B4XPages] Question about user closing from task manager.

    Hello! I have noticed that when I close the B4XPages app from android task manager, the app is still working in the background. If we don't use B4XPages, the activity has the UserClosed parameter at Activity_Pause and when the user closes the app from task manager the value is True. My question...
  4. LucaMs

    Android Question [Closed] B4XPages - ThreePagesExample - Private Page

    In the ThreePagesExample, B4XPage2, there is: Sub Class_Globals ' ... Private Page3 As B4XPage3 End Sub Private Sub B4XPage_Created (Root1 As B4XView) ' ... Page3 = B4XPages.GetPage("Page 3") ' ... End Sub This way Page3 won't be a private instance of B4XPage3 or am I...
  5. W

    iOS Question [B4XPages] How to change text color of the ActionBar

    Hi: I been able to change the background color of the ActionBar: Dim no As NativeObject = NavControl no.GetField("navigationBar").RunMethod("setBarTintColor:", Array(no.ColorToUIColor(Colors.aRGB(255,0xd8d,0x29,0x29)))) ' #FF8D2929 And the Text content...
  6. LucaMs

    Other B4XPages - accessing pages

    This is meant to be a suggestion, almost a trick; I don't know where I should write it. The method to obtain a reference to a B4XPage is: Dim Page As clsMyPage = B4XPages.GetPage("PageId") As you can see in the ThreePagesExample project, the two "extra" pages, Page2 and Page3, are declared...
  7. LucaMs

    Android Question [Solved] B4XPages - Root is animated

    I get an ugly effect when showing a B4XPages. I set the layout Animation duration to 0ms, but I think that the Root Pane(l) is animated. I tried: Private Sub B4XPage_Created (Root1 As B4XView) Root1.SetLayoutAnimated(0, Root1.Left, Root1.Top, Root1.Width, Root1.Height) Root = Root1...
  8. LucaMs

    Wish B4XPages.ShowPage2(MyPage)

    B4XPages.ShowPage2(MyPage) where MyPage is a B4XPage (B4XPages.ShowPage requires a B4XPage string identifier, as you know).
  9. rleiman

    Android Question [SOLVED] - Anchors seem to be ignored when using SetLayoutAnimated

    Greetings, I started to experiment with B4XPages and really like them. I also used SetLayoutAnimated to slide a layout called pnlWhiteDialog into view. It slides into view as expected but the alignment of the views on the layout are not being displayed as expected. For example I have a Label...
  10. Star-Dust

    Android Example [B4X] [B4XPages] FirebasePush + FirebaseAuth

    Today for the first time, I started messing with B4XPages and Firebase. Even though I had already watched B4XPages, I hadn't fumbled to understand better. The hardest thing was Firebase, configuration and settings, especially with iOS. (Traumatic , certificates, profiles, keys ....) I noticed...
  11. mcqueccu

    B4J Question 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...
  12. 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
  13. Chris Guanzon

    Android Question How to handle Activity_Keypress with animation

    How to handle Activity_Keypress with custom animation in b4xpage?
  14. 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...
  15. 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] -...
  16. 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...
  17. 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...
  18. 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...
  19. 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")...
  20. 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...
Top