Add events to Calendar?

I was wondering if there is any known way to add an Android or iOS event to their Calendar without using foreign code?

I am not aware of any existing foreign code for this. But looking at the Android docs for this, it looks fairly simple doing this from foreign code

Does not look to bad for iOS as well. You can probably find existing Objective C and Java code for this on google that you can use in foreign code