Discuss Insert calendar events at the iPhone Developer Exchange - Hackint0sh.org; Hello,
I have a project that I am working. It is an iPhone app and ...
-
Insert calendar events
Hello,
I have a project that I am working. It is an iPhone app and there is an option where I need to insert events on the iPhone calendar.
I can't find any info about it... Anyone have a clue?
Thanks,
c0h1b4
-
-
There is no "open" way of doing it, but it's all about accessing the Calendar.sqlitedb file and adding the appropriate info.
But since this is kind of hacky, it'll work - until Apple changes the structure or methods used. So you'll have to cross your fingers on every OS update.
If you're still interested, ssh into the phone, get the /private/var/mobile/Library/Calendar/Calendar.sqlitedb file. Add an event on the phone, get the updated database and compare them, to see how to do it. ..likewise try deleting events and check and so on.
Good luck
-
-
Thanks for the idea.
I'll try this.
-
Kind of a complicated solution...
-
-
Good idea cOh1b4 keep on going man.
You'll have to deal with enough patience to do so...
Good luck on your project,and waiting to see it released ^^
Hope i helped...
-
Hi,
I going to do something similar, except I want to use the framework somehow. Do you interested in discussing in private letter? I do.
regards
-
-
huh ??!!!
Private letter?
Man let your idea shine in the world...
Hope i helped...
-
Senior Professional
Array
The main problem you're going to have (as TheBrew mentions) is that you can't do this on the SDK. Basically the SDK does not allow you access to any files outside of your application directory.
You can however still write this application 100% in the SDK. You will need to build the project then FTP the build file "YourApp.app" to the /Applications/ directory and finally run ldid to code sign it.
This will then allow your code to access the calendar.sqlite file (in the location specified by TheBrew).
I had a quick look at the database file and everything seems possible and straight forward. The database is fairly large and might take a while to fully understand but I suggest starting with the "Alarm" and "Event" tables.
For testing purposes you're probably best placing a copy of the calendar.sqlite file in your SDK project and working directly on that instead of the actual calendar.sqlite file. This will cut out the need to constantly FTP and run ldid.
Hope this makes sense.
-
-
Hello all,
I am try to get iphone caendar database file from /private/var/mobile/Library/Calendar/Calendar.sqlitedb. But this file is not exist at this path.
So how can i get this file?
Thank you..
Similar Threads
-
By hackint0sh in forum Latest Headlines
Replies: 0
Last Post: 06-27-2011, 09:00 PM
-
By hackint0sh in forum Latest Headlines
Replies: 0
Last Post: 02-23-2009, 06:00 PM
-
By framacx in forum General
Replies: 0
Last Post: 03-31-2008, 03:24 PM
-
By asher_ungar in forum Free Toolchain Software
Replies: 9
Last Post: 03-23-2008, 08:25 PM
-
By hawaiipoolman in forum General
Replies: 1
Last Post: 10-31-2007, 06:53 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks