Android: How can i show a toast from a thread running in a remote service?

前端 未结 4 874
囚心锁ツ
囚心锁ツ 2020-12-03 06:07

Android: How can i show a toast from a thread running in a remote service? Whenever i run from a different thread in a service, the app crashes...

public cl         


        
4条回答
  •  北荒
    北荒 (楼主)
    2020-12-03 06:15

    I am not sure but this looks again like trying to invoke GUI methods on non-GUI threads.

提交回复
热议问题