b4xpages

  1. D

    Android Question b4xpages label view best practise

    Hi, Guys I was just wondering if the the label view is the best way to display text on a page for x-platform (i.e. Android - iOS) application. The reason why I am asking, I always use Label views for text and cast it to B4Xview of in both B4A and B4i applications and has worked well in the...
  2. D

    Android Question Passing a reference to an object

    Hi, Guys I am having a problem - I am using B4X pages and have setup an object to store information used by may classes and pages in my application. In the App this global object (with a public attribute) resides in the B4XMainPage, however when testing is can reside elsewhere. So I have...
  3. D

    Android Question B4Xpages how to load a panel saved by Designer

    Hi, Guys I have what appears to be a simple question - How to you load a panel (created and saved using Designer) onto a B4X page? I have tried the following code and it does not show the new panel. Private Sub B4XPage_Created (Root1 As B4XView) Log("B4XAddPlayer_Created") Root = Root1...
  4. M

    Android Question [B4X_Pages] Runtime Permission inside Classes (Wait For)

    Hi everyone, I'm moving part of my code done in a B4XPage into a Standard Class. In this code i've a Runtime Permission CheckAndRequest that requires the "Wait For" block Private Sub BeginBLEscan rp_ble.CheckAndRequest(rp_ble.PERMISSION_ACCESS_FINE_LOCATION) Wait For...
  5. asales

    Android Question B4XPages and activities in the same project

    I have some big projects with several activities, that I want to change to B4XPages. As will be a huge work, I thinked in start with change only the main activity to B4XPageMain and maintained the other modules as activities, until change all. I want to know if there any problem in to use...
  6. Y

    Android Question Edittext does not shift when the virtual keyboard is displayed in B4XPages with immersive screensplash

    Hi, I made the following observation, after having integrated an immersive splashscreen in a B4X application (i.e.: in the Main): once displayed, the virtual keyboard does not allow the edittext to automatically shift upwards, despite the fact that I I also used "IME" in the relevant pages of...
  7. J

    Android Question Error in manifest for B4XPages project

    I'm getting an error on the Manifest when Compiling a B4XPages project. Error parsing manifest script: Line=1, Word=< Command expected Here is the Manifest: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"...
  8. J

    Android Question B4XView to contain text with scrolling

    I have a reasonably sizeable amount of text which I want to display. I want scrolling (ideally both vertical & horizontal, but at least vertical) so that if it's bigger than the space allocated in the Designer the user would be able to see all the text using scrolling. As I'm using B4XPages, I...
  9. E

    Android Question Error occurred on line: 15 (B4XPages)

    I'm trying to pass a list value from my app Main to B4XMainpage On my Main I have this CallSub2(B4XPages.mainpage, "select_clients", list2) And on B4XMainpage I have this code public Sub select_clients (title As List) 'Autocomplete Box select_business_name.Setitems (title) End Sub But...
  10. epiCode

    Android Question Trapping Back Key in B4XPages ?

    In my original project which did not use B4XPages I was able to trap back key by following code in Main Activity Objective here is trap back key and close drawer if open else ask if user wants to exit without saving Sub Activity_KeyPress (KeyCode As Int) As Boolean Select KeyCode...
  11. J

    Android Question B4XPages project does not change button properties

    I have a B4XPages project and am using B4A v11.20 on it. The app runs Ok on a phone except for one point. The app has a DetailsPage called by the MainPage on clicking its Start button ('defined' in the page's main.bal file. The DetailsPage has an imageview ('defined' in its details.bal file)...
  12. epiCode

    Android Question Ideal Background Service Setup

    I am using B4XPages in my project. There is a TTS module which is supposed to play even when screen is turned off. It plays for a while then pauses and resumes only when screen is unlocked ( probably as long as tts queue is clear) So after a lot of forum search - using a service seems to be the...
  13. LucaMs

    B4XPages video tutorials

    I wrote here few minutes ago this post: but it is "hidden", there. So I submit the question here, as poll.
  14. LucaMs

    Italian Vantaggi dei progetti B4XPages

    Avevo già tradotto (non del tutto letteralmente) un thread di Erel su questo argomento, ma mi è appena capitato di "doverne" parlare e la traduzione si trova all'interno di un thread, sempre nel forum italiano; apro questo in modo che sia trovabile più facilmente, senza copiare tutto il lungo...
  15. J

    Android Question How to write to External Storage folder Download folder

    This concerns writing to my phone's External Storage Download folder using B4XPages . I've seen old threads at https://www.b4x.com/android/forum/threads/runtime-permissions-android-6-0-permissions.67689/page-3#posts and...
  16. N

    B4J Question B4XPages and form SetOwner

    Hi all, I have searched the forums but didn't find a answer for this. I am trying to force a child b4xpage to be owned by the master page, so that master window (page) is disabled until the child is closed. I have tried this code, but the master page is not disabled. Private Sub B4XPage_Created...
  17. fat32

    Share My Creation ANSIDroid - ANSI Art on Android

    Another "weird" app of mine, to render and display ANSI art in Android smartphones. You can download any .ANS, .DIZ, .NFO, even .TXT file and render it on the fly on your phone. It supports SAUCE data , various palletes for matching colors and many, many, many bitmap fonts to achieve 100%...
  18. C

    Android Question Class instance was not initialized (b4xpagesdelegator) on resume

    Hello! I need some help, I don't know what is causing this error to appear. Didn't make any big changes to it and now the app dont even open Registro conectado a: Xiaomi Redmi Note 7 --------- beginning of system --------- beginning of main *** Service (starter) Create *** ** Service (starter)...
  19. asales

    Android Example [B4X] [B4XPages] XUI Views Example

    This is only an update to the original example from Erel. I'm starting to create cross-platform apps using B4XPages. It is mainly to B4A and B4J, because I don't use B4i, and I tried to put more views that it's not include in the original example. Any improvements are welcome.
  20. Marvel

    B4J Code Snippet Creating Jigsaw Puzzles (B4XPages)

    This is a very crude version of the code I'm using in a project to create a jigsaw puzzle. What it basically does is cut square images into jigsaw pieces. It's not very cleaned up, but feel free to use and extend as you want. What you can do with this code: Specify the puzzle row/column...
Top