windows-phone-8

Communicate to PC over USB

前提是你 提交于 2020-01-04 19:44:36
问题 How can I exchange data between my WP8 app and my desktop Windows app running on the PC that has the phone connected with a USB cable? On WP7, there was TCP/IP networking over USB connection. On WP8, it seems it no longer works. On the device side, NetworkInterfaceList class lists the Ethernet adapter, however NetworkInformation.GetHostNames method says there is no IP address assigned to that NIC. Is there a way to assign an IP address to that NIC, and use it for phone-to-pc communication

Communicate to PC over USB

半腔热情 提交于 2020-01-04 19:42:19
问题 How can I exchange data between my WP8 app and my desktop Windows app running on the PC that has the phone connected with a USB cable? On WP7, there was TCP/IP networking over USB connection. On WP8, it seems it no longer works. On the device side, NetworkInterfaceList class lists the Ethernet adapter, however NetworkInformation.GetHostNames method says there is no IP address assigned to that NIC. Is there a way to assign an IP address to that NIC, and use it for phone-to-pc communication

WP8.1 back button quits the app

天涯浪子 提交于 2020-01-04 16:57:08
问题 The last time I developed against Windows Phone, it was with version 8. Now I'm making use of 8.1. Maybe this is a new feature from MS, but when I press the back button on the phone, regardless of how deep I'm into the app, the app minimizes. This is seriously annoying! Is there anything that I can do? Many thanks in advance! Kind regards, 回答1: Yes, this is the normal behaviour in Windows Phne 8.1 non-SL apps. Here a workaround to implement in your App.xaml.cs file: public App() { this

Stop the PivotControl allowing swipe

人盡茶涼 提交于 2020-01-04 13:42:35
问题 So I'm trying to make a "tabbed web browser" for Windows Phone 8. I can't seem to work out quite how I'm to do this bit. I've made all the tab control stuff using a PivotControl (it replaced TabControl in Windows 8 I believe). I can add & remove tabs dynamically, and I think that system is pretty good. Unfortunately, I can't work out how to stop the swipe gesture from changing tabs. I want the user to have to swipe only on the Pivot Controls header, not on the contents... I'm putting the

AdControl error: No ad available. In Microsoft Advertising for mobile

倾然丶 夕夏残阳落幕 提交于 2020-01-04 12:42:07
问题 I am making app for windows phone 8 and use Microsoft Advertising for mobile. For this I am using Link https://msdn.microsoft.com/windows/uwp/monetize/adcontrol-in-windows-phone-silverlight All thing is well, but problem is that when i am using their ApplicationId and AdUnitId, the ad will show and i use new created ApplicationId and AdUnitId then error is show- AdControl error: No ad available.This error is in both live and developement mode. Please guide me.. Thanks. 回答1: This is normal,

AdControl error: No ad available. In Microsoft Advertising for mobile

耗尽温柔 提交于 2020-01-04 12:42:00
问题 I am making app for windows phone 8 and use Microsoft Advertising for mobile. For this I am using Link https://msdn.microsoft.com/windows/uwp/monetize/adcontrol-in-windows-phone-silverlight All thing is well, but problem is that when i am using their ApplicationId and AdUnitId, the ad will show and i use new created ApplicationId and AdUnitId then error is show- AdControl error: No ad available.This error is in both live and developement mode. Please guide me.. Thanks. 回答1: This is normal,

How to change the CheckBox and CheckBox tick's color in LongListMultiSelector? WP8

青春壹個敷衍的年華 提交于 2020-01-04 07:18:47
问题 Is it possible to change the CheckBox and CheckBox tick's color in LongListMultiSelector. I've tried George Nikolaides solution but I was not able to approach what I needed. Is there any other way to do this? Please can somebody explain this in a little bit more detail? if it's possible. Thanks in advance, The following is George Nikolaides solution: Can I change CheckBox color in LongListMultiSelector? WP8 回答1: Remember to have xmlns:toolkit and xmlns:toolkitPrimitives defined like so:

Can Windows 10 UWP run on Windows 8.1 Devices?

偶尔善良 提交于 2020-01-04 06:54:04
问题 I'm building a Windows 10 UWP app, and would like to know if it will run on Windows Phone 8.1 and/or Windows 8.1 Desktop. Windows 8.1 is still quite prevalent, and I would like to be able to reach these users with my app. 回答1: Windows 10 apps can only run on Windows 10 (and newer). If you want to target 8.1, you have to build a 8.1. A 8.1 should run on Windows 10 without any problems. 来源: https://stackoverflow.com/questions/35054932/can-windows-10-uwp-run-on-windows-8-1-devices

Admob WP8 System.UnauthorizedAccessException

心不动则不痛 提交于 2020-01-04 06:35:15
问题 I am developing a WP8 app using VS2012. I wish to add Admob banner ads, unfortunately it is raising an exception which is causing my app to freeze. To catch this admob exception, I had to disable 'Just my code' VS2012 setting, and after executing the following code, I get a 'System.UnauthorizedAccessException: Access is denied' at the last line. _adControl = new AdView { Format = AdFormats.SmartBanner, AdUnitID = "ca-app-pub-31231-FAKE-FAKE-FAKE" }; _adControl.VerticalAlignment =

“You need to install an app for this task” error with Windows Phone 8 App

为君一笑 提交于 2020-01-04 06:13:27
问题 My Windows Phone app gives me error "You need to install an app for this task do you want to search it on store?" on app but there's nothing shows up on debugging. if i click on yes it opens store and searching for something and founds nothing. how can I solve this? edit: it goes away when I disable IsEnabledScript. 回答1: Let me try to guess: you are using a WebControl . The page you initially navigate to probably tries to redirect to an URI that has a protocol extension (like facebook://) via