Using the ms-outlook
schema you are able to launch Outlook programmatically.
Since I couldn't find any clear documentation on how to use this schema I decompiled the apk of version 4.2212.2.
Here is a simple form of documentation:
actions.xml
shows that the app accepts the following urls (prepended with ms-outlook://
):
*empty string*
emails
emails/inbox
These options open the email page on the tab last used.emails/inbox/focused
emails/inbox/other
These options open the email page on the corresponding tab (focused or other).emails/new{?to,name,body,type}
This opens the page for writing a new calendar event. Paramsto
,name
andbody
are optional and explain themselves.events/new{?title,description}
This opens the page for writing a new calendar event. Paramstitle
anddescription
are optional and explain themselves.events/view{?action=[next,agenda,day,month]}
This opens the calendar page.action
param is optional and can benext
/agenda
,day
,month
which will set the how the overview is displayed. (I couldn't find the action corresponding to the 3-day view easily, but I assume there is one)search{?querytext}
This opens the search page.queryText
param is optionalpme{?action}
I assume this is for Outlooks "Play My Email" function but I couldn't get this one to work.
Note: If the app is displaying an email while one of these first five urls is used, it does not navigate to that page. This does not happen while displaying a calendar event. Seems like this might be unintentional.
You rock! Been trying to do this for over a week and can find nothing until now. Thank you!
Just curious...I have a minor minor issue. If I can't eliminate, no worries. I am using the "next" view on the calendars (all views do same thing), and when I open the link, the calendar shows up just how I like it, but it also shows the menu, where all the calendars are listed with their colors and names. In the app, I can hide this by clicking the 3 menu lines at the top right. I'd like it to start hidden though. Do you know a way of doing this?