Finger-Flicker Android Code - iPhone like scrolling -

Discussion in 'Android Hacks and Help' started by mastermindnate, Feb 23, 2010.

  1. mastermindnate
    Offline

    mastermindnate New Member

    Joined:
    Dec 1, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Droidville
    Hi All,

    So i came across something call "FingerFlicking Tech" that apparently emulates the continued scrolling of an iphone. The code for this is C# and has been used in everything from Windows Mobile to the old Palm OS.

    I've previously owned the myTouch 3G and can remember someone creating a ROM with this type of scrolling embedded within... Just wondering if this is something that could be incorporated in any of the future versions of all the ROMs people are creating..

    I've listed example code below if it helps in any way shape or form

    bool paint = false;
    Bitmap BackScreen = null;
    protected override void OnPaint(PaintEventArgs e)
    {
    if (paint)
    {
    if (BackScreen == null)
    {
    BackScreen = new Bitmap(ClientSize.Width, ClientSize.Height);
    }
    Brush brush = new SolidBrush(Color.Black);
    Graphics g = Graphics.FromImage(BackScreen);
    g.Clear(Color.White);
    for (int i = 0; i < FakeLabels.Length; i++)
    {
    g.DrawString(ListData, this.Font, brush, 0, FakeLabels);
    }
    e.Graphics.DrawImage(BackScreen, 0, 0);
    paint = false;
    }
    )
  2. Newton122189
    Offline

    Newton122189 New Member

    Joined:
    Nov 8, 2009
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Virginia
    droid already has continued scrolling, when you flick it keeps scrolling after you lift your finger
  3. mastermindnate
    Offline

    mastermindnate New Member

    Joined:
    Dec 1, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Droidville
    i guess what i mean is when you get to the end of the list.. you can KEEP scrolling, and it rebounds, or springs back to the end position.. not really sure how else to describe it
  4. dyodji
    Offline

    dyodji New Member

    Joined:
    Aug 18, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    You find anything yet? I'm totally with you on this, it's very jarring to hit the end of a list with the Droid, it's like it's no longer responding to your touch.
Search tags for this page
android paint scrolling
,

android scroll like iphone

,
how to get android to scroll lists like iphone
,

how to make android scroll like iphone

,
안드로이드 flick sample
,
iphone page flick examples
,

make android scroll like iphone

,
sctolling flick andtoaid