thread without loop gives different result depend on android versions -
i'm building app handle calls, phone call intent (action_call) start calling , start new thread, in thread i'm trying remain in app during call, manage in version 2.3.5 on 4.0.4 takes me android phone. can explain me why or give me solution that?
in thread (this works 2.3.5 not 4.0.4)
final activity = (activity) context; my.runonuithread(new runnable() { public void run() { my.startactivity(intent); } }); i tried adding loop, can see app screen no response if touch button (or more accurately app closes )
android
No comments:
Post a Comment