Different Windows Phone (4) Launcher (launcher)

Source: Internet
Author: User

Introduced

Distinctive Windows Phone 7.5 (SDK 7.1) launcher

Connectionsettingstask-Navigate to the specified system settings page

Phonecalltask-Outgoing Call

Smscomposetask-Texting

Emailcomposetask-Send an email

Webbrowsertask-Open Browser

Searchtask-Open Search page

Sharelinktask-sharing links to designated social networks

Sharestatustask-sharing status to a designated social network

Marketplacehubtask-Open the store Hub

Marketplacesearchtask-Search in the store

Marketplacedetailtask-Open a detailed page of a store App

Marketplacereviewtask-Evaluate the current application

Bingmapstask-bing Map

Bingmapsdirectionstask-bing Map Driving route

Mediaplayerlauncher-Open Media Player

Example

1, Connectionsettingstask's Demo

ConnectionSettingsTask.xaml.cs

* * Connectionsettingstask-Navigate to the specified settings page * connectionsettingstype-Set the page's category * Connectionsettingstype.wifi         -WiFi Settings * connectionsettingstype.bluetooth-Bluetooth settings * connectionsettingstype.cellular-Mobile network settings * 
Connectionsettingstype.airplanemode-flight Mode settings * Show ()-Navigate to the specified settings page * * using System; 
Using System.Collections.Generic; 
Using System.Linq; 
Using System.Net; 
Using System.Windows; 
Using System.Windows.Controls; 
Using System.Windows.Documents; 
Using System.Windows.Input; 
Using System.Windows.Media; 
Using System.Windows.Media.Animation; 
Using System.Windows.Shapes; 
   
Using Microsoft.Phone.Controls; 
   
Using Microsoft.Phone.Tasks; namespace Demo.launchers {public partial class Connectionsettingstaskdemo:phoneapplicationpage {PU 
        Blic Connectionsettingstaskdemo () {InitializeComponent (); 
       } private void Btnwifi_click (object sender, RoutedEventArgs e) {Connectionsettingstask Connectionsettingstask = new Connectionsettingstask (); 
            Connectionsettingstask.connectionsettingstype = Connectionsettingstype.wifi; 
        Connectionsettingstask.show (); } private void Btnbluetooth_click (object sender, RoutedEventArgs e) {connectionsetting 
            Stask connectionsettingstask = new Connectionsettingstask (); 
            Connectionsettingstask.connectionsettingstype = Connectionsettingstype.bluetooth; 
        Connectionsettingstask.show (); } private void Btncellular_click (object sender, RoutedEventArgs e) {connectionsettings 
            Task connectionsettingstask = new Connectionsettingstask (); 
            Connectionsettingstask.connectionsettingstype = Connectionsettingstype.cellular; 
        Connectionsettingstask.show (); 
       } private void Btnairplanemode_click (object sender, RoutedEventArgs e) {     Connectionsettingstask connectionsettingstask = new Connectionsettingstask (); 
            Connectionsettingstask.connectionsettingstype = Connectionsettingstype.airplanemode; 
        Connectionsettingstask.show (); } 
    } 
}

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.