windows-phone-8.1

Windows Phone 8.1 WinRT set Button location on MapControl

╄→尐↘猪︶ㄣ 提交于 2019-12-12 02:48:10
问题 I want to set the Button on MapControl in my WP 8.1 app. The problem is the Button isn't on location of the element only is on top-left of the Map and it is moving. Location in binding is Geopoint. Here's my code: <Maps:MapControl x:Name="MapEvent" Grid.Row="1"> <Maps:MapItemsControl ItemsSource="{Binding}"> <Maps:MapItemsControl.ItemTemplate> <DataTemplate> <StackPanel> <Button Maps:MapControl.Location="{Binding Location}" Maps:MapControl.NormalizedAnchorPoint="0.5,0.5" Content="{Binding

How can I get installed apps list in Windows Phone?

主宰稳场 提交于 2019-12-12 02:34:08
问题 I've installed an app from the Windows Phones Store called "360手机卫士", a so-called famous(or infamous) antivirus software in china, which is said to be able to check your installed apps. After using it, I found that during the scan process,it does get the list of all my apps and scanned them. So after checking on the internet I get to know usually apps can't get the list because of "sandbox". How did it passed through or how did this app made it? BTW:the download of this app. Make sure you use

Binding data from JSON object to ListView inside Hub section

大兔子大兔子 提交于 2019-12-12 02:28:48
问题 I was able to successfully bind the data from JSON after Deserialize to listview but i am having trouble binding to the same listview inside a Hub/HubSection. Using ItemData.ItemsSource = obj; I was able to bind the data to the listview. How can i bind and display the data when listview is placed inside a hubsection? My MainPage.xaml Hub code <Hub x:Name="MainHub" Header="My Hub"> <HubSection x:Name="Test" Header="Online"> <DataTemplate> <Grid> <ListView Name="ItemData"> <ListView

Closing MessageDialog programatically in WP 8.1 RT

試著忘記壹切 提交于 2019-12-12 02:27:35
问题 I want to close and hide the MessageDialog in Windows Phone 8.1 RT. I've seen multiple solutions from calling .Cancel() and .Close() , but none work on Windows Phone 8.1 RT; they're valid only for Windows 8 RT. How can I close the MessageDialog from code without interacting with it? 回答1: Use ContentDialog instead MessageDialog . ContentDialog has more customization options. You can create ContentDialog which looks like MessageDialog without any problems, and hide it from code. Sample:

Windows Phone 8.1 - Daily Calendar and issue

柔情痞子 提交于 2019-12-12 02:09:09
问题 I was trying to make daily calendar and I create this: xaml: <Page x:Class="Calendar.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:Calendar" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Grid> <Pivot x:Name="CalendarPivot"

Windows Phone 8.1: How to change the color of the Title text of ListPickerFlyout

时间秒杀一切 提交于 2019-12-12 01:55:42
问题 I have a Windows Phone 8.1 Application. I have a button with a ListPickerFlyout in it. The color of my title regardless of the theme is always white. How do I change the color of the title so that it can adapt to the different themes? <Button x:Name="myButton"> <Button.Flyout> <ListPickerFlyout x:Name="myListPicker" PickerFlyoutBase.Title="HELLo"> </ListPickerFlyout> </Button.Flyout> </Button> I might have overridden a themebrush to be always white which might be causing this issue. The

Will Windows Phone AppData change/Deleted if I update.aapx file with .xap in to the store

≡放荡痞女 提交于 2019-12-12 01:50:12
问题 I created an universal Windows Phone application using c# xaml that have user information in the appdata ' Local ' folder. And I published it in to store. But due to some performance issue I forced to move on to silverlight for updating the application. So I need to update package .appx file with .xap file. Is that possible ? Will it delete data from Local app folder of the current user ? 来源: https://stackoverflow.com/questions/29160224/will-windows-phone-appdata-change-deleted-if-i-update

How to hold up drawing of a UI element until rest of the page has loaded?

孤街浪徒 提交于 2019-12-12 01:42:17
问题 ListView is making the startup time of my app very long. First I see nothing and then the whole page with all of it's contents is drawn at once. How can I make the page draw up without the ListView (or an indeterminate progress ring at it's place) and only after that start drawing the ListView? Also the app need to be able to respond to a backey press during loading. Changing ListView.Visibility to collapsed at XAML and the to Visible on Page_Loaded does not have the desired effect; Only if I

No Basic Camera UI for Windows Phone 8.1

三世轮回 提交于 2019-12-12 01:29:05
问题 OK. Questions. I know there is no CameraCaptureUI in Windows phone 8.1, so I have to use MediaCapture class. That's fine but what about UI? Do I have to make and position button in my screen from scratch?(like flash button, front camera button etc) About Nokia Imaging SDK. does it provide any UI? and can I use that API for taking picture instead of working directly with MediaCapture?. I tried to find out some information about initializing and taking picture using nokia imaging sdk, but I

About Application data(local settings) and Sqlite database in windows phone 8.1

妖精的绣舞 提交于 2019-12-12 00:53:21
问题 I have a small doubt about using SQLite database and local settings. I have an idea about how to use local settings for an app. When we use Application data(local settings) in our application we can restore the previous state of the application. Can we use sqlite local database to store and retrieve the values while we use local settings. protected async override void OnNavigatedTo(NavigationEventArgs e) { if (data.Values["check"] != null) { this.Frame.Navigate(typeof(BlankPage1)); } if (data