Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,222 Members 45,442 Now Online
XDA Developers Android and Mobile Development Forum

AppWidget questions

Tip us?
 
whitey.germany
Old
#1  
Member - OP
Thanks Meter 6
Posts: 36
Join Date: Jan 2014
Default AppWidget questions

Hi there,

the last days i tried to optimize my phone with BBS. So in my log there are some entries like this

Quote:
android (): Wakeups: 66
Alarms: 0, Intent: android.intent.action.TIME_TICK
Alarms: 0, Intent: com.android.server.ThrottleManager.action.POLL
Alarms: 0, Intent: com.android.server.action.NETWORK_STATS_POLL
Alarms: -31, Intent: android.appwidget.action.APPWIDGET_UPDATE
Alarms: -31, Intent: android.appwidget.action.APPWIDGET_UPDATE
Alarms: -31, Intent: android.appwidget.action.APPWIDGET_UPDATE
Alarms: 1, Intent: com.android.internal.policy.impl.Keyguard.LANDSCAP E_WAKE_TIME_LIMIT_EXPIRED
Alarms: 0, Intent: android.intent.action.DATE_CHANGED
Alarms: 0, Intent: edm.intent.action.elm.cleanrecords
Alarms: 0, Intent: com.android.server.NetworkTimeUpdateService.action .POLL
Alarms: 1, Intent: com.android.server.BatteryService.action.DORMANT_S TART
Alarms: 0, Intent: com.android.internal.policy.impl.PhoneWindowManage r.DELAYED_KEYGUARD
Alarms: 1, Intent: android.content.syncmanager.SYNC_ALARM
Alarms: 0, Intent: com.android.server.BatteryService.action.DORMANT_E ND
I tried to disable (i think it is called receiver in android development terms) the android.appwidget.action.APPWIDGET_UPDATE application (which was MPE Tasks) in autostarts, but this did not bring down the APPWIDGET actions.

So my questions are:

- What causes the android.appwidget.action.APPWIDGET_UPDATE alarms?
- Can these alarms be traced back to the widget or application?
- Is there an app that can do it?
- Or have i go through each widget and app manually and freeze them to see what causes them?

Can some developer who uses this please explain it to me?

Thanks and Greets

Whitey
 
Osama Zabin
Old
#2  
Osama Zabin's Avatar
Senior Member
Thanks Meter 180
Posts: 582
Join Date: Oct 2010
Location: Amman
Quote:
Originally Posted by whitey.germany View Post
Hi there,

the last days i tried to optimize my phone with BBS. So in my log there are some entries like this



I tried to disable (i think it is called receiver in android development terms) the android.appwidget.action.APPWIDGET_UPDATE application (which was MPE Tasks) in autostarts, but this did not bring down the APPWIDGET actions.

So my questions are:

- What causes the android.appwidget.action.APPWIDGET_UPDATE alarms?
- Can these alarms be traced back to the widget or application?
- Is there an app that can do it?
- Or have i go through each widget and app manually and freeze them to see what causes them?

Can some developer who uses this please explain it to me?

Thanks and Greets

Whitey
Hi Whitey,

widget alarms in your log are counted in negative! it's strange!

sometimes i experience this with BBS, might be fake alarms/readings
 
whitey.germany
Old
#3  
Member - OP
Thanks Meter 6
Posts: 36
Join Date: Jan 2014
Hey Osama,

Quote:
Originally Posted by Osama Zabin View Post
widget alarms in your log are counted in negative! it's strange!

sometimes i experience this with BBS, might be fake alarms/readings
Sometimes positive, sometimes negative.

I've seen this also on some log.

Quote:
Alarms: 5, Intent: android.appwidget.action.APPWIDGET_UPDATE
Alarms: 5, Intent: android.appwidget.action.APPWIDGET_UPDATE
Alarms: 5, Intent: android.appwidget.action.APPWIDGET_UPDATE
I also wonder why

Greets

Whitey
 
whitey.germany
Old
#4  
Member - OP
Thanks Meter 6
Posts: 36
Join Date: Jan 2014
Update:

I tried aLogCat. But there are no entries for APPWIDGET_UPDATE in this logs.

Comeon, there must be a way to debug this and analyze what widget behaves bad.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes