i got FATAL EXCEPTION MessageDispatchThread in appwrap android

0 votes
Thanks in Advance
asked Sep 26, 2016 in Android by bhavesh (16 points)

1 Answer

0 votes

Hi Bhavesh,

Greetings!!!!!!!

Such kind of error occurs when you are doing UI operations on Background Thread. So you need to do such UI operations on UI Thread, You can use runOnUITHread mehtod provided by Android.

runOnUiThread(new Runnable() {
            @Override
            public void run() {
               //UI Operations here
            }
        });

Let me know if it helps.

Thanks

Vishnu Garg

answered Sep 27, 2016 by Vishnu Garg (674 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...