[android-developers] Re: home screen widget drag or scroll
ScrollView can be added to Widgets, for that need to do changes in the android framework. Change the annotation of the view in framework @RemoteView and build the framework and use them in widgets as in activities. By this method we can use any views supported in normal activities by changing the annotation to @RemoteView and use in widgtes. Thanks, Veeresh On Dec 14, 8:04 am, raghud raghavendr...@gmail.com wrote: You can't do scrolling with android's default launcher. But if you are using other launchers such as Home++/ADW/LauncherPro, you can do it using a standardized API across these launchers. Here are some articles on those.http://gadgetsaddicts.blogspot.com/2010/08/android-scrollable-widgets...http://hpp.intuitit.mobi/for-developers#TOC-Building-Scrollable-Widget You can find some sample projects here. http://code.google.com/p/scrollablecontacts/ http://code.google.com/p/simplescrollablewidgethttp://code.google.com/p/stockswidget/ raghav On Dec 12, 4:55 pm, KlausSK8 klausmagalh...@gmail.com wrote: Thanks for your answer String, I uploaded a video showing the home screenwidgetscrolling... So, how thiswidgetallow scroll? The link for the videohttp://www.youtube.com/watch?v=x5AkebfVqsE It has much home screenwidgetscroll like that, contacts, appointment, messages, maybe it's just for HTC widgets... but I think if HTC widgets allows to scroll, I could too Thanks, Klaus On 11 dez, 04:06, String sterling.ud...@googlemail.com wrote: I'm pretty sure that it can't be done, sorry. All interaction with awidgetgets pushed through a RemoteViews object, and the only event it supports is click. String- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: home screen widget drag or scroll
You can't do scrolling with android's default launcher. But if you are using other launchers such as Home++/ADW/LauncherPro, you can do it using a standardized API across these launchers. Here are some articles on those. http://gadgetsaddicts.blogspot.com/2010/08/android-scrollable-widgets.html http://hpp.intuitit.mobi/for-developers#TOC-Building-Scrollable-Widget You can find some sample projects here. http://code.google.com/p/scrollablecontacts/ http://code.google.com/p/simplescrollablewidget http://code.google.com/p/stockswidget/ raghav On Dec 12, 4:55 pm, KlausSK8 klausmagalh...@gmail.com wrote: Thanks for your answer String, I uploaded a video showing the home screen widget scrolling... So, how this widget allow scroll? The link for the videohttp://www.youtube.com/watch?v=x5AkebfVqsE It has much home screen widget scroll like that, contacts, appointment, messages, maybe it's just for HTC widgets... but I think if HTC widgets allows to scroll, I could too Thanks, Klaus On 11 dez, 04:06, String sterling.ud...@googlemail.com wrote: I'm pretty sure that it can't be done, sorry. All interaction with a widget gets pushed through a RemoteViews object, and the only event it supports is click. String- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: home screen widget drag or scroll
Thanks for your answer String, I uploaded a video showing the home screen widget scrolling... So, how this widget allow scroll? The link for the video http://www.youtube.com/watch?v=x5AkebfVqsE It has much home screen widget scroll like that, contacts, appointment, messages, maybe it's just for HTC widgets... but I think if HTC widgets allows to scroll, I could too Thanks, Klaus On 11 dez, 04:06, String sterling.ud...@googlemail.com wrote: I'm pretty sure that it can't be done, sorry. All interaction with a widget gets pushed through a RemoteViews object, and the only event it supports is click. String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: home screen widget drag or scroll
That's just for HTC widgets on the HTC homescreen...and unfortunately they don't expose any API for us devs, so we cannot make scrollable widgets that would work on the Sense homescreen or stock launcher. However, you can create scrollable widgets for 3rd-party launchers (like LauncherPro, ADW, Home++, etc.) that support those. Take a look here: - http://hpp.intuitit.mobi/for-developers#TOC-Building-Scrollable-Widget http://hpp.intuitit.mobi/for-developers#TOC-Building-Scrollable-Widget- http://hpp.intuitit.mobi/for-developers/scrollable-widget http://hpp.intuitit.mobi/for-developers/scrollable-widget- (Example) http://code.google.com/p/scrollable-widget-for-hpp/ http://code.google.com/p/scrollable-widget-for-hpp/- (Example) http://code.google.com/p/scrollablecontacts/ Bye, http://code.google.com/p/scrollablecontacts/YuviDroid On Sun, Dec 12, 2010 at 12:55 PM, KlausSK8 klausmagalh...@gmail.com wrote: Thanks for your answer String, I uploaded a video showing the home screen widget scrolling... So, how this widget allow scroll? The link for the video http://www.youtube.com/watch?v=x5AkebfVqsE It has much home screen widget scroll like that, contacts, appointment, messages, maybe it's just for HTC widgets... but I think if HTC widgets allows to scroll, I could too Thanks, Klaus On 11 dez, 04:06, String sterling.ud...@googlemail.com wrote: I'm pretty sure that it can't be done, sorry. All interaction with a widget gets pushed through a RemoteViews object, and the only event it supports is click. String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en