1
私はthisコードを使用してカレンダーから予定を取得していました。カレンダーからイベントを取得する際の問題
request time failed: java.net.SocketException: Address family not supported by protocol
私は、この行にそのコードのクラッシュに気づいたデバッグ:
Cursor eventCursor = contentResolver
.query(builder.build(), new String[]
{ "title", "begin", "end", "allDay" },
"Calendars._id=" + 1, null,
"startDay ASC, startMinute ASC");
System.out.println("eventCursor count=" + eventCursor.getCount());
任意のアイデアが参考になります
は、しかし、私はエラーこのようなを得ました。ありがとう。
ありがとう、それは働いた:) – asish