share option in windows phone app -


i wanna provide share option windows app apps in windows phone, android develpement. please 1 tell, possible in windows phone. (using rt, not in silver light) thank in advance.

for example: below image

enter image description here

i using below code using "how use sharelinktask namespace in windows phone 8.1?" link.

protected override void onnavigatedto(navigationeventargs e) {     datatransfermanager dtmanager = datatransfermanager.getforcurrentview();     dtmanager.datarequested += dtmanager_datarequested; }  private async void dtmanager_datarequested(datatransfermanager sender, datarequestedeventargs e) {     e.request.data.properties.title = "code samples";     e.request.data.properties.description = "here great code samples windows phone.";     e.request.data.setweblink(new uri("http://code.msdn.com/wpapps")); } // click button share web link private void btnsharelink_click(object sender, routedeventargs e) {     windows.applicationmodel.datatransfer.datatransfermanager.showshareui(); } 

but displays progress bar message preparing content share , disappears, no ui sharing. should do.please me.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -