windows-phone-8

wp8 LonglistSelector AnimateTo

元气小坏坏 提交于 2020-01-03 15:56:02
问题 I want to scroll to the last item on my longlistselector in WP8, using animation. I can see that in wp7, LongListSelector had a AnimateTo method. Now it does no longer. Any advice of how to animate scrolling? Thanks 回答1: This is not currently possible due to the way the new LongListSelector is implemented. If you really need this animation, you should put your custom content in a ScrollViewer instead (note that you will lose virtualization and other benefits from doing this, so consider

No scrollbar appears in container with overflow auto (IE10, Windows Phone 8)

好久不见. 提交于 2020-01-03 15:33:32
问题 I have a container (let's say a div ) with overflow: auto . The elements in it are scrolled exactly as expected, but the typical touch scrollbar doesn't appear. I tried to set -ms-overflow-style: auto explicitly, but nothing changed. Browser: IE10 Device Windows Phone 8 回答1: Check behavior here: http://msdn.microsoft.com/en-us/library/ie/hh771902(v=vs.85).aspx Hope it helps. 回答2: Based on the above link I think you should try -ms-overflow-style: scrollbar Scrollbar Indicates the element

Adding Windows Phone 8 SDK to Visual Studio 2012

霸气de小男生 提交于 2020-01-03 08:53:03
问题 I'm on a really bad internet connection, and I have Windows Phone 8 SDK files, but no the install file. Is there a way to add Windows 8 SDK to Visual Studio, without downloading the install file? 回答1: Not sure, what you mean? You need either existing Visual Studio 2012 installation + you have to install WP8 SDK which expands the Visual Studio, or you can only download the SDK, install it and use the Visual Studio Express for Windows Phone. Either way you have to download the SDK, either

Adding Windows Phone 8 SDK to Visual Studio 2012

◇◆丶佛笑我妖孽 提交于 2020-01-03 08:52:49
问题 I'm on a really bad internet connection, and I have Windows Phone 8 SDK files, but no the install file. Is there a way to add Windows 8 SDK to Visual Studio, without downloading the install file? 回答1: Not sure, what you mean? You need either existing Visual Studio 2012 installation + you have to install WP8 SDK which expands the Visual Studio, or you can only download the SDK, install it and use the Visual Studio Express for Windows Phone. Either way you have to download the SDK, either

What could cause this memory issue?

我的梦境 提交于 2020-01-03 08:41:29
问题 I'm working on an app for windows phone 8, and I'm having a memory leak problem. But first some background. The app works (unfortunately) using WebBrowsers as pages. The pages are pretty complex with a lot of javascript involved. The native part of the app, written in c#, is responsible for doing some simple communication with the javascript(e.g. native is a delegate for the javascript to communicate with a server), make animation for page transition, tracking, persistance, etc. All is done

C# windows to C# phone windows

允我心安 提交于 2020-01-03 06:38:27
问题 This is more a task to ask than help but... after 1 day of tries I can't get it work. This is my code private string _InetReadEx(string sUrl) { HttpWebRequest webReq = (HttpWebRequest)HttpWebRequest.Create(sUrl); try { webReq.CookieContainer = new CookieContainer(); webReq.Method = "GET"; using (WebResponse response = webReq.GetResponse()) { using (Stream stream = response.GetResponseStream()) { StreamReader reader = new StreamReader(stream); aRet = reader.ReadToEnd(); return aRet; } } }

Track Images(artwork_url) not returned by Soundcloud API

ε祈祈猫儿з 提交于 2020-01-03 04:28:06
问题 I am using Soundcloud API to retrieve a list a tracks in my windows phone app(using C#). In the .json file of the tracks, I see that there is no image returned for some tracks (i.e. "artwork_url":null ). (NOTE: On the other hand, in other 3rd party Soundcloud apps on WP8, I can see the same tracks along with their respective images.) Is there any way I could receive complete information? Thanks in advance! 回答1: If its null, its not defined. SC uses on their website a logic to use the default

Compatibility between Windows Phone 7.1 - 7.8 apps and Windows Phone 8 devices

跟風遠走 提交于 2020-01-03 04:27:42
问题 Do Windows Phone 7.1 - 7.8 apps run reasonably well on Windows Phone 8 devices? Is there any reason in terms of compatibility for me to choose one over the other? 回答1: You will find the official documentation about WP 7.1 and WP 8 platform compatibility in the following link: App platform compatibility for Windows Phone Although in general any WP7 app will run without problem in a WP 8 device, this documentation addresses some cases where the behavior may be different. So, if you don't use

Windows Phone 8 SDK WebClient Encoding Issue

六眼飞鱼酱① 提交于 2020-01-03 04:22:18
问题 I'm trying to parse html from a site using windows-1254 charset. but all Turkish characters shown like this: � � � � � Where is the actual problem? I did try these: webClient.Encoding = System.Text.Encoding.UTF8 webClient.Encoding = System.Text.Encoding.GetString("UTF-8"); as function this: public string ReplaceText(string _text) { _text = _text.Replace("İ", "İ").Replace("ı", "ı").Replace("ü", "ü").Replace("ÅŸ", "ş").Replace("Å", "Ş").Replace("ç", "ç").Replace("ö", "ö").Replace("ÄŸ", "ğ"

Can I use Visual Studio 2015 for creating Windows Phone 8 applications?

℡╲_俬逩灬. 提交于 2020-01-03 03:37:22
问题 I have Visual Studio 2015 Community edition installed with Windows Desktop development tools (languag - C++). Can I use it for creating Windows Phone 8 application with C++ language (especially with C++11/14 standard)? Which SDK\tools I have to install for this task or may be all required instruments are in Visual Studio 2015 Community package alredy? Thank you for help. P.S.: The "Visual Studio 2015 Platform Targeting and Compatibility" article, in the section " Visual Studio 2015 Support