Nick Cartwright
Nick Cartwright

Reputation: 8254

Is there an iPhone URL shortcut for calendar?

I can launch Google Maps, Mail, Safari and others... but is there the same functionality for Calendar??

EDIT: I only want to add an event into the calendar.

Thanks guys!

Nick.

Upvotes: 5

Views: 13532

Answers (6)

Nissaba
Nissaba

Reputation: 973

as state above. calshow:// but you can use calshow:

it works if you omit the // and replace with the date in time interval (guessing since 1970 or 2001)

URL scheme for opening native calendar with specific event id

Upvotes: 0

Adam Hughes
Adam Hughes

Reputation: 3812

The calendar application is not listed as an application that can be launched using a URL in the Apple URL Scheme Reference.

The following applications are listed as supported:

  • Mail
  • Phone
  • SMS
  • Maps
  • YouTube
  • iTunes

Upvotes: 1

Peteee24
Peteee24

Reputation: 530

Answering the EDIT part of your answer: You can add/delete event from calendar programmatically. See SO question: Deleting an event from iPhone's calendar

Upvotes: 2

Fedor Cherepanov
Fedor Cherepanov

Reputation: 198

That code launch the Calendar app:

NSString* launchUrl = @"calshow://";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: launchUrl]];

Upvotes: 15

Hardy Macia
Hardy Macia

Reputation: 21

With iOS 4.0 you now have access to the new Calendar API.

Upvotes: 1

Nick Berardi
Nick Berardi

Reputation: 54854

All those things you mentioned can be easily used to launch the application and go some where:

  • Google Maps: go to an address
  • Mail: open a message to send to an e-mail address
  • Safari: go to a web address

But with the calendar the only real thing you can do is add an event. If this is what you want to do, I think you can just do either of these two suggestions:

start your URL with ical://www.somesite.com/event-information.ical Or drop the special scheme and just do http://www.somesite.com/even-information.ical

But there is no way that I am aware of where you can just jump to a certain date in the calendar.

Upvotes: 1

Related Questions