Jump to content


Photo

Simple app wanted - refresh calendar list from server

- - - - -

  • Please log in to reply
No replies to this topic

#1
chucky.egg

chucky.egg

    Did I say that out loud?

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 4,724 posts
  • Location:Kent, England
  • Interests:Sleeping
  • Devices:Desire S
  • Twitter:@chucky_egg
Hi guys

I'm a bit limited with what I can do with my work calendar - basically I have to delete my existing "Work" calendar from Google, create a new one, set notifications, export my business Outlook calendar to CSV, import it to Google. It's a bit of a pain, but I can live with it.

The downside is that I have to trigger a refresh of the list of calendars on my phone, otherwise it doesn't seem to notice the removal of the old calendar and the existence of the new one.

That's the bit I keep forgetting - to do it I have to open Calendar, menu, more, calendars.

I've found a single line of code, which I think will trigger the update (and consequently the refresh of calendar events):
// Start a background sync to get the list of calendars from the server.
		startCalendarSync();
http://www.netmite.c...rsActivity.java


Anyone able to build this into an app, URL, whatever, so that I can trigger it easily from my phone (Legend v2.1)?

Edited by chucky.egg, 27 July 2010 - 10:21 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users