AppWidgetProvider is a subclass of BroadcastReceiver.
You can have your Activity send an Intent with extras (for new data
values) to the widget provider, whenever there is new data to display.
Another way is to update the widget directly from code that updates the
data. You can use AppWidgetManager anywhere within your application's code.
-- Kostya
23.11.2010 12:22, Dev Android ?????:
Good example but it doesn't help me to my requirement.
Guys,
Please suggest yours opinions.
--
Eng.
On Tue, Nov 23, 2010 at 1:34 PM, Rocky <[email protected]
<mailto:[email protected]>> wrote:
Hey,
go thr this link, u may find the sol
http://mobiforge.com/developing/story/sms-messaging-android
On Tue, Nov 23, 2010 at 1:21 PM, Dev Android
<[email protected] <mailto:[email protected]>> wrote:
Rocky,
Thanks for your reply. We don't have method
startActivityForResult available in the android widget
provider. We have to use pendingIntent only. Hope you can try
to understand the problem.
--
Eng.
On Tue, Nov 23, 2010 at 1:16 PM, Rocky <[email protected]
<mailto:[email protected]>> wrote:
use start activity for result, and from the next activity
use bundle to pass the result to back
On Tue, Nov 23, 2010 at 1:05 PM, Dev Android
<[email protected]
<mailto:[email protected]>> wrote:
In android widget,
Is there any mechanism available to get the
activity result.
Scenario:
On widget we have button and click of this button will
launch the new activity and after destroying of this
activity, this will send some results to widget. Is
there any callback available to catch the information
from the launched Activity.
Thanks in advance!
--
Eng.
--
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]
<mailto:[email protected]>
To unsubscribe from this group, send email to
[email protected]
<mailto:android-developers%[email protected]>
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Thanks & Regards
Rakesh Kumar Jha
Software Developer
Symphony Services Corp (India) Pvt Ltd
Bangalore
(O) +918030274295
(R) +919886336619
--
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]
<mailto:[email protected]>
To unsubscribe from this group, send email to
[email protected]
<mailto:android-developers%[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]
<mailto:[email protected]>
To unsubscribe from this group, send email to
[email protected]
<mailto:android-developers%[email protected]>
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Thanks & Regards
Rakesh Kumar Jha
Software Developer
Symphony Services Corp (India) Pvt Ltd
Bangalore
(O) +918030274295
(R) +919886336619
--
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]
<mailto:[email protected]>
To unsubscribe from this group, send email to
[email protected]
<mailto:android-developers%[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 -- WiFi Manager + pretty widget -- 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