ScrollView cycle?

by Michael Dorin » Fri, 23 Apr 2010 00:07:01 GMT

Sponsored Links
 Anyway to have a ScrollView cycle back to the beginning when the end
is reached....or to the end when trying to scroll past the beginning?




ScrollView cycle?

by ~ TreKing » Fri, 23 Apr 2010 01:41:32 GMT


See this thread:

Sponsored Links

Other Threads

1. AppWidget on Homescreen: How to focus ImageView or TextView with trackball?


I coded an AppWidget the user can add to his homescreen. There are a
bunch of images (ImageView) in it that perform different actions like
starting Activities on click (realised with PendingIntents). To make
it easier to navigate through the AppWidget I'd like to use the
trackball (as it works with the SearchWidget or FacebookWidget) but I
just can't make it work.
Here's my layout code for the AppWidget:

<RelativeLayout xmlns:android="

    <RelativeLayout android:id="@+id/SpotX"
android:addStatesFromChildren="true" android:gravity="center"
android:layout_width="67dip" android:layout_height="67dip"
android:layout_marginLeft="22dip" android:layout_marginTop="34dip"
android:clickable="true" android:focusable="true"
                <ImageView android:id="@+id/Button1"
android:layout_centerHorizontal="true" android:maxWidth="48dip"
android:maxHeight="48dip" android:src="@drawable/appazaar_logo"
android:layout_width="48dip"    android:layout_height="48dip"
android:paddingTop="1dip" android:focusable="true"
                <TextView android:id="@+id/Text1"
android:layout_centerHorizontal="true" android:layout_below="@id/
Button1" android:maxWidth="66dip" android:layout_width="66dip"
android:layout_height="19dip" android:text="Appazaar"
android:maxLines="1" android:textColor="#111111"
android:typeface="sans" android:textSize="13dip"
android:gravity="center_horizontal" android:focusable="true"

So I want to be able to navigate through a bunch of these "Spots" that
are all relativeLayouts. How can I make that work out?
I'd be really happy about every hint or idea!




2. DOM, SAX or XMLPullParser ? Any suggestions ?

> I was wondering whether anybody, who has experience using the

I saw one study (sorry, don't have the link handy) that indicated that on
Android SAX and XPP were roughly equivalent in terms of performance. XPP
really shines with the "binary XML" that resources get turned into as part
of the APK packaging process. DOM, as you indicated, is much slower,
though it has its uses.

There is a link to some sample code on the main site:

Mark Murphy (a Commons Guy)
Android App Developer Books:


3. Filtering urls within an activity's intent-filter?

4. Filtering urls within an activity's intent-filter?

5. Filtering urls within an activity's intent-filter?

6. Avail. Nexus One

7. loading files(images) from sdcard in webView