b4xpages

  1. practicalsoft

    B4X FEED [RESOLVED] [B4X] B4XPages without effect Refresh

    Hi Erel, all. I have 2 Activity B4XPages and this code. B4XMainPage: B4X: 'This event will be called once, before the page becomes visible. Private Sub B4XPage_Created (Root1 As B4XView) Root = Root1 'load the layout to Root 'load the layout to Root Root.LoadLayout("lay_main")...
  2. practicalsoft

    B4X FEED [Solved] B4XPages root parent color

    Hi all, I want to open another page with transition effect from right to left, so i follow erel code in this post; Android Question - Custom transitions between B4XPages I use this code to create an animation transition (left/right or right/left) between activities...
  3. practicalsoft

    B4X FEED B4XPages and Custom Dialog

    I am trying to port this example "CustomB4XDialogTemplate" into my B4XPages app. I receive this error: This is my code for B4XPage2: B4X: Sub Class_Globals Private Root As B4XView 'ignore Private xui As XUI 'ignore Private Dialog As B4XDialog Dim mt As MyTemplate End Sub...
  4. practicalsoft

    B4X FEED B4XPages root parent color

    Hi all, I want to open another page with transition effect from right to left, so i follow erel code in this post; Android Question - Custom transitions between B4XPages I use this code to create an animation transition (left/right or right/left) between activities...
  5. practicalsoft

    B4X FEED [B4X] B4XPages - StartActivityForResult camera failing

    While converting a project to B4XPages, the following code, that worked fine before, is failing on the StartActivityForResult, getting trapped by Catch clause, triggering the "camera not available" toast message. Since it comes straight from an old example from the forum, and was working before...
  6. practicalsoft

    B4X FEED B4XPages and B4XLoadingIndicator

    Hi all, I'm new in B4XPages and I wish to use the B4XLoadingIndicator as @Erel Tutorial (https://bit.ly/39tXhIA). Within this tutorial there is a piece of code that should defined within the "Sub Activity_Resume". B4X: Sub Activity_Resume For Each v As View In Activity.GetAllViewsRecursive...
  7. practicalsoft

    B4X FEED [B4X] B4XPages - Converting to B4XPages

    I'm opening this thread to collect tricks and caveats I'm coming across while converting my projects to B4XPages CallSub from Service Looks like a service that is started at boot may execute before the Main activity is created. This was not a problem with CallSub, since it just won't be...
  8. practicalsoft

    B4X FEED B4XPages.GetPage wrong intellisense hint

    B4X: Dim mp As B4XMainPage = B4XPages.Get("MainPage") should be B4X: Dim mp As B4XMainPage = B4XPages.GetPage("MainPage") ادامه مطلب...
  9. practicalsoft

    B4X FEED [Solved] b4xpage error in debug mode ?

    B4J 8.50 B4XPAGES 1.05 XUI VIEWS 2.35 my app with a lot pages work perfect in release mode, (from IDE and from java -jar myapp.jar), but from ide in debug mode there is issue: B4X: Waiting for debugger to connect... Program started. Error occurred on line: 32 (b4xditta)...
  10. practicalsoft

    B4X FEED b4xpage error in debug mode ?

    B4J 8.50 B4XPAGES 1.05 XUI VIEWS 2.35 my app with a lot pages work perfect in release mode, (from IDE and from java -jar myapp.jar), but from ide in debug mode there is issue: B4X: Waiting for debugger to connect... Program started. Error occurred on line: 32 (b4xditta)...
  11. practicalsoft

    B4X FEED [B4X] [B4XPages] Firebase Push Example

    A simple, B4A + B4i, example based on: B4A: https://www.b4x.com/android/forum/t...-messages-firebase-cloud-messaging-fcm.67716/ B4i: https://www.b4x.com/android/forum/t...h-messages-server-not-required.68645/#content It receives push notifications using Firebase. Note that it requires some...
  12. practicalsoft

    B4X FEED [B4X] B4XPages - Cross platform and simple framework for managing multiple pages

    B4XPages is a library that serves two purposes: 1. Make it simple to develop B4A apps by solving almost all of the challenges involved with Android complex activities life cycle. B4XPages makes B4A behave more similar to B4J and B4i where the new "B4XPage" element is a regular object that is...
  13. practicalsoft

    B4X FEED [B4X] [B4XPages] Pleroma / Mastodon Client - Step 1

    Roughly speaking, Mastodon is an open source, distributed, social network a bit similar to Twitter: Mastodon Mastodon is an open source decentralized social network - by the people for the people. Join the federation and take back control of your social media! joinmastodon.org Pleroma is...
  14. practicalsoft

    B4X FEED 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. B4X: Dim mp As B4XMainPage = B4XPages.Get("MainPage") The "Get" method has changed its name to "GetPage" B4X: Dim mp As B4XMainPage = B4XPages.GetPage("MainPage") ادامه مطلب...
  15. practicalsoft

    B4X FEED 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...
  16. practicalsoft

    B4X FEED {SOLVED} [B4XPages] how to resize layout

    B4XPages 1.05: how to resize layout Width and Height ? in Main: B4X: #Region Project Attributes #MainFormWidth: 600 #MainFormHeight: 600 #End Region ' #Region Delegates Sub MainForm_Resize (Width As Double, Height As Double) B4XPages.Delegate.MainForm_Resize(Width, Height) 'what is...
  17. practicalsoft

    B4X FEED [B4X] B4XPages + B4XDrawer

    B4XDrawer v1.53 adds support for B4J. This is a good opportunity to create a B4XPages example using B4XDrawer. It does require some configuration so pay attention. The example is based on the three pages example...
عقب
بالا