Saturday 15 May 2010

get Picture from exising camera app Windows Phone 8.1 runtime c# -



get Picture from exising camera app Windows Phone 8.1 runtime c# -

i phone call function, standard camera-app of phone opens, user takes photo , i'll informations tzhe photo taken.

i don't want write seperate photo-app (well have in view windows.media.capture.mediacapture, want read barcodes, here want nice photo)

in sentiment should work speechrecognizer, wait until ist finished , have result.

is there way or forced write own camera-view? (it nice if user have mutual , sense of photographic camera on phone)

anybody knows if it's possible , how?

regands mech

in windows phone 7 , 8 utilize photochoosertask not longer available in windows phone 8.1 xaml. there workaround this.

you can utilize fileopenpicker

var picker = new fileopenpicker { viewmode = pickerviewmode.thumbnail, suggestedstartlocation = pickerlocationid.pictureslibrary, }; picker.filetypefilter.add(".jpg"); picker.filetypefilter.add(".jpeg"); picker.picksinglefileandcontinue();

this start picker take photo rom pictures library there photographic camera button in bottom of ui user can utilize take new picture.

c# camera runtime windows-phone-8.1

No comments:

Post a Comment