In B4XPages, the back key press (bottom right of the bar at the bottom of the screen) is handled by Main with this Sub:
Sub Activity_KeyPress (KeyCode As Int) As Boolean
Return B4XPages.Delegate.Activity_KeyPress(KeyCode)
End Sub
This then should trigger in the B4XPage this Sub...
Sé, que para cargar una pagina de B4XPages empleo un código como este
B4XPages.ShowPage("Pagina 2")
pero cuando estoy en otra pagina, como hago para mostrar B4XMainPage?
si ejecuto por ejemplo esto
Private Sub ButtonGuardarYVolver_Click
GuardaData
B4XPages.ShowPage("B4XMainPage")...
Hola Foro, y según sea Buen Día, Buena tarde o buena noche....
He aquí mi primer post y mi primera duda....
Hay forma de Reiniciar un Activity Main desde el mismo Activity main, y dejarlo como nuevo?
Estoy practicando con una calculadora básica, sin utilizar los edittext clásicos de todos los...
Hi everyone, i'm completing an app, but i really wish to solve those problems that i always had in these years using B4A.
Glitch 1:
I'm in Activity "A", i press a button to go to Activity "B".
Before showing the Activity "B" layout there is this ugly white screen in between, and then the layout...
Hi everyone, i've an app with the Main activity used as Login form.
When i user log in i wrote:
StartActivity("Home")
But if the user put the app in background and then opens it up from the homescreen (not from the recent apps) starts the Main activity instead of the Home activity (that is the...
From another class: Trying to set the "Status" property that's in the "Main" class - even with a lowercase "set" the Intellisense still displays the full name.
On some smartphone wit API 26 and Android 8, the app close reporting in log this error
Caused by java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
android.app.Activity.onCreate (Activity.java:1038)
in.raguso.educom.main.onCreate (main.java:33)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.