Forgive me if i am wrong, but are those google calendars anyway? Why
not use the official gcalendar data api at [1] ?
Sure this accesses the web and not just phone services..

[1] http://code.google.com/apis/calendar/data/2.0/developers_guide.html

Toni

On Tue, May 25, 2010 at 1:12 PM, Lee <[email protected]> wrote:
> The 'calendar' in your Uri is the problem, it's unrecognized so you
> get a null cursor back.
>
> Lee
>
> On May 25, 11:33 am, andreas <[email protected]> wrote:
>> On 25 Mai, 11:44, Lee <[email protected]> wrote:
>>
>> > Whether or not it's wise to use unpublished Uri's,
>>
>> Well, I would prefer to use published Uris, but there are none to
>> access the calendar. And there is not even any other official way to
>> enter and read calendar data. That's a pity.
>>
>> But maybe some Google Andorid Wizard reads my cry for help ;-) and can
>> tell me, what's now wrong with Froyo and
>>
>> String[] projection = new String[] { "_id", "displayName" };
>> Uri calendars = Uri.parse("content://calendar/calendars");
>> Cursor managedCursor = act.managedQuery(calendars,
>> projection,"access_level>300", null, null);
>>
>> Andreas
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group 
>> athttp://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
[email protected]
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.

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

Reply via email to