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")...
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...
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...
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...
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...
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...
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...
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)...
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)...
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...
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...
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...
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")
ادامه مطلب...
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...
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...
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...