Closed GoogleCodeExporter closed 9 years ago
Correct to my comment. I am using Shuffle version 1.5.1
Original comment by jlcho...@gmail.com
on 9 Jun 2010 at 1:08
I have the same issue, same context.
The Gmail calendar option is blacked out in settings. Also, adding an action to
Google Calendar actually does not do anything! I'm using the HTC Agenda widget.
Original comment by maxmulle...@gmail.com
on 20 Aug 2010 at 7:41
I have the same issue. Android 2.2 on HTC Evo. Shuffle 1.6.3
Original comment by gary.cal...@gmail.com
on 20 Aug 2010 at 4:53
Same problem. Events are being added to PC Sync calendar, which is not
synchronized with Google and o can't change that because calendar selection is
not accessible.
I'd also argue about priority status being medium, because it is actually the
blocked issue - calendars are useless for most people when not synchronized.
Original comment by gaius.julius
on 24 Aug 2010 at 9:58
Looks like another issue with Froyo calendar. This has been reported a fair
amount, so I'll look into it.
Original comment by andybry...@gmail.com
on 30 Aug 2010 at 9:05
[deleted comment]
The calender selection is also disabled for my Droid Incredible. I have the
1.6.3 update as well
Original comment by tommydfr...@gmail.com
on 26 Sep 2010 at 8:35
maybe i can fix this bug on my own, i can't wait anymore.
Original comment by peizh2...@gmail.com
on 27 Sep 2010 at 1:25
Google Calendar's URI and package name changed in Froyo.
Can i commit code?
Original comment by peizh2...@gmail.com
on 27 Sep 2010 at 5:37
Send me a patch and I'll add it to the next release.
Original comment by andybry...@gmail.com
on 27 Sep 2010 at 10:03
Is there a fix for this yet?
Original comment by aapr...@gmail.com
on 19 Oct 2010 at 4:42
Same issue on my EVO
Original comment by creilly...@gmail.com
on 4 Nov 2010 at 7:42
Verified that the following patch does indeed allow calendar selection on Froyo
(device being SGS Int):
Index:
client/src/org/dodgybits/shuffle/android/preference/activity/PreferencesActivity
.java
===================================================================
---
client/src/org/dodgybits/shuffle/android/preference/activity/PreferencesActivity
.java (revision 233)
+++
client/src/org/dodgybits/shuffle/android/preference/activity/PreferencesActivity
.java (working copy)
@@ -35,7 +35,7 @@
// Also need to gracefully handle case when calendars are not available (e.g. emulators)
private static final Uri CALENDAR_CONTENT_URI =
- Uri.parse("content://calendar/calendars"); // Calendars.CONTENT_URI
+ Uri.parse("content://com.android.calendar/calendars"); //
Calendars.CONTENT_URI
private static final String[] CALENDARS_PROJECTION = new String[] {
"_id", // Calendars._ID,
Original comment by eino.mal...@gmail.com
on 19 Nov 2010 at 12:32
Here is a better patch to provide backward compatibility:
Index:
client/src/org/dodgybits/shuffle/android/preference/activity/PreferencesActivity
.java
===================================================================
---
client/src/org/dodgybits/shuffle/android/preference/activity/PreferencesActivity
.java (revision 233)
+++
client/src/org/dodgybits/shuffle/android/preference/activity/PreferencesActivity
.java (working copy)
@@ -24,6 +24,7 @@
import android.content.ContentResolver;
import android.database.Cursor;
import android.net.Uri;
+import android.os.Build;
import android.os.Bundle;
import android.preference.ListPreference;
import android.util.Log;
@@ -36,6 +37,8 @@
private static final Uri CALENDAR_CONTENT_URI =
Uri.parse("content://calendar/calendars"); // Calendars.CONTENT_URI
+ private static final Uri CALENDAR_CONTENT_URI_FROYO_PLUS =
+ Uri.parse("content://com.android.calendar/calendars"); //
Calendars.CONTENT_URI
private static final String[] CALENDARS_PROJECTION = new String[] {
"_id", // Calendars._ID,
@@ -63,6 +66,15 @@
setCalendarPreferenceEntries();
}
+ private Uri getCalendarContentUri() {
+ if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) {
+ return CALENDAR_CONTENT_URI_FROYO_PLUS;
+ }
+ else {
+ return CALENDAR_CONTENT_URI;
+ }
+ }
+
private void setCalendarPreferenceEntries() {
mPreference = (ListPreference)findPreference(Preferences.CALENDAR_ID_KEY);
// disable the pref until we load the values (if at all)
@@ -70,7 +82,7 @@
// Start a query in the background to read the list of calendars
mQueryHandler = new QueryHandler(getContentResolver());
- mQueryHandler.startQuery(0, null, CALENDAR_CONTENT_URI,
CALENDARS_PROJECTION,
+ mQueryHandler.startQuery(0, null, getCalendarContentUri(),
CALENDARS_PROJECTION,
CALENDARS_WHERE, null /* selection args */, CALENDARS_SORT);
}
Original comment by eino.mal...@gmail.com
on 19 Nov 2010 at 1:53
SDK_INT requires Android 1.6. Added a method that works in Android 1.5 and use
it both here and in the Task editor
Original comment by andybry...@gmail.com
on 3 Dec 2010 at 10:03
But thanks for the patch. I haven't looked at the code for a while now what
with new a job, baby and flat :)
Original comment by andybry...@gmail.com
on 3 Dec 2010 at 10:28
[deleted comment]
Luv Shuffle. Any progress on having it sync with Google Calendar? Option still
not showing up on my Droid Incredible.
Original comment by connorve...@gmail.com
on 12 Dec 2010 at 1:19
I have the same issue. Android 2.2 on HTC HD2 Shuffle 1.6.3
Original comment by Volodymy...@gmail.com
on 14 Jan 2011 at 1:36
having the same problem.
HTC Desire with Android 2.2 and Shuffle 1.6.3
Original comment by to.chris...@gmail.com
on 17 Jan 2011 at 1:04
It's fixed on trunk, so will be available in the next release (probably
early/mid Feb).
Original comment by andybry...@gmail.com
on 17 Jan 2011 at 9:11
Same pb :the calender selection is also disabled. But I don't know the behavior
of this feature. I have a google calendar on google.com but I don't know how to
tell the phone. Thank you in advance
My shuffle version :
Shuffle-1.7.0.apk
My hardware version :
freerunner http://wiki.openmoko.org/wiki/Main_Page
My os :
android-on-freerunner http://code.google.com/p/android-on-freerunner/
Original comment by phi...@gmail.com
on 14 May 2011 at 12:12
Original issue reported on code.google.com by
jlcho...@gmail.com
on 9 Jun 2010 at 12:54