Tuesday 15 March 2011

ShareMediaTask Working in Windows Phone 8.1 device but Not in Windows Phone 8 -



ShareMediaTask Working in Windows Phone 8.1 device but Not in Windows Phone 8 -

i working windows phone 8 application. wanted share partcular image specific name.

this code snippet using.

//find pic contains pic particular name var pic = medialibrary.savedpictures.firstordefault(p => p.name.contains("<name>")); sharemediatask smt = new sharemediatask(); smt.filepath = pic.getpath(); deployment.current.dispatcher.begininvoke(() =>smt.show());

the unusual thing has come me code working when installing application on windows phone 8.1 device. when run on windows phone 8 device sharemediatask not initiating.

i not figure out whats problem. getting no exception when run in windows phone 8 device.

has 1 faced similar situaton. missing windows phone 8 specific. please help me out guys.

thank in advance.

in wp8 it's cameracapturetask share photo beingness selected or captured. improve seek inserting cameracapturetask in sec line of code rather sharemediatask.

how utilize share media task windows phone 8

windows-phone-8 windows-phone-8.1

No comments:

Post a Comment