c# - Open downloads in FileOpenPicker on Window Phone 8.1 -
i trying set suggested location fileopenpicker. here how did this:
var openpicker = new fileopenpicker(); openpicker.suggestedstartlocation = pickerlocationid.downloads; openpicker.filetypefilter.add("*"); it working fine on winrt , getting directly downloads folder. on windows phone it's don't working. instead of getting downloads showing list of default folders pick. after time fixing problem found, if i'll set filetypefilter that:
var openpicker = new fileopenpicker(); openpicker.suggestedstartlocation = pickerlocationid.musiclibrary; openpicker.filetypefilter.add(".jpg"); it open picturelibrary. funny thing, don't metter setting suggestedstartlocation, picturelibrary. has faced problem before? appreciate advice!
suggestedstartlocation -- suggestion. can't use force file picker open location. example if user navigated location , opened file there, file picker start there. little problematic testing, intuitive user.
Comments
Post a Comment