Random appwidget unresponsiveness

by Niall » Fri, 20 May 2011 06:18:28 GMT

Sponsored Links

I have an appwidget that works fine most of the time.  

Sometimes though, the buttons don't respond. When I press on them nothing 
happens. If I swipe to the left and back to the right it seems to sometimes 
fix it. Nothing gets put in logcat so I'm out of ideas about what might be 

Can anyone help? Do you need more information? 

It sounds to me that the intents aren't set properly... but they are! I 
can't figure it out. 


Other Threads

1. Listening for Volume / Ring Mode changed?

I am writing a simple application that will turn off the ringer for a
period of time and then turn it back on automatically.  I would use
this to turn off the ringer for an hour before a meeting or something,
and then I wouldn't have to remember to turn it back on.

I am using AudioManager.setRingerMode(RINGER_MODE_VIBRATE) to set the
phone to vibrate.  I am using AlarmManager with a PendingIntent to set
the ringer mode to RINGER_MODE_NORMAL after a delay.

I would like my application to be aware if the user is changing the
ringer on/off with the volume keys or some other system setting.  If
the user turns the ringer back on by them self, then I want to detect
this and cancel the my broadcast with the AlarmManager.

How can I detect if the volume is changing?  Is there some intent I
should register for?  Is there some sort of onRingModeChanged function
I need to implement?


2. How to connect G1 phone with eclips

I have a G1 phone and eclips installed on my laptop. I can run simple app on
emulator. but I do not know how to connect the G1 phone with eclips to make
the on-line debug.
Is there any document on this?


3. G1 activation problem

4. How to change the working directory?

5. android.app.Application global application variable store

6. How to turn on stdout/stderr log messages?

7. How to change working directory?