The ICS has not been relased.  There are no "Intents".  It's a
ContentProvider.

On Nov 3, 11:04 am, Ralph <fed...@gmail.com> wrote:
> Hi
>
> And thanks.
>
> I see in the ICS announcement that the calender API and intents are
> documented or at least that is what is written but does anyone see the
> actual docs or source or test cares
>
> I must be looking in the incorrect place.
>
> I grep'ed through the Android source tree that I downloaded and I find
> no reference to CalendarContract
>
> On Nov 2, 9:54 pm, Zsolt Vasvari <zvasv...@gmail.com> wrote:
>
>
>
> > No, Google Account seem to be broken on the ICS emulator:
>
> >http://groups.google.com/group/android-developers/browse_thread/threa...
>
> > On Nov 3, 5:44 am, Ralph <fed...@gmail.com> wrote:
>
> > > Hi,
>
> > > I'd also like to try out adding a subscription to a public google
> > > calendar.
>
> > > Where are the Intents documented?  Or at least where are the test
> > > cases that test adding a public calendar to an account and making it
> > > visible and sync'ed?
>
> > > I seem to only see a way to add an event to a particular calendar.
>
> > > Also, the emulator does not seem to support Google calendar accounts.
> > > The only thing that seems to work with calendar is Exchange.  Which
> > > seems odd.
>
> > > Does anyone have the emulator working with google calendars?
>
> > > Thanks,
> > > Ralph
>
> > > On Oct 25, 4:50 am, Zsolt Vasvari <zvasv...@gmail.com> wrote:
>
> > > > Thanks, of course that will work.  Duh...  How did I miss that?
>
> > > > That said, I am just looking in the Javadocs and under Constants,
> > > > CONTENT_URI is not listed, but it's further down, under Fields.  That
> > > > explains why I didn't see it, even though it's not a real excuse.
> > > > Since CONENT_URI is a "static final", why isn't it listed under
> > > > Constants?
>
> > > > On Oct 25, 2:41 pm, Michael Chan <mc...@android.com> wrote:
>
> > > > > Hi Zsolt,
>
> > > > > Can you tryCalendarContract.Calendars.CONTENT_URI instead of
> > > > >CalendarContract.CONTENT_URI?
>
> > > > > Thanks,
> > > > > Mike
>
> > > > > On Oct 24, 5:39 pm, Zsolt Vasvari <zvasv...@gmail.com> wrote:
>
> > > > > > I would have expected to work, also.
>
> > > > > > It's kind of frustrating that the first time we are goig to be able
> > > > > > "put out fires", is when the general public will get hold of the 
> > > > > > first
> > > > > > ICS device.  The emulator is all but useless.
>
> > > > > > On Oct 25, 12:25 am, Mark Murphy <mmur...@commonsware.com> wrote:
>
> > > > > > > I haven't had a chance to yet, and probably won't for a few weeks.
> > > > > > > Since the Calendar app is in the emulator, I would have expected 
> > > > > > > that
> > > > > > > content provider to work. It's possible that it is an emulator 
> > > > > > > bug --
> > > > > > > without hardware as a point of reference, it is difficult to tell.
>
> > > > > > > On Mon, Oct 24, 2011 at 10:19 AM, Zsolt Vasvari 
> > > > > > > <zvasv...@gmail.com> wrote:
> > > > > > > > Nobody tried this new API yet?
>
> > > > > > > > On Oct 24, 2:57 pm, Zsolt Vasvari <zvasv...@gmail.com> wrote:
> > > > > > > >> I am trying to convert my Calendar code to the new ICS APIs.
>
> > > > > > > >> For starters, I am trying the simplest possible operation -- 
> > > > > > > >> reading
> > > > > > > >> the list of Calendars.
>
> > > > > > > >> I am using the following code:
>
> > > > > > > >> context.getContentResolver().query(CalendarContract.CONTENT_URI,
> > > > > > > >> CALENDARS_PROJECTION, CALENDARS_WHERE, null,
> > > > > > > >>CalendarContract.Calendars.DEFAULT_SORT_ORDER)
>
> > > > > > > >> but I am getting an unknown URL exception on the ICS emulator, 
> > > > > > > >> both
> > > > > > > >> Standard and Google API images:
>
> > > > > > > >> E/ACRA    (  746): Caused by: 
> > > > > > > >> java.lang.IllegalArgumentException:
> > > > > > > >> Unknown URL content://com.android.calendar
> > > > > > > >> E/ACRA    (  746):      at
> > > > > > > >> android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:
> > > > > > > >> 165)
> > > > > > > >> E/ACRA    (  746):      at
> > > > > > > >> android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:
> > > > > > > >> 135)
> > > > > > > >> E/ACRA    (  746):      at
> > > > > > > >> android.content.ContentProviderProxy.query(ContentProviderNative.java:
> > > > > > > >> 358)
> > > > > > > >> E/ACRA    (  746):      at
> > > > > > > >> android.content.ContentResolver.query(ContentResolver.java:304)
>
> > > > > > > >> Is this supposed to work on the emulator?
>
> > > > > > > > --
> > > > > > > > You received this message because you are subscribed to the 
> > > > > > > > Google
> > > > > > > > Groups "Android Developers" group.
> > > > > > > > To post to this group, send email to 
> > > > > > > > android-developers@googlegroups.com
> > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > android-developers+unsubscr...@googlegroups.com
> > > > > > > > For more options, visit this group at
> > > > > > > >http://groups.google.com/group/android-developers?hl=en
>
> > > > > > > --
> > > > > > > Mark Murphy (a Commons 
> > > > > > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> > > > > > > Warescription: Three Android Books, Plus Updates, One Low Price!- 
> > > > > > > Hide quoted text -
>
> > > > > > > - Show quoted text -- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to