How to scroll Gallery Widget manually

by alex » Sat, 14 Mar 2009 02:10:34 GMT

Sponsored Links

I'm working on a little Player with Playlist and use the Gallery
Widget to visualise the Playlist.
I tried to scroll the Gallery Widget manual to an active item, but the
Widget don't support any functions to do this.
There are several methods in the class

scrollToChild( int pos )

but the visibility of this methods is default or private. So i can't
override this functions, if I Inherit from Gallery class.

can any one please help for a solution to scroll the Gallery
manual ???




How to scroll Gallery Widget manually

by Gesh » Sun, 15 Mar 2009 18:15:30 GMT

 Read the documentation more carefully.
Gallery extends several other classes that offer exactly the
functionality you are looking for.


Sponsored Links

Other Threads

1. System signing a test suite

I'm writing a testing suite (for personal use only) for my other apps
that triggers system intents.

I know I need to add android:sharedUserId="android.uid.system" to my
android manifest in the manifest tag and I need to install my app in /
system/app instead of the normal /data/data to have permission to send
system broadcast intents. I have root access so that's not a problem.

The problem I'm running into is, it appears I also need to sign my app
with a system key. Where do I get a system key store, users names, and
passwords? I assume I could build my own version of Android and sign
it with my own keys, but since I have root access there should be an
easier way right?

I have a N1 with CM7 and the emulator I'd be fine with keys for



2. Preventing Multiple AppWidget Instances

Is there a way to prevent multiple instances of an appwidget from being
installed on the home screen?  I do not do any special handling, nor is
it intended, for there to multiple instances.  Therefore, I should
probably prevent it or at least warn about it.  Is this possible?

Jake Colman -- Android Tinkerer


3. 2.3.3 NFC Tag app breaks 2.3.2 NFC apps

4. In-app purchase, how to test it on Android 2.3.3?

5. Android 2.3: Music content providers for artists, albums and songs

6. mohon pencerahan

7. How To Determine Which Dialog Was Dismissed