Launcher Launch Uri Asyncnew Urisampleapp IDaea 6 Launcher

  • Slides: 20
Download presentation

Launcher. Launch. Uri. Async(new Uri("sampleapp: ? ID=aea 6")); Launcher. Launch. File. Async(file); User/OS chooses

Launcher. Launch. Uri. Async(new Uri("sampleapp: ? ID=aea 6")); Launcher. Launch. File. Async(file); User/OS chooses target

Data. Transfer. Manager. Show. Share. UI(); User chooses target

Data. Transfer. Manager. Show. Share. UI(); User chooses target

Launch a *specific* app Send file token, send data Launch for Results App Services

Launch a *specific* app Send file token, send data Launch for Results App Services

var options = new Launcher. Options(); options. Target. Application. Package. Family. Name = "24919.

var options = new Launcher. Options(); options. Target. Application. Package. Family. Name = "24919. Instapaper. It"; var launch. Uri = new Uri("instapaper: ? Add. Url=http%3 A%2 F%2 Fbing. com"); await Launcher. Launch. Uri. Async(launch. Uri, options);

var options = new Launcher. Options(); options. Target. Application. Package. Family. Name = "24919.

var options = new Launcher. Options(); options. Target. Application. Package. Family. Name = "24919. Instapaper. It"; var token = Shared. Storage. Access. Manager. Add. File (gpx. File); Value. Set input. Data = new Value. Set(); input. Data. Add("Token", token); var launch. Uri = new Uri("instapaper: ? Add. Url=http%3 A%2 F%2 Fbing. com"); await Launcher. Launch. Uri. Async(launch. Uri, options, input. Data);

var query. Uri = new Uri("instapaper: "); await Launcher. Query. Uri. Support. Async(query. Uri,

var query. Uri = new Uri("instapaper: "); await Launcher. Query. Uri. Support. Async(query. Uri, Launch. Uri. Type. Launch. Uri); var query. Uri = new Uri("instapaper: "); string package. Family. Name = "24919. Instapaper. It"; await Launcher. Query. Uri. Support. Async(query. Uri, Launch. Uri. Type. Launch. Uri. For. Results, package. Family. Name); ?

Client App A Client App B App with App Service Background Task

Client App A Client App B App with App Service Background Task

Category System Devices Settings page Uri Display (on desktop) Screen (on mobile) Both ms-settings:

Category System Devices Settings page Uri Display (on desktop) Screen (on mobile) Both ms-settings: display Notifications Both ms-settings: notifications Storage Sense Desktop only ms-settings: storagesense Battery Saver Both ms-settings: batterysaver Offline Maps Both ms-settings: maps Bluetooth Both ms-settings: bluetooth Mobile Desktop ms-settings: wifi ms-settings: network-wifi ms-settings-airplanemode: ms-settings: network-airplanemode Cellular Both ms-settings: network-cellular Data Sense Both ms-settings: datausage Proxy Desktop only ms-settings: network-proxy Wi-Fi Airplane mode Network and Wi-fi Mobile and/or Desktop More… [See documentation for complete list]

var options = new Launcher. Options(); options. Target. Application. Package. Family. Name = "24919.

var options = new Launcher. Options(); options. Target. Application. Package. Family. Name = "24919. Instap"; var launch. Uri = new Uri("instapaper: ? Add. Url=http%3 A%2 F%2 Fbing. com"); await Launcher. Launch. Uri. For. Results. Async(launch. Uri, options, data); App 1 var result. Data = new Value. Set(); result. Data. Add("Result", value); operation. Protocol. For. Results. Operation. Report. Completed(result. Data); A App 2

Apps from the same publisher share files and settings

Apps from the same publisher share files and settings

<Package> <Extensions> <Extension Category="windows. publisher. Cache. Folder"> <Publisher. Cache. Folder> <Folder Name="Folder 1"> </Publisher.

<Package> <Extensions> <Extension Category="windows. publisher. Cache. Folder"> <Publisher. Cache. Folder> <Folder Name="Folder 1"> </Publisher. Cache. Folder> </Extensions> </Package>

Access folder named “fonts”: Windows. Storage. Application. Data. Current. Get. Publisher. Cache. Folder("fonts"); Clear

Access folder named “fonts”: Windows. Storage. Application. Data. Current. Get. Publisher. Cache. Folder("fonts"); Clear shared storage: Windows. Storage. Application. Data. Current. Clear. Publisher. Cache. Folder. Async();