Anyone idea on the best way of making a horizontally scrolling list

by dm1973 » Wed, 14 May 2008 15:17:31 GMT


Sponsored Links
 I am looking to make a horizontally scrolling list (like the iphones
picture view) where you can use your finger to drag the the image
around and when you let go it either scrolls to in the last drag
direction or it resets the image.  Has anyone doe this?
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Code example on possibilities of android . permission . STATUS_BAR?

Hi,

The following page seems to imply that it's possible to hide icons on
the status bar, but I can't seem to find information or examples that
show which icons you can disable, and what is meant by opening or
closing the status bar.

http://developer.android.com/reference/android/Manifest.permission.html#STATUS_BAR:
"Allows an application to open, close, or disable the status bar and
its icons.".

I'm looking for code examples to use this permission.

I hope somebody would be able to enlighten me by providing some
answers or pointers on where to look.

Thanks in advance,

a2ronus

-- 

2. Rebuilding just a single external project (wpa_supplicant) - toolchain problems

I'm wanting to rebuild wpa_supplicant from source (http://
hostap.epitest.fi/wpa_supplicant/) and I'm having problems getting the
android toolchains set up so that I can properly cross-compile with
the ARM compiler and link with the proper Bionic libraries. Ideally,
I'd like to only have to build wpa_supplicant, without having to build
the platform or any other part of the android system. I would then
just push it onto the /system partition in place of the existing /
system/bin/wpa_supplicant and be able to use a modified version of the
supplicant. I've googled around quite a bit and am surprised that I
haven't been able to find instructions on how to build only a specific
external project. Therefore, I have a couple of questions:

1) Is there any reason to think that this isn't a fairly
straightforward process? Should there be any reason that I couldn't
just use the posted hostapd/wpa_supplicant source and have it fairly
effortlessly link into android?

2) How do I set the build environment with the proper cross-compilers
and include paths? I've looked at /build/envsetup.sh, but I don't know
how to get this truly configured properly. I must be missing
something.

My dev machine is ubuntu 9.04, and I'm running a modified, rooted
NexusOne with 2.6.32.

Thanks for any help - hopefully this is a trivial task and there's
documentation somewhere that I accidentally overlooked.

Joe

-- 

3. Talking to wpa_supplicant for TTLS / PEAP / TLS (Runtime+wpa_cli / JNI / LocalSocket(Unix domain socket) / wpa_supplicant.conf?)

4. Expanding the status bar from an app (android . permission . EXPAND_STATUS_BAR?)

5. Confused about activity lifecycle usage in the notepad example

6. trusted computing

7. AudioTrack lag