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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -