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

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -