windows-phone-8.1

Is there a SharpDx Template, for a Windows Universal App?

与世无争的帅哥 提交于 2019-12-18 17:30:22
问题 I tried to write a game for Windows and Windows Phone 8.1, with SharpDx. But when I try, to add a Windows Phone 8.1 Version to my already existing Windows 8.1 Game, I get a few errors and the App doesn't work. Now the question: Is there an SharpDx Template in XNA Style for a Windows Universal App, like the Template I got for my only Windows 8.1 Game (from the SharpDx Visual Studio Extension)? 回答1: No there isn't, yet. What you should do is open an issue (https://github.com/sharpdx/SharpDX

Windows Phone 8.1 Camera Initialisation - Access Denied Exception

空扰寡人 提交于 2019-12-18 16:49:56
问题 Using the 8.1 MediaCapture classes for Windows Phone. Have declared the capabilities for "Audio" and "Webcam", which 90% is what would be the cause of the exception. Kicker is, it works perfectly in the WP emulator, but breaks on an actual device. Exact exception is here : I have added a mountain of checks to make sure we aren't re-initializing the already initialized camera or trying to read before the initializations.. etc (as I assumed the issue was being caused by) So it is very unlikely

Windows Phone 8.1 - Handle WebView vertical scroll by outer ScrollViewer element

风格不统一 提交于 2019-12-18 14:09:24
问题 Problem I have to show a WebView inside a ScrollViewer in Windows Phone 8.1 application, with the following requirements: WebView height should be adjusted based on its content. WebView vertical scroll should be handled by an outer ScrollViewer . WebView should handle horizontal scroll, scale (pinch-zoom), text selection (with the default copy button) and links navigation. On the picture below is my mocked layout (to the left) and the best example of similar functionality - that would be a

WP SilverLight 8.1 vs WP 8.1 (XAML) pros and cons

筅森魡賤 提交于 2019-12-18 12:18:22
问题 I have been reading that Wp8.1 (XAML) apps are the new way of creating apps for Windows Phone 8.1, and the code is highly reusable for Windows 8.1 Desktop apps. But im a bit worried since performing a single search from the Contacts (ContactManager in WP8.1 XAML) is way slower than the Silverlight counterpart. Just returning all contacts from my Agenda (240 contacts with emails, thumbnails, etc...) takes 3 seconds in my Lumia 1520; the same operation with Silverlight code takes 0,7 seconds. I

font size scaling in Windows Store Universal App (W8.1 + WP8.1)

时间秒杀一切 提交于 2019-12-18 10:35:53
问题 How do i scale text in Windows Store Universal App (W8.1 + WP8.1)? Basically, the app should look the same regardless which device/resolution is used. The current situation is that layout (dynamic grid based layout) and images scale well except of the text (font size). The text displayed looks nice for WVGA resolution (480 × 800) but is incredible small for 1080p resolution. I already read a lot of stuff like Guidelines for scaling to pixel density or Guidelines for supporting multiple screen

binding device image path windows phone 8.1

余生长醉 提交于 2019-12-18 09:44:52
问题 How to bind device image path windows phone. Below is image path "C://Data//Users//Public//Pictures//Camera Roll//WP_20141001_002.jpg" Thanks 回答1: I'm not sure if in your case using string is a good choice - maybe it will be possible to use BitmapImage - obtain a StorageFile from path, open Stream and then set BitmapImage - in this case you perform async operations outside converter. In case you still want to use string it's possible, but will need some special approach - using async methods

Windows phone 8.1 Implement virtualization for Custom variable sized Gridview

为君一笑 提交于 2019-12-18 09:38:52
问题 I have implemented custom itempanel for gridview to support variable item height using this link posted by JerryNixon.My Custom panel supports 3 different sized template(depending on image dimension I am deciding which template to use).This custom Gridview should have pagination and it should support more than 200 items. Right now i could load only 50 items and it crashes because of out of memory exception event in 1GB device . Its one of the requirement in out project. I know when we

Access xaml control inside ith item in flipview

点点圈 提交于 2019-12-18 09:27:05
问题 I have a flipview which is populated by some code (I don't understand how modifying an app). <FlipView x:Name="ArticleDetail" Grid.Row="1" AutomationProperties.AutomationId="ItemsFlipView" AutomationProperties.Name="Item Details" TabIndex="1" DataContext="{Binding LatestArticlesModel}" ItemsSource="{Binding Items}" ItemTemplate="{StaticResource LatestArticles1DetailDetail}" SelectedItem="{Binding SelectedItem, Mode=TwoWay}" ItemContainerStyle="{StaticResource FlipItemStyle}"> </FlipView> <!-

Cannot find System.Net.Sockets assembly for WP 8.1

霸气de小男生 提交于 2019-12-18 09:25:40
问题 I'm trying to create an app which works as a remote-control for my musicplayer. I've just finished written a nice library for my code and I just now noticed there is no assembly called System.Net.Sockets for Windows Phone 8.1? There must be a solution to this, but I just cannot find it. Does anyone know how I might be able to import it to my project? 回答1: According to Microsoft, you should be using Windows.Networking.Sockets instead: The Windows Runtime API, Windows.Networking.Sockets, has

Change user agent in WP8.1 WebView

匆匆过客 提交于 2019-12-18 09:18:13
问题 This is for Windows Phone. I'm using windowsphone8.1 update 1. you know that the web interface works like that of android and iOS. How do I get the same interface in my wp8.1 web-apps? I downloaded and installed WP8.1 Update 1 SDK. I don't see Wp8.1 update 1 version to select when I open a new project. Can I get updated web interface in WP8.1 or Cyan updated users? 回答1: Windows Phone 8.1 Update 1 does not introduce any new public APIs for developers. If you're working with the WebView (aka