10.07.2015 Views

dissertation

dissertation

dissertation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

}c a s e PHONES FILTER : {+ Log . i (TAG, ” Branch PHONES FILTER ” ) ;setTablesAndProjectionMapForData ( qb , uri , p r o j e c t i o n , t r u e ) ;qb . appendWhere (” AND ” + Data .MIMETYPE + ” = ’” + Phone .CONTENT ITEM TYPE + ” ’ ” ) ;i f ( u r i . getPathSegments ( ) . s i z e ( ) > 2) {@@ −4437 ,12 +4478 ,14 @@ p u b l i c c l a s s ContactsProvider2 extends SQLiteContentProvider implements OnAccoun}c a s e EMAILS : {+ Log . i (TAG, ” Branch EMAILS ” ) ;setTablesAndProjectionMapForData ( qb , uri , p r o j e c t i o n , f a l s e ) ;qb . appendWhere (” AND ” + Data .MIMETYPE + ” = ’” + Email .CONTENT ITEM TYPE + ” ’ ” ) ;break ;}78c a s e EMAILS ID : {+ Log . i (TAG, ” Branch EMAILS ID ” ) ;setTablesAndProjectionMapForData ( qb , uri , p r o j e c t i o n , f a l s e ) ;s e l e c t i o n A r g s = i n s e r t S e l e c t i o n A r g ( s e l e c t i o n A r g s , u r i . getLastPathSegment ( ) ) ;qb . appendWhere (” AND ” + Data .MIMETYPE + ” = ’” + Email .CONTENT ITEM TYPE + ” ’”@@ −4451 ,6 +4494 ,7 @@ p u b l i c c l a s s ContactsProvider2 extends SQLiteContentProvider implements OnAccoun}c a s e EMAILS LOOKUP: {+ Log . i (TAG, ” Branch EMAILS LOOKUP” ) ;setTablesAndProjectionMapForData ( qb , uri , p r o j e c t i o n , f a l s e ) ;qb . appendWhere (” AND ” + Data .MIMETYPE + ” = ’” + Email .CONTENT ITEM TYPE + ” ’ ” ) ;i f ( u r i . getPathSegments ( ) . s i z e ( ) > 2) {@@ −4463 ,6 +4507 ,7 @@ p u b l i c c l a s s ContactsProvider2 extends SQLiteContentProvider implements OnAccoun}c a s e EMAILS FILTER : {+ Log . i (TAG, ” Branch EMAILS FILTER ” ) ;setTablesAndProjectionMapForData ( qb , uri , p r o j e c t i o n , t r u e ) ;S t r i n g f i l t e r P a r a m = n u l l ;i f ( u r i . getPathSegments ( ) . s i z e ( ) > 3) {@@ −4515 ,6 +4560 ,7 @@ p u b l i c c l a s s ContactsProvider2 extends SQLiteContentProvider implements OnAccoun}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!