windows-phone-8.1

Windows phone 8.1 app crash report . Nothing is there to identify the reason of crash

删除回忆录丶 提交于 2019-12-11 02:59:37
问题 I have published a Windows Phone 8.1 Silverlight application to the market. And among many users, some of them are getting ( 3 or 4 were reported out of 8000 users ) app crash issue . I checked with the issue on our end and provided all possible steps to prevent the crash. But unfortunately the users are getting the same app crash. AND THE USERS AND ME ARE EQUALLY WORRIED.!! :( When I checked with the dev center crash reports I found the following exception details which I never get on

How to use correct regional format (date & time) of Windows Phone 8.1

牧云@^-^@ 提交于 2019-12-11 02:53:58
问题 In WP8.1 region settings, one can set a country/region and a regional format. In my case I have United States as the country/region and German (Germany) as the regional format because of Cortana. However, the time picker as well as the date picker use 12hrs AM/PM format and the US date format mm-dd-yyyy. I can't find any property which tells me the regional format that's visible in the settings dialog of WP8.1. Is there any localization/globalization feature of Windows Phone Store apps, that

Progress info using HttpClient

旧城冷巷雨未停 提交于 2019-12-11 02:53:30
问题 I wanted to implement progress bar using 'Windows.Web.Http.HttpClient' in Windows Phone 8.1 Silverlight. Edit: First Attempt : private async Task CheckProgress() { var df = httpClient.GetAsync(new Uri(uriString, UriKind.Absolute)).Progress = Progress; // here i want to stop the execution till whole content downloaded // Reason to wait here // this client download will be used by one more async method. so i need to wait here till the file completely downloaded. // this whole is done in this

Update LiveTile from Background Task WP8.1

拟墨画扇 提交于 2019-12-11 02:43:46
问题 I cannot update manually pinned tile from Background Task. var updater = TileUpdateManager.CreateTileUpdaterForApplication(); updater.EnableNotificationQueue(true); updater.Clear(); XmlDocument tileXml = TileUpdateManager.GetTemplateContent(TileTemplateType.TileWideText03); var title = "Test text"; string titleText = title == null ? String.Empty : title; tileXml.GetElementsByTagName("text")[0].InnerText = titleText; updater.Update(new TileNotification(tileXml)); Exception fires on

Scrolling a ListView CollectionViewSource to a group of items based on a search textbox's text in C#

我怕爱的太早我们不能终老 提交于 2019-12-11 02:24:42
问题 I am working on a Windows Phone 8.1 app in XAML and C#. I have a listview, whose item source is set to a CollectionViewSource called MusicSource . On the backend in C#, I have an ObservableCollection called source and the following code populates it by getting getting all the music files on the phone, groups it by artist and then puts them in the CollectionViewSource, which shows them in the listview: var folders = await folder.GetFoldersAsync(); if (folders != null) foreach (var fol in

App crashes when on Suspend

坚强是说给别人听的谎言 提交于 2019-12-11 02:09:07
问题 So I ran across some bizarre behavior. I am an the first page with a ViewModel. The ViewModel only contains a ObservableCollection. When I navigate on the second page everything seems fine. But when I suspend the app on this page, the app crashes. Long-Press Back-Button or Windows Key. The bizarre thing is, that this only happens when I am not debugging. When I am debugging everything works find. Suspend-Resume works perfectly. I could reproduce it on my Lumia 920 and the Emulator. I kinda

Class Library (Portable for Universal Apps) System.Diagnostics.StackTrace limitations and referencing assemblies targeted at another runtime

[亡魂溺海] 提交于 2019-12-11 02:01:42
问题 I use Visual Studio 2013 Ultimate Update 4 to create a new project of type "Class Library (Portable for Universal Apps)". The resulting PCL is targeted at two platforms i.e. Windows 8.1 and Windows Phone 8.1 and this is what I need. System.Diagnostics.StackTrace class is not supported in this subset. For my other applications I heavily utilize this class for purposes of tracing and exception logging. After a while of trial and error I found out that I can simply set a reference from my

Add ThumbToolTip to Slider

与世无争的帅哥 提交于 2019-12-11 01:26:32
问题 How to add a ThumbToolTip to a Slider (currently I'm working with Windows Phone 8.1 RT)? According to MSDN - there is a property that should enable ThumbTooltip. But as I've looked at default style there is no sign of ToolTip. I've tried to set the value to true (which is also a default value): <Slider Maximum="100" Value="10" HorizontalAlignment="Stretch" ThumbToolTipValueConverter="{StaticResource ToolTipConv}" IsThumbToolTipEnabled="True"/> But no ToolTip was shown. I can think of making a

How do I add a File Type Association in a Windows Phone 8.1 app manifest?

不羁岁月 提交于 2019-12-11 01:23:49
问题 I'm trying to access files in the KnownFolders.MusicLibrary with the following code. internal async void Update() { StorageFolder rootFolder = KnownFolders.MusicLibrary; ScanFolder(rootFolder); } private async void ScanFolder(StorageFolder storageFolder) { var items = await storageFolder.GetItemsAsync(); foreach (var item in items) { if (item is StorageFolder) { ScanFolder(item as StorageFolder); } else if (item is StorageFile) { var fs = new FileStream(item.Path, FileMode.Open, FileAccess

How can I migrate my WP8 application to universal when it uses a local linq to sql db?

穿精又带淫゛_ 提交于 2019-12-11 01:23:26
问题 EDIT: To clarify, I am referring to the local database support: Local Database for Windows Phone 8 using Microsoft.Phone.Data.Linq namespace. I believe that the technology is based on SQL CE. I have an existing Windows Phone 8 application that I would like to migrate to the new Universal Windows application framework. The application relies heavily on Linq to SQL that is baked into the Windows Phone Silverlight API. I understand that I can stick with Silverlight, but it seems to me that it is