windows-phone-8

TextBlock is Cutting Text in Windows Phone

廉价感情. 提交于 2019-12-25 03:17:07
问题 In my WP8 project textblock is cutting text unexpectedly. How can I solve it? I have used VerticalAlignment Strecth or Height auto in scrollviewer but they have not solve it. And my xaml, I am using one of these stackpanels : <ScrollViewer> <Grid> <StackPanel x:Name="stackNormal" Visibility="Collapsed" VerticalAlignment="Top" Background="Transparent"> <ListBox Name="ImageList" ItemsSource="{Binding Summary.Text , Converter={StaticResource ImageFromRssText}}" ScrollViewer

WP8 - WebBrowser control to display images from resource folder

情到浓时终转凉″ 提交于 2019-12-25 03:15:14
问题 I am working on WP8 application, I have few images in location Resources\Graphics\ i am trying to display images from these folder, but its not picking the path. Here is my code : <img src=\"/Resources;component/Graphics/"+ImageName).Append("\" ") this is in my string which i am using in my WebBrowserControl. WebBrowserControl.NavigateToString(html); // here html is a string which has all the html code in it. But its not display the images. What is the issue here how to fix this ? 回答1: I

Custom ProgressBar Indicator not showing up before time consuming action

自古美人都是妖i 提交于 2019-12-25 03:07:06
问题 I implemented the custom progressbar indicator in my Windows Phone 8 project. It works fine if I try to toggle the indicator with a button. But of course I want it to show up while I perform time consuming actions (filling a list with many items). But as it blocks the UI the progressbar indicator doesn't show up before the action but only afterwards. I tried .UpdateLayout() on the indicator itself and the whole page before performing modifications to the list but none of it worked.

How to make an app appear in games sections of windows phone [duplicate]

China☆狼群 提交于 2019-12-25 02:55:19
问题 This question already has answers here : Application deploys to Windows Phone 7 apps rather than xbox live (1 answer) How to make an app appear in games (xbox) section of wp 7/8 (2 answers) Closed 6 years ago . I have made a game(simple one, does not use xna). I want that when installed it should appear in the games (xbox) section in windows phone 7/8. (I mean on the phone and not marketplace) How to do this? Any help would be highly appreciated. 来源: https://stackoverflow.com/questions

ScrollViewer That Contains a Grid Snaps Back to the Top When Let Go

社会主义新天地 提交于 2019-12-25 02:43:02
问题 I'm using a ScrollViewer to enable the Grid that it contains to be scrollable. However, when I let go after scrolling down, it will automatically scroll back to the top of the Grid. <ScrollViewer> <Grid ShowGridLines="false" MinHeight="700"> <Grid.RowDefinitions> <RowDefinition Height="1" /> <RowDefinition Height="{Binding Pivot1Rows[0].RowHeight}" /> <RowDefinition Height="1" /> <RowDefinition Height="{Binding Pivot1Rows[1].RowHeight}" /> <RowDefinition Height="1" /> <RowDefinition Height="

Windows Phone 8: get current Address -Data (from your current location)

谁说胖子不能爱 提交于 2019-12-25 02:42:31
问题 Im trying to implement a button which fills after click Latitude Longitude Street Streetnumber Postalcode City myGeoposition.CivicAddress. gives me City and Postalcode myGeoposition.Coordinate. gives me the Lati/Longitude where do I get the rest? I am using a Map-Control (not bing map!) from: Microsoft.Phone.Maps.Controls;assembly=Microsoft.Phone.Maps try { Geolocator geolocator = new Geolocator(); geolocator.DesiredAccuracy = PositionAccuracy.Default; IAsyncOperation<Geoposition>

WP8 copy SharedStorge file directly into IsolatedStorage

我只是一个虾纸丫 提交于 2019-12-25 02:41:28
问题 I am developing a Windows Phone 8 application but am having a lot of issues with file access permission exceptions hindering the approval of my application when ever I try accessing files in the "local" folder (this only happens after the application has been signed by the WP store, not when deployed from Visual Studio). To solve this I have moved all file operations to IsolatedStorage and this seems to have fixed the problems. I only have one problem left though. My application needs to make

How to work-around Microsoft.Phone.Storage.NativeFileStream bug

旧城冷巷雨未停 提交于 2019-12-25 02:39:14
问题 On Windows Phone 8 I have run in to an issue while reading files from the SD card using ExternalStorageFile.OpenForReadAsync() , which is the only way to read an SD card located file on Windows Phone. Investigating further it seems that the Microsoft.Phone.Storage.NativeFileStream has a bug in it which means Seek and SetFilePointer don't work as they should. More detail is given here. Does anyone have any suggestions how I can work-around this platform bug? I thought maybe I could inherit

Does ShareMediaTask Require a Data Connection

六月ゝ 毕业季﹏ 提交于 2019-12-25 02:38:20
问题 I am using the ShareMediaTask in my Windows Phone 8 application, and I am trying to determine the specific capabilities and requirements on a users device. Does a users Data Connection have to be turned on on their device for the ShareMediaTask to successfully send a picture? Also, is it required to have ID_CAP_NETWORKING checked in my application's WMAppManifest for ShareMediaTask to work? Must both of these be on? What I have is ID_CAP_NETWORKING off in my WMAppManifest, which I do not

Returned value is null when downloading a file from OneDrive

大憨熊 提交于 2019-12-25 02:29:11
问题 As it is said in the documentation, I try to download a file way: try { LiveDownloadOperation operation = await connectClient.CreateBackgroundDownloadAsync(filePath); var result = await operation.StartAsync(); var file = result.File; // It is null } catch { // Handle errors. } But result.File is null. I think something is wrong with my file path, which is like this: path = "file.8c8ce076ca27823f.8C8CE076CA27823F!129" also tried: path = "file.8c8ce076ca27823f.8C8CE076CA27823F!129/content" what