Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

Android Fatal Thread Problem (4 replies)

$
0
0
This ONLY happens with Android. Same code runs on iOS and Windows. Running on an Android A5.

I start a thread:
ThreadExecute("Validate", threadNormal, ValidateLogin)

In the local ValidateLogin procedure I issue this:
STC_ProgMessage = "Logging in Online ..."
RequestUpdateUI()

I have also tried ExecuteUpdateUI()

However, only in Android I get this fatal error message:

"Only the original thread that created a view hierarchy can touch its views"

Yet RequestUpdateUI() attempts to refresh the window in the original thread. If it works in Windows and iOS why not Android but more importantly how do I fix this. It appears to be a Fatal error.

Thx to anyone who can help.

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>