Re: [android-developers] Help Needed on Android Widget

2010-11-23 Thread Rocky
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 devandroid1...@gmail.comwrote: Rocky, Thanks for your reply. We don't have method startActivityForResult available in the android widget

Re: [android-developers] Help Needed on Android Widget

2010-11-23 Thread 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 rkjhaw1...@gmail.com wrote: Hey, go thr this link, u may find the sol http://mobiforge.com/developing/story/sms-messaging-android On Tue, Nov 23,

Re: [android-developers] Help Needed on Android Widget

2010-11-23 Thread Kostya Vasilyev
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

[android-developers] Help Needed on Android Widget

2010-11-22 Thread Dev Android
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

Re: [android-developers] Help Needed on Android Widget

2010-11-22 Thread Rocky
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 devandroid1...@gmail.comwrote: In android widget, Is there any mechanism available to get the activity result. Scenario: On widget we have button

Re: [android-developers] Help Needed on Android Widget

2010-11-22 Thread Dev Android
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 rkjhaw1...@gmail.com wrote: use start activity for