Android - submitting .ics file to calendar app -


i have calendar app (samsung default on note 3 / lollipop) invoked , inserts contents of downloaded .ics file when open it. i'm trying find proper intent setaction , settype values submit file within custom app. "almost there" solution seems action_view , text/calendar, respectively - calendar app appears briefly, no insertion done. code snippet follows:

intent.setdataandtype(uri.fromfile(file), "text/calendar"); intent.setaction(intent.action_view);

there countless examples of using parsed data presented extras type vnd.android.cursor.item/event, have yet find answer method. know intent make-up of samsung (or matter, gmail) calendar?


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -