windows-phone

when keyboard is show, scrolling is limited

痴心易碎 提交于 2019-12-23 04:41:23
问题 I have a problem with scrolling in windows phone. I have a lot of elements on page so to add ability to scroll I put this on ScrollViewer. Hovewer, when I foucesd on some text block and the keyborad shows up, the scroll in working but it cuts the top and bottom of the page so it's can't be reach by user. Have you had similar problem with your apps and know how to fix this ? I wil be really grateful for any help Link to image when I put screenshot with my problem The picture contains four

when keyboard is show, scrolling is limited

一个人想着一个人 提交于 2019-12-23 04:41:22
问题 I have a problem with scrolling in windows phone. I have a lot of elements on page so to add ability to scroll I put this on ScrollViewer. Hovewer, when I foucesd on some text block and the keyborad shows up, the scroll in working but it cuts the top and bottom of the page so it's can't be reach by user. Have you had similar problem with your apps and know how to fix this ? I wil be really grateful for any help Link to image when I put screenshot with my problem The picture contains four

Special characters in object making JSON invalid (DataContractJsonSerializer)

一世执手 提交于 2019-12-23 04:03:31
问题 I'm trying to serialize an object which has a special character in on of his strings (like ø or æ). The problem is that when I use a special character like that, the last bit of my JSON is cut off? Without special characters: {"availability":"busy","name":"test","visibility":"public"} With special characters: {"availability":"busy","name":"tøst","visibility":"public" I notice that for each special character, a character is cut off of my JSON string. I use following code to serialize: //

Special characters in object making JSON invalid (DataContractJsonSerializer)

不想你离开。 提交于 2019-12-23 04:03:01
问题 I'm trying to serialize an object which has a special character in on of his strings (like ø or æ). The problem is that when I use a special character like that, the last bit of my JSON is cut off? Without special characters: {"availability":"busy","name":"test","visibility":"public"} With special characters: {"availability":"busy","name":"tøst","visibility":"public" I notice that for each special character, a character is cut off of my JSON string. I use following code to serialize: //

Read Exif data from Image on WP

冷暖自知 提交于 2019-12-23 02:44:28
问题 How to read Exif data from Image. There is ExifLib but have problem with Lumia device and Data taken field. Are there any other way to read Exif data on Windows Phone (7./8). Best regards 回答1: I use the ExifLib from this article http://igrali.com/2011/11/01/reading-and-displaying-exif-photo-data-on-windows-phone/ without any problems on Lumia 800 and 710. Try it. If you want to get the location of the photo, make sure you have adding gps info to photos enabled in settings. 回答2: You should use

How to pass data between two pages in Windows Phone 8.1 application ?

吃可爱长大的小学妹 提交于 2019-12-23 02:36:26
问题 I have a Windows phone 8.1 application where I have two pages displaying data. The first page has a listview displaying all of the data from an sqlite database, and when the user taps on one item in the listview, the second page opens with a listview that contains more details about that specific record from the database. My question is how to achieve this in Windows Phone 8.1 using c# ? 回答1: in windows phone 8.1 there are two ways to do it: void SelectionChanged(object sender,

LayoutTransform not in Windows Phone Toolkit

独自空忆成欢 提交于 2019-12-23 01:24:08
问题 The examples I have found for using a LayoutTransformer with windows phone are all from before they split off the Windows Phone Toolkit from the Silverlight Toolkit. The Windows Phone Toolkit does not have the LayoutTransformer.dll that was referenced. So the question is, what do you use to do a LayoutTransform now? 回答1: Literally, just use the code from the Silverlight toolkit with minor changes. Here's how to do it for Windows 8 (note: this is from my blog). You can reuse this completely ,

How to solve DEP6500 and DEP6701 errors?

无人久伴 提交于 2019-12-22 18:33:40
问题 I have a project called BTLE in its own solution. Loading the project and running it with the debugger on the phone works find. I have a second solution that Loads and compile fine as well. I added the BTLE project (Add/Existing Project) to the second solution, compiled it and tried to run it in the debugger. I can see the application was loaded fine to the phone (I can run it from the phone), but the debugger will not start and I am getting the following error messages: 1>------ Deploy

Making a StackPanel scrollable in Windows Phone 8

孤者浪人 提交于 2019-12-22 18:27:28
问题 I have a list of controls, put into a stackpanel. These controls are Hubtiles, that are added programatically after a user creates it - a list essentially. I need to make the StackPanel in which they are added, scrollable - what would be the best approach for this? Should i put the stackpanel inside a ScrollView, and then increase the StackPanels height with the actual height of the Hubtile - to make it scrollable, but not so that the user can scroll infinite without something being there. So

Making a StackPanel scrollable in Windows Phone 8

﹥>﹥吖頭↗ 提交于 2019-12-22 18:27:05
问题 I have a list of controls, put into a stackpanel. These controls are Hubtiles, that are added programatically after a user creates it - a list essentially. I need to make the StackPanel in which they are added, scrollable - what would be the best approach for this? Should i put the stackpanel inside a ScrollView, and then increase the StackPanels height with the actual height of the Hubtile - to make it scrollable, but not so that the user can scroll infinite without something being there. So