Launch OneNote using Share Intent in Android -


apparently microsoft has added share intent support onenote android app: http://www.xda-developers.com/massive-facelift-to-microsoft-onenote-for-android-brings-share-intent-and-multi-window-support/

how can use share intent on android launch onenote app?

you can not directly launch onenote through share intent. behaviour occurs is:

  1. content sent onenote app

  2. page created title matching extra_subject , body sent in extra_text.

  3. low priority notification indicating page has been created fires. target set open onenote view page activity.

i suppose if asked notifications permission intercept notification , open onenote @ point.

if want open onenote, why not use like:

string onpackagename = "com.microsoft.office.onenote"; intent launchintent = getpackagemanager().                       getlaunchintentforpackage(onpackagename); startactivity(launchintent); 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -