Android Question Some Issues in B4A

vbmundo

Well-Known Member
Licensed User
Hi,

I've seen some inconsistencies or errors in B4A.

For example, not all instructions LOG (xxx) are executed, ie, the result does not always appear in the section LOG.

Another mistake I have noticed in the Bridge, is that sometimes the ProgressDialogShow not appear immediately or when due.

That is, I tested (for example) placing a ProgressDialogShow as the first instruction of the event click of a button and nothing ... not appear ...

Those things make the application is not very consistent ... has sometimes erratic behavior .. if, sometimes not.

What may be happening ?

Regards
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
For example, not all instructions LOG (xxx) are executed, ie, the result does not always appear in the section LOG.
I never encountered such issue. There can be an issue with the bridge where you don't see the logs at all. However if you see the logs then you should see all of them.

Another mistake I have noticed in the Bridge, is that sometimes the ProgressDialogShow not appear immediately or when due.
This has nothing to do with B4A-Bridge. The UI will only be updated when the main thread is free to process the message queue. So if you call ProgressDialogShow and then hold the main thread then the dialog will not appear.
 
Upvote 0

vbmundo

Well-Known Member
Licensed User
I never encountered such issue. There can be an issue with the bridge where you don't see the logs at all. However if you see the logs then you should see all of them.


This has nothing to do with B4A-Bridge. The UI will only be updated when the main thread is free to process the message queue. So if you call ProgressDialogShow and then hold the main thread then the dialog will not appear.

Hi Erel,

It's a Bridge problem or Android Problem ?

When the App run without Bridge runs fine ?

Regards
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
It's a Bridge problem or Android Problem ?
No. It is more a programmer problem.

Like erel wrote
The UI will only be updated when the main thread is free to process the message queue. So if you call ProgressDialogShow and then hold the main thread then the dialog will not appear.

so the solution is not to hold the thread.

If that does not help: Create a new thread and post a small example which shows the problem.
 
Upvote 0
Top