Custom LiveFolders

by dipu » Wed, 21 Apr 2010 07:57:24 GMT


Sponsored Links
 Is there a way to customize the android.provider.LiveFolders for
display purposes? For example I would like to show rounded border,
size the folder(height and width) according to the content, etc.

--



Other Threads

1. Reactions of: public boolean onTrackballEvent(MotionEvent event)

I override onTrackBallEvent but I have problem .It has good reaction
for action move ... when I track left, it goes left, when I track
right, it goes right, but I can't stop it .When I unpress ..
(action_up) the track ball .. it does nothing... still continue to
move. It does stop moving only when I track up or down....

I have no action_up or action_cancel,down reactions ... only
action_move react.


thread.sprite.moveleft or right ... is moving my sprite untlil a call
sprite.stayStil...

Logically it should be at ACTION_UP .... but it do nothing


@Override
    public boolean onTrackballEvent(MotionEvent event) {
        switch (event.getAction()) {
        case MotionEvent.ACTION_DOWN:
                thread.sprite.stayStill();
               // trackball selected... ignore
               break;
        case MotionEvent.ACTION_UP:
                thread.sprite.stayStill();
                return true;
        case MotionEvent.ACTION_CANCEL:
               // trackball selected... ignore
                thread.sprite.stayStill();
                return true;
        case MotionEvent.ACTION_MOVE:
            if (mContext != null) {
               float x = event.getX() * event.getXPrecision();
               float y = event.getY() * event.getYPrecision();
               thread.xx=(int)x;//for debug, show on screen
               if(x<(int)0)thread.sprite.moveLeft();
               if(x>(int)0)thread.spritemoveRight();
               if(x==(int)0)thread.sprite.stayStill();
               x=0;
                return true;
            }
        }
        return super.onTrackballEvent(event);
    }

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

2. Redistributing the eclipse plugins

Hi,

AFAICS, the Eclipse features and plugins are distributed under the
EPL, meaning that the binaries on the update site (without
modification) could be incorporated and distributed in a third-party
distribution of Eclipse.

Could someone confirm that?

BR
Daniel Olsson

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

3. How to read the file in sdcard?

4. global object? (singleton, intends, db)

5. how to dump logger info from PVAuthorEngineTest

6. OMXStandard Ver 1.1.1 & 1.1.2

7. how to obtain run permission when i call sockets routines in native c library?