UbiCollab / UbiShare

Share ubiquitously!
1 stars 1 forks source link

Query to Social.Me - Args no longer supported in selection #55

Open JacquelineFloch opened 11 years ago

JacquelineFloch commented 11 years ago

Earlier I could query the Me table either as

Alt 1: String selection = SocialContract.Me.ACCOUNT_TYPE; String[] selectionArgs = new String[] {"com.box"};

Alt 2: String selection = SocialContract.Me.ACCOUNT_TYPE + " = com.box"; String[] selectionArgs = null;

I notice that Alt 2 now fails (exception). Do I have a syntax error? Or is not it longer supported by SocialProvider.