SufficientlySecure / offline-calendar

Archived
GNU General Public License v3.0
58 stars 20 forks source link

Offline calendar keeps disappearing #19

Closed Swimfins closed 11 years ago

Swimfins commented 11 years ago

The offline calendar keeps disappearing. Is there a fix or workaround? I really prefer being able to save appointments to my phone and not have my calendars snyc.

dschuermann commented 11 years ago

Please provide Android version/Rom version. Also device manufacturer and type please.

Swimfins commented 11 years ago

4.1.1. Htc one x

On Aug 26, 2013, at 5:00 PM, "Dominik Schürmann" notifications@github.com wrote:

Please provide Android version/Rom version. Also device manufacturer and type please.

— Reply to this email directly or view it on GitHub.

fqxp commented 11 years ago

I've got the same problem here. I am using OfflineCalendar 1.2.0 on an HTC Desire with Cyanogenmod 7 and Android 2.3.7. After having created a new calendar and rebooting the phone, the calendar just disappears, and with it all events stored in it.

ghost commented 11 years ago

One more instance.

Offline Calendar - 1.2 [installed through the f-droid app (f-droid.org)] Android - 2.3.7 CyanogenMod - 7.2.0-liberty

HTC Aria (a.k.a Liberty)

In my case, I don't even need to reboot the phone for the calendars I create to disappear. After a few days with the phone continuously on, the Calendar app (v2.3.7; bundled with Cyanogenmod) will request that I create a new calendar -- either a corporate one or an Offline one. The previously created calendars are not available for selection, and I can create new calendars with the same names as before. A new calendar with an old name does not retrieve the old events; it starts empty.

This has happened several times, whether the calendars I create contain events or not. Since there is no way to backup & restore events with this app (yet,) all events are permanently lost.

I will be happy to help test fixes or workarounds. Please let me know if I can provide any additional information.

dschuermann commented 11 years ago

This bug seems to lie deep in Android. I am not sure how that can happen, especially on Cyanogenmods as they are more vanilla Android. It is known that some commercial Android distributions have serious bugs in the calendar application, which could cause the problem of @Swimfins , but I am only guessing.

fqxp commented 11 years ago

I finally found the solution for my specific problem: I am using S2E, which extends phone disk space by putting apps to the SD card. The SD card is mounted quite late during the boot process, but Android needs sync adapters earlier at boot time to be able to use them. As a result, sync adapters like the offline calendar seemed to disappear during boot, although Android is simply not able to load it soon enough. Moving the offline calendar back to the phone in the app settings solved my problem.

dschuermann commented 11 years ago

@fqxp Nice! I will add a dialog that informs users when Offline Calendar is installed on sd card to inform them about this problem. See https://github.com/dschuermann/offline-calendar/issues/24

dschuermann commented 11 years ago

I will close this issue. If th eproblem persists even when you installed offline calendar to your internal memory, open a new issue please.