[android-developers] Re: TelephonyManager.listen Freezes when the screen is shutted down!

2008-12-14 Thread Ralf
Your activity is a Context. R/ On Fri, Dec 12, 2008 at 8:16 PM, bparker cbpar...@gmail.com wrote: Where does your context (ctx) come from? I'm curious because I want to do the same thing, but getting a correct context to pass to Toast.makeText is the only part I can't figure out. On Dec

[android-developers] Re: TelephonyManager.listen Freezes when the screen is shutted down!

2008-12-12 Thread bparker
Where does your context (ctx) come from? I'm curious because I want to do the same thing, but getting a correct context to pass to Toast.makeText is the only part I can't figure out. On Dec 3, 2:49 pm, vekexasia vekexa...@gmail.com wrote: hi, on my onCreate() Activity function i wrote this: --

[android-developers] Re: TelephonyManager.listen Freezes when the screen is shutted down!

2008-12-03 Thread Marcio Alexandroni
Hi, I'm not sure about it, but would a Wake Lock solve the problem? PARTIAL_WAKE_LOCK ensures the CPU is running, but the screen may be off. Regards, Marcio Alexandroni www.cialogica.com w  Tel. 55 11 3717-2345    Cel. 55 11 9989-8316 [EMAIL PROTECTED] marcioalexandroni -Original

[android-developers] Re: TelephonyManager.listen Freezes when the screen is shutted down!

2008-12-03 Thread vekexasia
It could be.. Thansk for the Fast Reply.. But.. How can i be sure about this? I cannot simulate a change of cell- id :) Thanks :) On Dec 3, 9:01 pm, Marcio Alexandroni [EMAIL PROTECTED] wrote: Hi, I'm not sure about it, but would a Wake Lock solve the problem? PARTIAL_WAKE_LOCK ensures