How to scroll Gallery Widget manually

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


Sponsored Links
 Hi,

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 Gallery.java class

movePrevious()
moveNext()
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 ???

Thanks,

Alex

--~--~---------~--~----~------------~-------~--~----~



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. calling OpenGL ES 2.0 from native code

Hi ppls.

I'm kinda lost with how to implement OpenGL ES 2.0 stuff from my
native code. I've been searching google for some time now and can't
find anything appropriate.
I know I can make all this in Java and I did implement tests and
stuff. But I want to do it in native code.

So I was thinking to pass my GL objects to native code and handle all
stuff there. Cause I'm not experienced in GL programing, I'm asking
for help and directions to good articles to get info I need.

Kind regards

Armando

-- 

2. I don't know how to use Animation translate

I use translate move image from top to bottom,but translate finish image
jump to image initial position.I don't know why,I want move image from A to
B,finsih this image stay B.



-- 
Cary

-- 

3. Android Animations do not affect layout

4. camera preview + takePicture + added graphics- help!

5. network forwarding question

6. Survey of (cross platform) development of mobile applications for smartphones

7. Repo does not install mydroid/kernel directory