what are android live folders?

satya - Monday, April 20, 2009 11:11:40 PM

android live folders

android live folders

Search Google for: android live folders

Search Android Developers Group for: android live folders

Search Android Beginers Group for: android live folders

Search Google Code for: android live folders

Search Android Issues Database for: android live folders

satya - Monday, April 20, 2009 11:14:53 PM

live folders utube demo

live folders utube demo

satya - Monday, April 20, 2009 11:18:03 PM

something called openhome

something called openhome

satya - Tuesday, April 21, 2009 12:52:21 PM

Here is the source code of providers/livefolders.java

Here is the source code of providers/livefolders.java

satya - Tuesday, April 21, 2009 2:26:32 PM

livefolders

Search for: livefolders

satya - Tuesday, April 21, 2009 2:30:32 PM

see if this link helps

see if this link helps

satya - Tuesday, April 21, 2009 2:33:04 PM

another useful link

another useful link

satya - Tuesday, April 21, 2009 2:46:35 PM

Really good download link

Really good download link

satya - Tuesday, April 21, 2009 3:15:13 PM

android home folders

android home folders

Search Google for: android home folders

Search Android Developers Group for: android home folders

Search Android Beginers Group for: android home folders

Search Google Code for: android home folders

Search Android Issues Database for: android home folders

satya - Tuesday, April 21, 2009 3:15:38 PM

quick look at betterandroid contacts livefolders source code

quick look at betterandroid contacts livefolders source code

satya - Tuesday, April 21, 2009 3:18:40 PM

A discussion on application folders

A discussion on application folders

satya - Tuesday, April 21, 2009 3:22:53 PM

Another discussion on folders

Another discussion on folders

satya - Wednesday, April 22, 2009 8:02:40 AM

notifyChange

notifyChange

Search Google for: notifyChange

Search Android Developers Group for: notifyChange

Search Android Beginers Group for: notifyChange

Search Google Code for: notifyChange

Search Android Issues Database for: notifyChange

satya - Wednesday, April 22, 2009 8:07:53 AM

registerContentObserver

registerContentObserver

Search Google for: registerContentObserver

Search Android Developers Group for: registerContentObserver

Search Android Beginers Group for: registerContentObserver

Search Google Code for: registerContentObserver

Search Android Issues Database for: registerContentObserver

satya - Wednesday, April 22, 2009 8:18:04 AM

Read this discussion on deleting a row from a list

Read this discussion on deleting a row from a list

satya - Wednesday, April 22, 2009 8:19:32 AM

android cursor requery

android cursor requery

Search Google for: android cursor requery

Search Android Developers Group for: android cursor requery

Search Android Beginers Group for: android cursor requery

Search Google Code for: android cursor requery

Search Android Issues Database for: android cursor requery

satya - Wednesday, April 22, 2009 9:55:26 AM

livefolder base intent

livefolder base intent

Search Google for: livefolder base intent

Search Android Developers Group for: livefolder base intent

Search Android Beginers Group for: livefolder base intent

Search Google Code for: livefolder base intent

Search Android Issues Database for: livefolder base intent

satya - Wednesday, April 22, 2009 1:45:50 PM

what happens in a setnotificationUri


/**
     * Specifies a content URI to watch for changes.
     *
     * @param cr The content resolver from the caller's context.
     * @param notifyUri The URI to watch for changes. This can be a
     * specific row URI, or a base URI for a whole class of content.
     */
    public void setNotificationUri(ContentResolver cr, Uri notifyUri) {
        synchronized (mSelfObserverLock) {
            mNotifyUri = notifyUri;
            mContentResolver = cr;
            if (mSelfObserver != null) {
                mContentResolver.unregisterContentObserver(mSelfObserver);
            }
            mSelfObserver = new SelfContentObserver(this);
            mContentResolver.registerContentObserver(mNotifyUri, true, mSelfObserver);
            mSelfObserverRegistered = true;
        }
    }

satya - Wednesday, April 22, 2009 1:47:18 PM

registerContentObserver


void registerContentObserver 
(Uri uri, boolean notifyForDescendents, ContentObserver observer)

satya - Wednesday, April 22, 2009 1:48:21 PM

notifyForDescendents argument

If true changes to URIs beginning with uri will also cause notifications to be sent. If false only changes to the exact URI specified by uri will cause notifications to be sent. If true, then any URI values at or below the specified URI will also trigger a match.

satya - Wednesday, April 22, 2009 1:56:18 PM

Here is the code for selfcontentobserver


protected static class SelfContentObserver extends ContentObserver {
        WeakReference<AbstractCursor> mCursor;

        public SelfContentObserver(AbstractCursor cursor) {
            super(null);
            mCursor = new WeakReference<AbstractCursor>(cursor);
        }

        @Override
        public boolean deliverSelfNotifications() {
            return false;
        }

        @Override
        public void onChange(boolean selfChange) {
            AbstractCursor cursor = mCursor.get();
            if (cursor != null) {
                cursor.onChange(false);
            }
        }
    }

satya - Wednesday, April 22, 2009 1:57:15 PM

Here is onChange


protected void onChange(boolean selfChange) {
        synchronized (mSelfObserverLock) {
            mContentObservable.dispatchChange(selfChange);
            if (mNotifyUri != null && selfChange) {
                mContentResolver.notifyChange(mNotifyUri, mSelfObserver);
            }
        }
    }

satya - Wednesday, April 22, 2009 1:58:14 PM

who ever is watchin this cursor...

will be notified of the change.

satya - Wednesday, April 22, 2009 1:59:43 PM

Here is the code in the cursor adapter


private class ChangeObserver extends ContentObserver {
        public ChangeObserver() {
            super(new Handler());
        }

        @Override
        public boolean deliverSelfNotifications() {
            return true;
        }

        @Override
        public void onChange(boolean selfChange) {
            if (mAutoRequery && mCursor != null) {
                if (Config.LOGV) Log.v("Cursor", "Auto requerying " + mCursor +
                        " due to update");
                mDataValid = mCursor.requery();
            }
        }
    }

satya - Wednesday, April 22, 2009 2:53:34 PM

requery

requery

Search Google for: requery

Search Android Developers Group for: requery

Search Android Beginers Group for: requery

Search Google Code for: requery

Search Android Issues Database for: requery