Calander in 2.2 unable to query instances > Unknown URL content://com.android.calendar/instances/when
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Can anyone plese help me with the following code, the problem is with Uri.Builder builder = Uri.parse("content://com.android.calendar/instances/when").buildUpon(); which throws an Unkown URL illegal argument exception see below Thanks Graham code Fetch a list of all calanders, iterate through all calanders using the calander ids package gb.org; import java.util.Calendar; import java.util.Date; import java.util.HashSet; import android.content.ContentResolver; import android.content.ContentUris; import android.content.Context; import android