how to list the "live" background service

by yangm » Sat, 24 Apr 2010 01:48:52 GMT


Sponsored Links
 how to list the "live" background server, like the "ps -ef" on linux.

Thanks,
Ming

--



how to list the "live" background service

by krox » Sun, 25 Apr 2010 04:27:42 GMT


 Hi!

See 


Sponsored Links


Other Threads

1. how can i open the jd file under developments/pdk/docs

how can i open the jd file under developments/pdk/docs
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Why corsor need to call setNotificationUri when query from content provider?

Hi,I don't got what you mean.

    @Override
    public Cursor query(Uri uri, String[] projection, String
selection, String[] selectionArgs,
            String sort) {
        SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
        qb.setTables(TASKS_TABLE);
        String orderBy;

        if (TextUtils.isEmpty(sort)) {
            orderBy = TASK_COMPLETED + " DESC" + ", " + TASK_PRIORITY
+ ", " + TASK_ID;
        } else {
            orderBy = sort;
        }

        switch (mURIMatcher.match(uri)) {
            case TASKS_SINGLE:
                qb.appendWhere(TASK_ID + "=" + uri.getPathSegments().get(1));
                break;
            default:
                break;
        }

        Cursor c = qb.query(mTasksDb,
                projection,
                selection, selectionArgs,
                null, null,
                orderBy);

            c.setNotificationUri(getContext().getContentResolver(), uri);


        return c;
    }

In above query implementation for content provider,
can I delete the line c.setNotificationUri(getContext().getContentResolver(),
uri) ??
thanks

2009/4/22 Marco Nelissen <marc...@android.com>




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

3. why no Horizontal GridView/ListView ?

4. Compiling against a *REAL* android.jar in eclipse???

5. G1 detected as 'offline' by Eclipse plugin

6. how to add some key actions from physical keyboard to androi

7. How to remove the on screen keyboard?