Unlocking the device:
http://developer.android.com/reference/android/content/Intent.html#ACTION_USER_PRESENT
Completing a phone call:
http://developer.android.com/reference/android/telephony/TelephonyManager.html#ACTION_PHONE_STATE_CHANGED
http://developer.android.com/reference/android/telephony/PhoneStateListener.html
There is no specific state for when a call is completed, so you have to
watch for transition to CALL_STATE_IDLE.
-- Kostya
04.03.2011 14:42, babeinwoods пишет:
Kostya, Please can you guide me as to the specific things on my list
and the broadcast actions? Many thanks!
On Mar 4, 9:52 am, Kostya Vasilyev<[email protected]> wrote:
The interaction is the opposite - a widget provides a RemoteViews object
which is used to render the widget without any further involvement by the
widget provider.
For some of the things you asked about, though, there are broadcast actions
you can catch and update your widget as necessary
04.03.2011 12:49 пользователь "babeinwoods"<[email protected]>
написал:
So when homescreen renders itself, it leaves no signals that apps/
widgets could catch and act on?
On Mar 3, 8:02 pm, Justin Anderson<[email protected]> wrote:
AFAIK this is not possible
On Thu, Mar 3, 2011 at 11:59 AM, babeinwoods<[email protected]>
wrote:
Do Android homescreen widgets "know" when user returns to that
homescreen? Specifically, can a widget know (and use this knowledge)
when a user comes back to that homescreen after:
- unlocking the device
- swiping back from another homescreen
- completing a phone call
- closing an app
- closing a popup
- pressing dedicated home soft/hard button
- closing all-app list
etc
I want to update the content upon every return to homescreen.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en