1. Download our Official Android App: Forums for Android!

Apps Clear Calendar data via the terminal

Discussion in 'Android Development' started by Maharaja DK, Jul 16, 2011.

  1. Maharaja DK

    Maharaja DK Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    3
    0
    5
    Hi
    I would like to know the terminal command to clear the Calendar data storage - not the cache the data. Can any one help?

    BR
    Maharaja DK
     

    Advertisement

  2. Maharaja DK

    Maharaja DK Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    3
    0
    5
    To be more clear: I need a command to clear/delete the data in com.android.providers.calendar.

    The manual way would be something like:
    Settings > Applications > Manage applications > Calendar storage > Clear data...
     
  3. Maharaja DK

    Maharaja DK Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    3
    0
    5
    The case is that I update my Google Calendar from a 3. party calendar. To do this I use the Google Calendar API. But when an appointment is added via the API the phone sync does not see it. To update the phone I have to delete Calendar data and then re-sync. The re-sync I can schedule using TASKER but I need a script to execute the Calendar data clear. When I have that then I can schedule the script in TASKER.
     

Share This Page

Loading...