by ramesh12 » Mon, 22 Feb 2010 15:07:26 GMT

Sponsored Links


Other Threads

1. Debugging a Widget causes ANR

Hi all :)
I'm trying to debug an AppWidget but I incurred in a problem :D If not
setting the breakpoint the widget works good without ANR and the
commands Log.v are executed flawlessly. Then I placed a breakpoint on
the top of the following method:

    public void onReceive(Context context, Intent intent) {
    Log.v(TAG, "onReceive 1"); // BP on this line
    super.onReceive(context, intent);
    String action = intent.getAction();

    // Checks on action and computations ...

    Log.v(TAG, "onReceive 2");
    Log.v(TAG, "onReceive 3");

The breakpoint stops the execution as expected but then the process
dies. The problem is that the breakpoint ( I guess xD ) cause an ANR
and the ActivityManager kills the process. That's the Log:

01-07 14:32:38.886: ERROR/ActivityManager(72): ANR in
01-07 14:32:38.886: INFO/Process(72): Sending signal. PID: 475 SIG: 9
01-07 14:32:38.906: INFO/ActivityManager(72): Process
com.salvo.wifiwidget (pid   475) has died.

This cause the debug to stop. So the question is: there's a way to
debug the widget without incurring in the ANR?? thanks in advance for
the answers


2. Another SMS Android problem

I dont know english and i'm not developer too.
I'll try to pass my problem.

I received yesterday a sms from a friend but this sms was associated
with another contact (the text was correct). But that's just in the
when i opened the sms he appeared normal: text + sender.

It's the first time this happens.

I hope help you to fix the problems of Android.

And please... honeycomb fast here in Brazil. Attencion here please. I
still waiting Froyo here. =P


3. Need help for Bluetooth Opp transfer broadcast messages

4. Accesing RILD without recompiling the whole Framework and OS image

5. how to access certificate from inside app

6. Can I play a AAC strem which is in a FLV container?

7. Camera picture taking memory error