in Android it's possible to know if an Activity is visible using ispaused("ActivityName"). What´s the similar command in B4XPages? I really didn't find in the forum...
Sorry the simple question but I really didn't find.
I have a B4XPages code that is using specific java routines only for B4J. If compiled for B4A the routine raises an error that's why it's needed to restrict the compilation only to B4J.
But compiler in B4A is ignoring the directive as follows:
I have an app in B4XPages with three pages:
- B4XMainPage , pedidos and orderDetail
The app switches from B4XMainPage normally to pedidos ... this is the declaration code in B4XMainPage:
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1...
it's known that the best place to put startup code to check parameters and data for app initialization (like creation tables on new databases, environment variables and so on) in Android/B4A is in the start service, as well as the right choice to put global variables is in the...
Hola a todos:
Por fin me he puesto a probar un poco con B4XPages, y he empezado a adaptar el ejemplo B4XPages + B4XDrawer
Creo que he visto algunos ejemplos con php + mysql para hacer login, etc... pero he visto pocos con jRDC2.
Los datos de la base de datos y la interfaz gráfica con bastante...
I'm starting (at last) to work with B4XPages, so I've started to adapt the B4XPages + B4XDrawer example.
I think I’ve seen more examples with php + mysql, but no projects with Jrdc2.
Maybe the dummy data and the UI are too basic, but you can get some ideas.
What do we need?
I ran into this one today and fortunately my penny dropped rather quickly, though I didn't find anything on the forum about this error; hence this post as it might be useful for others. I was changing a standard app into a B4Xpages one, and this error showed up:
In a project based on B4XPages I have one page that should be presented in Landscape mode. I though I should use the SetScreenOrientation from Phone library.
What I have noticed is that when using the SetScreenOrientation to change from one orientation to another the application will be paused...
I posted a simple B4XPages example for an our friend. From within the environment I also created a second B4XPage, by ticking the CheckBox: "Add to parent folder". All is ok, the class is creted and saved at the same directory level as the B4XMainPage.
In the project I also imported (checked) a...
I am using B4xPages and am struggeling with how to select a photo from the phone's album.
In a previous non-B4xPages project that I made I used:
But "oPage" is a Page object in B4i and I cannot use that...
When you add a B4XPage to "the project":
the page ID is automatically converted to lower case and saved. I don't like this (and I had problems as I had stored these IDs in my map - for... "personal" reasons 😁).
[Before anyone replies that I can use...
I use one sub with code attached below that suppose to fill a list with a B4XTable rows.
It works great, but if accidentally I have clicked on "Recents" button on the phone while the code is in the "Do While rs.NextRow " loop the app will crash with the error listed below.
Not sure what would...
I tried using this code for Transparent StatusBar that I learned from This Post On B4XPages for my new project :
Dim ph As Phone
If ph.SdkVersion >= 4.4 Then
Dim jo As JavaObject
Dim window As JavaObject = jo.InitializeContext.RunMethod("getWindow", Null)...
We have a B4XPages app that includes a service module that starts with #StartAtBoot: true. Because B4XPages doesn't start upon a phone reboot, we would like to start B4XPages from that module when the user reboots their phone.
Maybe something like this?
#Region Service Attributes...
I have this code to start a service module when the phone reboots but it doesn't start because my notification is not displayed on the app icon on the phone home screen. This was working in my original app before migrating it to B4APages. Is there any additional coding I need to add...
I just migrated a working non-B4XPages app over to B4XPages because CallSubDelayed was not working correctly when the old app did not have focus. I was advised to migrate to B4XPages. That issue has been resolved just by doing the migration. It seems that loading layouts is done...
Please pardon this stupid question. I'm transactioning a non- B4XPages app to B4XPages. What's the B4XPages equivalent to these attributes or how do I implement them in B4XPages? I get an error that tells me that non of these attributes are supported.
#Region Project Attributes...
Hi to all
Which is the correct way to use FileChooser with B4Xpages?
I made a small app with B4J that has only one page (B4XMainPage). When showing FileChooser, you need to pass the 'owner as Form' parameter, but i did not find a way to pass this parameter,
I get an error whatever I indicate...