Click here to Skip to main content

Windows 8, WinRT & Metro

 
GeneralRe: How to auto log on webview using VB Pinmembertntx2505-Nov-12 4:38 
GeneralRe: How to auto log on webview using VB PinmvpRichard MacCutchan5-Nov-12 5:28 
QuestionGPS Pinmemberjohnson_shalom27-Oct-12 0:31 
AnswerRe: GPS PinmemberFrankLavigne3-Jan-13 4:47 
QuestionUnable to obtain Bytes sent and received using MB APIs on Win8 PinmemberSharath C V25-Oct-12 0:28 
AnswerRe: Unable to obtain Bytes sent and received using MB APIs on Win8 PinmemberSharath C V25-Oct-12 0:51 
QuestionWindows 8, Get list of drives PinmemberUSAFHokie8021-Sep-12 6:39 
AnswerRe: Windows 8, Get list of drives PinmemberBrowniePoints26-Oct-12 11:29 
QuestionSave Canvas as image in WINRT using C# PinmemberVivek Deshmukh20-Sep-12 1:56 
AnswerRe: Save Canvas as image in WINRT using C# PinmvpRichard MacCutchan20-Sep-12 3:32 
GeneralRe: Save Canvas as image in WINRT using C# PinmemberVivek Deshmukh20-Sep-12 3:35 
Questionmetro torrent Pinmembersealmu18-Sep-12 7:51 
QuestionMetro Camera AP snap shot event Pinmemberej_evo17-Sep-12 20:59 
AnswerRe: Metro Camera AP snap shot event Pinmemberpramodhegde8818-Sep-12 0:31 
Have a button in the UI, called 'btnCapture' and an image called 'imgPhoto'
In the click event of this button, have the following code. Also, make the click event async.
 
private async void btnCapture_Click(object sender, RoutedEventArgs e)
{
   CameraCaptureUI dialog = new CameraCaptureUI();
   StorageFile file = await dialog.CaptureFileAsync(CameraCaptureUIMode.Photo);
   if (file != null)
   {
     BitmapImage bitmapImage = new BitmapImage();
     using (IRandomAccessStream fileStream = await file.OpenAsync(FileAccessMode.Read))
     {
       bitmapImage.SetSource(fileStream);
     }
     imgPhoto.Source = bitmapImage;
   }
}
 
In case of system resource access, Metro Apps work in the same way as Silverlight. So you need to explicitly provide access for the application to access Webcam and Microphone. You can give this permission in Capabilities tab of Application Manifest.
GeneralRe: Metro Camera AP snap shot event Pinmemberej_evo19-Sep-12 1:01 
QuestionHow To Create Draggable and Drappable List Of Controls? PinmemberBardiamarzbani13-Sep-12 13:36 
QuestionShow UserControls In “ItemsControl” with custom option in XAML [modified] PinmemberBardiamarzbani13-Sep-12 12:53 
Questionwhat is winRT? Pinmembervishalgpt2-Sep-12 8:20 
AnswerRe: what is winRT? PinmemberSoMad2-Sep-12 10:54 
NewsMessage Automatically Removed PinmemberWinRTApps31-Aug-12 11:35 
QuestionA question about mixing technologies... PinmemberSuper Lloyd25-Aug-12 20:00 
AnswerRe: A question about mixing technologies... Pinmemberfrazzle-me26-Mar-13 10:00 
GeneralRe: A question about mixing technologies... PinmemberSuper Lloyd26-Mar-13 15:56 
Questioninstalling Chrome (and, maybe, FF) on Metro: Link to How-To-Geek article PinmemberBillWoodruff24-Jul-12 16:16 
AnswerRe: installing Chrome (and, maybe, FF) on Metro: Link to How-To-Geek article PinmemberChristian Amado2-Aug-12 10:41 
Questionessay/interview on Flash in IE10 in Win8 about which there has been a lot of confusion among developers PinmemberBillWoodruff13-Jul-12 20:18 
AnswerRe: essay/interview on Flash in IE10 in Win8 about which there has been a lot of confusion among developers PinmemberChristian Amado2-Aug-12 10:39 
QuestionChange the wallpaper PinmemberAvivaPhong5-Jul-12 16:56 
AnswerRe: Change the wallpaper PinmemberPhilippe Mori5-Jul-12 17:09 
QuestionWPF Win 8 Desktop App Buttons PinmemberKevin Marois29-Jun-12 12:10 
Questionsaving canvas as image in metro style app PinmemberFarhan Ghumra27-Jun-12 23:50 
QuestionHow to start learning windows phone applications develop? Pinmemberlixiaobin52527-Jun-12 5:14 
AnswerRe: How to start learning windows phone applications develop? PinmvpRichard MacCutchan27-Jun-12 5:20 
Questionwindows 8 release preview PinmemberPrathap Reddy K1-Jun-12 1:20 
AnswerRe: windows 8 release preview PinmemberSteve Maier5-Jun-12 7:43 
GeneralRe: windows 8 release preview PinmemberAvivaPhong5-Jul-12 21:11 
AnswerRe: windows 8 release preview PinmemberPaul Conrad5-Jun-12 9:28 
AnswerMessage Removed PinmemberLiveFreeCodeHard12-Jun-12 13:43 
GeneralRe: windows 8 release preview PinmemberCollin Jasnoch13-Jun-12 5:13 
Questionbackward compatibility PinmemberBupeChombaDerrick7-May-12 16:07 
AnswerRe: backward compatibility PinmemberJeremy Hutchinson9-May-12 6:19 
GeneralRe: backward compatibility PinmemberKevin McFarlane24-May-12 6:19 
GeneralRe: backward compatibility PinmemberBupeChombaDerrick26-May-12 8:00 
GeneralRe: backward compatibility PinmemberAlbert Holguin5-Jun-12 8:41 
AnswerRe: backward compatibility PinmemberChristian Amado2-Aug-12 12:17 
QuestionEnumerate network printers in metro apps Pinmemberchameli.sujith25-Apr-12 23:49 
QuestionMetro App Certification PinmemberKevin Marois21-Mar-12 9:21 
AnswerRe: Metro App Certification PinmvpNish Sivakumar29-Mar-12 7:42 
GeneralRe: Metro App Certification PinmemberKevin Marois29-Mar-12 7:51 
GeneralRe: Metro App Certification PinmvpNish Sivakumar29-Mar-12 7:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150302.1 | Last Updated 21 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid