Implement the onPause (or onStop) of your Activity. Pause your thread there
(i.e. have your thread check for a value/semaphore that indicates when to
pause a thread). In the onResume (or onStart), resume your thread.
Implement the onDestroy of your Acivity. Stop your thread there (i.e. exit
the
Actually sorry I do have a plan for the home bug um so thats y i
needed only a solution for the call bug and the home bug is something
that i can test later but yea I had a different scenario for that one
On May 4, 1:47 pm, kiros88 wrote:
> Um well the bug i know is that i have a thread going aft
Um well the bug i know is that i have a thread going after i like back
of my app so normally i close the thread when i do the back button but
i dont know how else to close the thread when im not on my app and
like on the home screen
On May 4, 1:41 pm, Kostya Vasilyev wrote:
> 05.05.2011 0:38, kir
05.05.2011 0:38, kiros88 пишет:
Yea it freezes too
That should be easier / faster / cheaper to debug than incoming phone calls.
so i have to figure that out but i think what were
really trying to do is a get a demo working version up so when we
present i just know if a phone call comes in it
Yea it freezes too so i have to figure that out but i think what were
really trying to do is a get a demo working version up so when we
present i just know if a phone call comes in it freezes the phone.
On May 4, 1:20 pm, Kostya Vasilyev wrote:
> Probably not, but your code should not really care
Probably not, but your code should not really care.
What happens when you press the home key in your application?
-- Kostya
04.05.2011 23:46, kiros88 пишет:
Is there anyway to figure out if the the new intent is going to be the
incoming call?
On May 4, 12:31 pm, Kostya Vasilyev wrote:
> I
Is there anyway to figure out if the the new intent is going to be the
incoming call?
On May 4, 12:31 pm, Kostya Vasilyev wrote:
> I would guess that the most important callback in this case is your
> activity's onPause and onStop.
>
> -- Kostya
>
> 04.05.2011 22:06, kiros88 пишет:
>
> > Hi I'm t
7 matches
Mail list logo