Android Question [Solved] Blank screen when starting any application created with B4A (Android 11)

vecino

Well-Known Member
Licensed User
Longtime User
Hi, on a new 10" tablet with Android 11 I am having that problem with any application created with B4A.
Even also the "B4A Bridge" app has that problem.
Even with an application that has only one button.
Usually the whole screen goes blank, and if I hit the "back key" it exits (sometimes) and if I try to enter again then sometimes it starts fine (sometimes).
I have downloaded, for testing purposes, from the google store several apps and they all work fine.
I'm lost!!! I don't get it, it's 6 tablets the same.
I have seen this thread which is similar to what is happening to me:
What could be going on?
 
Solution
Hi, on a new 10" tablet with Android 11 I am having that problem with any application created with B4A.
Even also the "B4A Bridge" app has that problem.
Even with an application that has only one button.
Usually the whole screen goes blank, and if I hit the "back key" it exits (sometimes) and if I try to enter again then sometimes it starts fine (sometimes).
I have downloaded, for testing purposes, from the google store several apps and they all work fine.
I'm lost!!! I don't get it, it's 6 tablets the same.
I have seen this thread which is similar to what is happening to me:
What could be going on?
I had the same problem some time ago.
As sugested here several times : remove the Starter module.
The problem is : with de...

vecino

Well-Known Member
Licensed User
Longtime User
If you let the program with the blank page opened for a while, do you get some OS message telling the app doesn't respond or something like that?
The screen remains blank all the time, as if it had loaded the layout. There are no error messages of any kind.
That's why I now think the problem is that the layout is not displayed, although it is displayed on the second try.
After a while it happens again, or when you start the tablet, or when in settings->applications you use "Force stop".

However, I have already tried about 20 or 30 programs from the play store, chosen at random, of all kinds, and they all work perfectly every time.

I don't know if Erel can verify that there is something special with android 11 and the screens (layouts).
 
Upvote 0

josejad

Expert
Licensed User
Longtime User
Just for testing (brain storm), try to show a toast message before loading the layout and see if it's displayed.
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
[USER=105784 said:
José J. Aguilar[/USER]]...
Well no, it does not show the toastmessage I have posted. It remains blank.
The next time it does show the button and the toastmessage.
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
The hard way, even if it costs me the money, I can change the tablets for the customer.
But if I buy other tablets and the same problem occurs!
That's why I want to be sure that it really is the Chinese tablet that is the culprit.
But since ALL the programs I test from the play store work fine, and the only ones that don't work are the ones created with B4A..... !!!!
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
Under "System Information" it says Android 11
It does not say anything about "Go Edition".
1666611742460.png

maybe this is the problem.
 
Upvote 0

MicroDrie

Well-Known Member
Licensed User
Longtime User
The default application name in Android in the IDE is B4X Example. I'm not exactly sure how, but on a rare occasion I programmed something weird. That then remains behind in the Bridge program data RAM memory, which blocks the proper functioning of the Bridge program. Well you can solve that problem by going to the Android setting menu via Apps, B4A-Bridge, Storage and then the option Clear data. After that, from the IDE should choose Clean up project. Then you have to restart the B4A-Bridge and give all permissions. again to solve the problem in my case.
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
The default application name in Android in the IDE is B4X Example. I'm not exactly sure how, but on a rare occasion I programmed something weird. That then remains behind in the Bridge program data RAM memory, which blocks the proper functioning of the Bridge program. Well you can solve that problem by going to the Android setting menu via Apps, B4A-Bridge, Storage and then the option Clear data. After that, from the IDE should choose Clean up project. Then you have to restart the B4A-Bridge and give all permissions. again to solve the problem in my case.
I've reinstalled it dozens of times, restored the tablet "factory" 3 times, deleted cache, data, etc. dozens of times, "Force stopped" the various apps... hundreds of times.
I've tried a dozen apps of mine... and they ALL have that problem, including "B4A bridge".
But ALL of the "play store" apps I've tried, about 30 at least, ALL work perfectly.

I don't know what else to do.
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
I've reinstalled it dozens of times, restored the tablet "factory" 3 times, deleted cache, data, etc. dozens of times, "Force stopped" the various apps... hundreds of times.
I've tried a dozen apps of mine... and they ALL have that problem, including "B4A bridge".
But ALL of the "play store" apps I've tried, about 30 at least, ALL work perfectly.

I don't know what else to do.
I might have missed this in the thread, but did you try connecting to the devices just using a cable instead of B4A Bridge?

- Colin.
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
"All new PRODUCTS launching with Android 11, if they have 2GB RAM or less, MUST return true for ActivityManager.isLowRamDevice() API, and launch as an Android Go device."
whether it says go or not go, it must be the go version.
 
Upvote 0
Top