windows-10-mobile

Get installed application list in UWP

徘徊边缘 提交于 2020-01-14 14:15:12
问题 I have an application that needs to reads name of all installed app on user mobile. but i can't do that. How can i get list of installed applications in Universal Windows Platform on windows 10 mobile? thanks for your helping 回答1: You need to add Windows Mobile Extensions for the UWP and use the following code: if (ApiInformation.IsTypePresent("Windows.Phone.Management.Deployment.InstallationManager")) { var packages = Windows.Phone.Management.Deployment.InstallationManager.FindPackages();

Get installed application list in UWP

本秂侑毒 提交于 2020-01-14 14:15:08
问题 I have an application that needs to reads name of all installed app on user mobile. but i can't do that. How can i get list of installed applications in Universal Windows Platform on windows 10 mobile? thanks for your helping 回答1: You need to add Windows Mobile Extensions for the UWP and use the following code: if (ApiInformation.IsTypePresent("Windows.Phone.Management.Deployment.InstallationManager")) { var packages = Windows.Phone.Management.Deployment.InstallationManager.FindPackages();

Can't deploy universal app to phone with Windows 10 Mobile Tech Preview

风流意气都作罢 提交于 2020-01-12 04:48:06
问题 I have a developer unlocked Lumia 635 just yesterday updated to Windows 10 Mobile Technical Preview (OS version: 10.0.12562.84 ). After creating "Blank App (Windows Universal)" targeting Windows Phone 10 in Visual Studio 2015 RC and tried to deploy it to the device (and have changed configuration to ARM for that exactly purpose) I've got this error: Error : DEP0001 : Unexpected Error: A Prerequisite for an install could not be satisfied. (Exception from HRESULT: 0x80073CFD) After quick look

Is there an event for hiding for NavigationBar in Windows 10 Mobile?

别来无恙 提交于 2020-01-05 05:29:05
问题 In my scenrio, I need to get notification while hiding the NavigationBar in Window 10 Mobile. Is there any way to find out the visibility change of the NavigationBar in Window 10 Mobile? Regards, Srinivasan 回答1: Just have a test, it seems on Windows 10 mobile, we can only make the app run in full screen mode to hide the Navigation bar, but problem is when the app is in full screen mode, the status bar in the top will also be hidden. So if you want to make your app be launched in full screen

Display a TextBlock over a MediaElement when in full screen

荒凉一梦 提交于 2020-01-03 05:50:30
问题 I have a MediaElement and a TextBlock next to it. But when I set MediaElement to fullscreen, this TextBlock disappears. Can anyone share a solution? <MediaElement Name="player" Margin="10,5" AreTransportControlsEnabled="True" /> <TextBlock Margin="10"/> 回答1: As I have said in this thread, when we are in the Full Window mode, it will go to the FullWindowMediaRoot layer with the MediaTransportControls. In this way the TextBlock will disapper, because there is no place to show the TextBlock. In

Disable certain ListViewItem depending on custom property UWP

笑着哭i 提交于 2020-01-02 07:34:49
问题 I have a ListView that contains several types of custom UserControls . The project requires that some of them must be non-clickable, so I would like to disable them, but JUST THEM . Those items will be enabled/disabled depending on the value of a custom property. I've tried to set the ListViewItem.IsEnabled property to false , but it ain't worked, and the other solutions I've found around make no sense to me... I let a sample of the code: XAML <ListView x:Name="homeLW" Margin="0,5,0,0"

Extended execution in UWP

半城伤御伤魂 提交于 2019-12-31 06:25:30
问题 I want to use a background task for my UWP app. The below code, is my back button click event in windows mobile- private async void MainPage_BackRequested(object sender, BackRequestedEventArgs e) { var access= await BackgroundExecutionManager.RequestAccessAsync(); var task = new BackgroundTaskBuilder { Name="My task",TaskEntryPoint=typeof(backGroundTask.Class1).ToString() }; trigger = new ApplicationTrigger(); task.SetTrigger(trigger); task.Register(); //var result = await trigger

Extended execution in UWP

此生再无相见时 提交于 2019-12-31 06:25:19
问题 I want to use a background task for my UWP app. The below code, is my back button click event in windows mobile- private async void MainPage_BackRequested(object sender, BackRequestedEventArgs e) { var access= await BackgroundExecutionManager.RequestAccessAsync(); var task = new BackgroundTaskBuilder { Name="My task",TaskEntryPoint=typeof(backGroundTask.Class1).ToString() }; trigger = new ApplicationTrigger(); task.SetTrigger(trigger); task.Register(); //var result = await trigger

Moving Image in ScrollViewer (UWP)

别来无恙 提交于 2019-12-30 05:08:06
问题 I've got a Image in Scrollviewer ... <ScrollViewer x:Name="Scrollster" ZoomMode="Enabled" MinZoomFactor="1" MaxZoomFactor="4" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" ManipulationMode="All"> <Image x:Name="Img" Source="{x:Bind ImgSource}" Stretch="UniformToFill" PointerPressed="Img_PointerPressed"/> </ScrollViewer> I want to move Image when I drag image with Mouse Pointer! I tried: private void Img_PointerPressed(object sender,PointerRoutedEventArgs e) { var p =

How to check Isolated Storage of Windows 10 mobile emulator?

杀马特。学长 韩版系。学妹 提交于 2019-12-29 04:56:05
问题 I am currently working on Windows 10 and my requirement is to check isolated storage of Windows 10 Mobile emulator. With Windows Phone 8/8.1, its possible using IsolatedExplorerTool which we can use using Command Prompt. Can anyone suggest, how I can achieve the same for Windows 10 Emulator ? 回答1: The IsolatedStorageExplorer tool (ISE) for WP8.1 works just fine with W10m apps (you will find it at C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Tools\IsolatedStorageExplorerTool ). You