flick scrolling

by bob » Fri, 20 May 2011 08:36:07 GMT


Sponsored Links
 Is there an easy way to do that scrolling where someone moves their
finger really fast across the screen and the scrolling continues a bit
after their finger has lifted?

-- 



Re: flick scrolling

by TreKing » Fri, 20 May 2011 08:43:06 GMT


 



Yup - real easy - just put your finger down on a scrollable item on the
screen and flick it really fast. It will do exactly what you describe.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 


Sponsored Links


Other Threads

1. setDefaultTab(int) not working

Hello,

I have an application with a preferences pane that allows you to show/
hide tabs.  I've walked through the code below and I AM passing the
right index to the setDefaultTab(int) method; however, when the screen
renders the tab is NOT selected.

Any idea?

               SharedPreferences settings = getSharedPreferences
(Preferences.PREFS_NAME, 0);
                int index = 0;
                int bookIndex = 0;
                int cdIndex = 0;
                int gameIndex = 0;
                int movieIndex = 0;
                int loanIndex = 0;
                String defaultTab = "";
                TabHost host=getTabHost();

                if(settings.getBoolean(Preferences.KEY_SHOW_BOOK_TAB, true)){
                        bookIntent = new Intent(this, movies.class);
                        bookIntent.putExtra(MoviesDbAdapter.KEY_MOVIE_TYPE, 
KEY_BOOK);
                        host.addTab(host.newTabSpec("one")
                .setIndicator("Book")
                .setContent(bookIntent));
                        bookIndex = index;
                        index++;
                }
                if(settings.getBoolean(Preferences.KEY_SHOW_CD_TAB, true)) {
                cdIntent = new Intent(this, movies.class);
                cdIntent.putExtra(MoviesDbAdapter.KEY_MOVIE_TYPE, KEY_CD);
                host.addTab(host.newTabSpec("two")
                                .setIndicator("CD")
                                .setContent(cdIntent));
                cdIndex = index;
                index ++;
                }
                if(settings.getBoolean(Preferences.KEY_SHOW_GAME_TAB, true)) {
                gameIntent = new Intent(this, movies.class);
                gameIntent.putExtra(MoviesDbAdapter.KEY_MOVIE_TYPE,
KEY_GAME);
                host.addTab(host.newTabSpec("three")
                        .setIndicator("Game")
                        .setContent(gameIntent));
                gameIndex = index;
                index ++;
                }
                if(settings.getBoolean(Preferences.KEY_SHOW_MOVIE_TAB, true)) {
                movieIntent = new Intent(this, movies.class);
                movieIntent.putExtra(MoviesDbAdapter.KEY_MOVIE_TYPE,
KEY_MOVIE);
                host.addTab(host.newTabSpec("four")
                                .setIndicator("Movie")
                                .setContent(movieIntent));
                movieIndex = index;
                index++;
                }
                if(settings.getBoolean(Preferences.KEY_SHOW_LOAN_TAB, true)) {
                rentalIntent = new Intent(this, Rentals.class);
                host.addTab(host.newTabSpec("five")
                               .setIndicator("Loans")
                                .setContent(rentalIntent));
                loanIndex = index;
                }
                //Set default tab index
                defaultTab = settings.getString(Preferences.KEY_DEFAULT_TAB,
"").toUpperCase();
                if(defaultTab.equals("BOOK")){
                        index = bookIndex;
                } else if(defaultTab.equals("CD")){
                        index = cdIndex;
                } else if(defaultTab.equals("GAME")){
                        index = gameIndex;
                } else if(defaultTab.equals("MOVIE")){
                        index = movieIndex;
                } else if(defaultTab.equals("LOAN")){
                        index = loanIndex;
                } else {
                        index = 0;
                }
                setDefaultTab(index);
--~--~---------~--~----~------------~-------~--~----~

2. ACTION_CALL works without permission

Hi all,
I'm makeing some test about Android permission with a very simple
application. I'm launching this Intent

        Uri callUri = Uri.parse("tel://12345678");
        Intent callIntent = new Intent(Intent.ACTION_CALL,callUri);
        callIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        startActivity(callIntent);

and using this configuration file

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      android:versionCode="1"
      android:versionName="1.0.0"
package="it.libroandroid.cap03.call">
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".CallActivity"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>

without any permission.

The problem is the phone dial the number but I didn't set any
permission. I know something has changed in last release but.....

Where's the trouble?

Thankx
Max


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

3. return to activity once call has ended

4. Emit a signal

5. Does Android Browser support "right menu - open with" ?

6. Export to sim somewhat working...

7. OpenMax-Bellagio integration in opencore