windows-phone-8.1

c# Windows Phone 8.1 How to get Geocoordinate object

不问归期 提交于 2019-12-25 12:42:06
问题 I need to get Geocoordinate object with my Longitude and Latitude. Cannot get Geocoordinates by new() https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.geolocation.geocoordinate One way is for example this code var locator = new Geolocator(); locator.DesiredAccuracyInMeters = 50; var position = await locator.GetGeopositionAsync(); Geocoordinate Coordinate = position.Coordinate; Which gets GPS coordinate. But I need Geocoordinate with my Longitude and Latitude. 回答1: You

Deploy/Build Windows Phone 8.1 to device (not emulator) on Windows 7

你说的曾经没有我的故事 提交于 2019-12-25 09:36:50
问题 I'm developing a Windows Phone 8.1 app in Visual Studio 2013 Pro on a Windows 7 machine. Obviously, using the emulator is not an option for running it. Is it possible to deploy/build a Windows Phone 8.1 application to a device (an actual Windows Phone connected via USB) on Windows 7? (I'd find out myself, but I don't have a Windows Phone. My client is willing to purchase one if that will enable us to run it.) 回答1: Sure, but you should have developer unlocked device to deploy your application.

WNS error 0x880403E8 on device

那年仲夏 提交于 2019-12-25 07:04:09
问题 I am developing a WP8.1 silverlight app, that receives WNS notification. It works fine on the emulator, but on the device (lumia 640), it crashes at the following api call: var channel = await Windows.Networking.PushNotifications.PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync(); I receive the following error: _exception {System.Exception: Exception from HRESULT: 0x880403E8 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System

Custom CommandBar to PickerFlyout

断了今生、忘了曾经 提交于 2019-12-25 07:03:12
问题 By default PickerFlyout has commandbar that has done and cancel buttons. Is it possible to disable done button programmatically? If not is there any way to add custom command bar and replace default one? With the help of the answer given i tried to write custom picker from PickerFlyoutBase. But now i'm not able to add content to flyout in xaml. Giving me error saying custompicker doesnt support direct content <Button> <Button.Flyout> <local:custompicker> <TextBlock Margin="20" FontSize="30"

Show Json Data obtained from PHP File in Windows Phone 8.1

∥☆過路亽.° 提交于 2019-12-25 06:37:29
问题 I have PHP file which gives me following JSON: {"Name":"Waqas","Age":37,"Address":"Kanju"} When I execute this method in Windows Phone it gives me the same JSON: {"Name":"Waqas","Age":37,"Address":"Kanju"} in textblock named tblock.Text ; This is my method for receiving data from PHP file in JSON format: public async void sndandrec(string feedingaddress, HttpResponseMessage response, TextBlock tblock, HttpClient myhttpClient) string responseText; tblock.Text = "Waiting for response ..."; try

Is It possible To develop windows phone 8 apps in windows phone SDK 8.1 with Visual studio 2013

笑着哭i 提交于 2019-12-25 05:06:36
问题 i have windows phone 8(Nokia lumia 525) Is It possible To develop windows phone 8 apps in windows phone SDK 8.1 with Visual studio 2013? Is there any problem like emulator problem, hosting app to windows store problem, windows azure for notification problem? I am a fresher now only enter into development could you please solve my problem Thank you so much 回答1: Yes you can. Just select Blank App (Windows Phone Silverlight) instead of Blank App (Windows Phone) and select the target windows

Windows Phone Launch App with Voice Commands in Cortana

时光毁灭记忆、已成空白 提交于 2019-12-25 04:43:10
问题 I'm trying to figure out how to launch an app (WP 8.1 RT) in the foreground using Cortana. I found this link here. I can create the VCD file fine, the problem is the below namespace doesn't exist, so I can't install the VCD xml commands. Windows.ApplicationModel.VoiceCommands; Am I missing a DLL? I can't seem to find it. Also, I'm using VS2013 and Windows 8.1. 回答1: You should follow this documentation for 8.x. The namespace you want is Windows.Phone.Speech.VoiceCommands. 来源: https:/

Windows Phone Launch App with Voice Commands in Cortana

余生颓废 提交于 2019-12-25 04:43:01
问题 I'm trying to figure out how to launch an app (WP 8.1 RT) in the foreground using Cortana. I found this link here. I can create the VCD file fine, the problem is the below namespace doesn't exist, so I can't install the VCD xml commands. Windows.ApplicationModel.VoiceCommands; Am I missing a DLL? I can't seem to find it. Also, I'm using VS2013 and Windows 8.1. 回答1: You should follow this documentation for 8.x. The namespace you want is Windows.Phone.Speech.VoiceCommands. 来源: https:/

Generate tone, or sound, in Windows Phone 8.1 app

爷,独闯天下 提交于 2019-12-25 04:18:06
问题 I am attempting to generate a tone, for a set frequency and duration, on Windows Phone 8.1. Following up on the topic presented here: Playing a sound from a generated buffer in a Windows 8 app, here's my attempted solution for Windows Phone 8.1, running in a simulator in Visual Studio 2015, in VB.NET attempting to implement SharpDX.XAudio2. No sound comes out, but I think it's right. Any ideas? ' Initialization phase, keep this buffer during the life of your application ' Allocate 10s at 44

Create Geofence while storing the location to the sqlite database [duplicate]

半世苍凉 提交于 2019-12-25 03:59:31
问题 This question already has answers here : SQlite Getting nearest locations (with latitude and longitude) (7 answers) Closed 3 years ago . I am developing windows mobile application. I want to create geofence when storing the location to the sqlite database to generate SMS alerts when entering to the geofence. I am loading the location to the text boxes through map. This is the code so far private void Load_Location(object sender, RoutedEventArgs e) { LattxtBx.Text = String.Format("{0}",