1.发邮件

EmailComposeTack email=new EmailComposeTask();

email.To="收件人";

email.Subject="标题";

email.Body="内容";

email.Show();

2打电话

PhoneCallTask pck=new PhoneCallTask();

pck.DisplayName="拨打电话";

pck.PhoneNumber=“电话号码”;

pck.Show();

3搜索

SearchTask st=new SearchTask();

st.SearchQuery="要搜索的内容";

st.Show();

4发短信

SmsComposeTask sct=new SmsComposeTask();

sct.To="收信人号码";

sct.Body="内容";

sct.Show();

5启动浏览器

WebBrowserTask wbt=new WebBrowserTask();

wbt.URL="url";

wbt.Show();

6播放多媒体

MediaPlayerLauncher mpl=new MeidaPlayerLauncher();

mpl.Location=MediaLocationType.All;

mpl.controls=MediaPlaybackControls.All;    //设置所有控制都出现

mpl.Controls=MediaPlaybackControls.Pause|MediaPlayerbackControls.Stop; //设置出现播放和暂停按钮

mpl.Media=new Uri("url",UriKind.Relative);

mpl.Show();

7应用程序的详细情况

MarketplaceDetailTask mdt=new MarketplaceDetailTask();

mdt.ContentType=MarketplaceContentType.Applicatioins;

mdt.ContentIdentifier="";

mdt.Show();

8应用市场

MarketplaceHubTask mht=new MarketplaceHubTask();

mht.ContentType=MarketplaceContentType.Application;

mht.Show();

9当前应用在应用市场的消息

MarketplaceReviewTask mdr=new MarketplaceReviewTask();

mdr.Show();

10应用市场搜索

MarketplaceSearchTask mst=new MarketplaceSearchTask();

mst.ContentType=MarketplaceContentType.Music;//搜索类别

mst.SearchTerms="搜索关键字";

mst.Show();

11地图

BingMapsTask bing=new BingMapsTask();

bing.SearcTerm="地址关键字";

bing.Show(0;

12地铁方向

BingMapsDirectionsTask bmd=new BingMapsDirectionsTask();

bmd.Start=new LabeledMapLocation("start",new GeoCoordinate(lat,lon)) ;

bmd.End=new LabeledMapLocation("end",new GeoCoordinate(lat,lon)) ;

bmd.Show();

13连接设置

ConnectionSettingsTask cst=new ConnectionSettingsTask();

cst.ConnectionSettingsType=ConnectionSettingsType.Bluetooth;//类型

cst.Show();

14保存日程安排

SaveAppointMentTask sat=new SaveAppointMentTask();

sat.Subject="";

sat.Details="";

sat.StartTime="Time";

sat.Reminder=Reminder.OneHour;

sat.Show();

15 诺基亚地图加载

MapDownloaderTask  mp=new MapDownloaderTask();

mp.Show();

16诺基亚地图

MapsTask mp=new MapsTask();

mp.Show();

17地图方向

MapsDirectionsTask map=new MapsDirectionsTask();

map.Start=new LabeledMapLocation("start",new GeoCoordinate(lat,lon)) ;

map.End=new LabeledMapLocation("end",new GeoCoordinate(lat,lon)) ;

map.Show();

18共享多媒体

ShareMediaTask smt=new ShareMediaTask();

smt.FilePath="路径";

smt.Show();

19共享链接

ShareLinkTask slt=new ShareLinkTask();

slt.LinkUri=“url”;

slt.Message="欢迎来到我的博客";

slt.Title="我的博客";

slt.Show();

20共享状态

ShareStatusTask sst=new ShareStatusTask();

sst.Status="busy";

sst.Show();

04-29 05:43