windows-8

Best way to store string array in local storage, Windows 8?

做~自己de王妃 提交于 2019-12-12 01:34:59
问题 I have a question regarding Local Storage on Windows 8. I want to store a string array of stock symbols. What is the best way to do something like this on Windows 8? Browsing around, some have suggested store each string in the array into a new line in a text file, saved and retrieved from local storage. If so, how would I achieve this? Are there better alternatives? Should I go down the path of sqlite? 回答1: Here's a sample demonstrates how to save a collection to local storage, please check

Login-popup not working when rotating

£可爱£侵袭症+ 提交于 2019-12-12 01:33:30
问题 I have a code that looks like this <Popup IsOpen="True" Margin="200" Height="260" Width="900"> <Grid Height="250"> <TextBlock Style="{StaticResource HeaderTextStyle}" Text="Login" Margin="0" HorizontalAlignment="Center" VerticalAlignment="Top" Height="50" /> <TextBlock Style="{StaticResource ResourceKey=SubheaderTextStyle}" Text="" Margin="0,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" /> <TextBox Name="InputUsername" Margin="0,63,0,0" HorizontalAlignment="Right" Height="40"

Windows 8 App XAML/C#: Set multiple pushpins to Bing map in one method

一世执手 提交于 2019-12-12 01:29:04
问题 I am struggling to add a collection of latitude & longitude as Pushpins on Bing Map, in a Windows 8 app using XAML & C#. Adding Pushpins one by one using an event handler such as a right tap on the map works fine. Here is the XAML: <bm:Map x:Name="myMap" Grid.Row="0" MapType="Road" ZoomLevel="14" Credentials="{StaticResource BingMapAPIKey}" ShowTraffic="False" Tapped="map_Tapped" > <bm:Map.Center> <bm:Location Latitude="-37.812751" Longitude="144.968204" /> </bm:Map.Center> </bm:Map> And here

Developing WPF .NET 3.5 application for Win7 and Win 8 OS

这一生的挚爱 提交于 2019-12-12 01:15:27
问题 I am developing WPF .NET application for Win7 and Win8 OS. For now I am using .NET 3.5 platform, as I understood Win7 comes with .Net 3.5 integrated while Win8 comes with .Net4. I want that the user will have the fastest installation with minimum pre-installations. What is the best way to do it? does the user with Win8 have to install .NET 3.5? 回答1: Using 3.5 would make it work in Win7, but if the users don't have Internet or a DVD they can't install .net 3.5 in Windows 8. Because you can't

Share data among multiple users of a WinRT app

大憨熊 提交于 2019-12-12 01:06:55
问题 We developped a Windows Store app (Windows 8) that gets files from the internet and stores them locally to make them available offline. You can think of it as a one-way synchronization that the app does on a regular basis. The problem is the amount of files is huge (around 500Mb) and the application can be used by different users on the same device. As the app writes the synchronized files in its LocalFolder ( ApplicationData.Current.LocalFolder ), and as this location is not shared amoung

Windows8 Push Notifications in Metro Application using HTML5 [closed]

徘徊边缘 提交于 2019-12-12 00:21:29
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I have a metro application in which am trying to display notifications whenever my service get updated.I tried to read Metro App push

Installing PySide - Windows 8

蹲街弑〆低调 提交于 2019-12-11 23:53:36
问题 Following these instructions: http://qt-project.org/wiki/Setting_up_PySide Successfully installed these programs: PySide-1.1.2.win-amd64-py2.7.exe - qt-win-opensource-4.8.4-vs2010.exe - Qt libraries 4.8.4 for Windows (VS 2010, 234 MB) Tried the following and got an error: PS C:\Windows\system32> python Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import PySide >>> print(PySide

How to make DownloadOperation from BackgroundDownloader resumable

邮差的信 提交于 2019-12-11 23:46:52
问题 I am adding in functionality to download a large file into my application using the BackgroundDownloader / DownloadOperation functionality. I am using a PushStreamContent in a Web Api controller to serve the data that's being requested using a GET operation. I have added in the Accept-Ranges header to the response that's received from the Web Api controller, however the BackgroundDownloader doesn't seem to be recognising and attempting to resume downloads. If I call DownloadOperation.Pause()

updating tiles in Win 8 Metro app

爱⌒轻易说出口 提交于 2019-12-11 23:29:40
问题 Hi in my metro app i have set the wide logo in appxmainfest file and then in page on button click i have written this code XmlDocument tileXml = TileUpdateManager.GetTemplateContent(TileTemplateType.TileWideText03); var textElement = tileXml.GetElementsByTagName("text")[0].AppendChild(tileXml.CreateTextNode("Hey This my Text Updated on Tile")); var tn = new TileNotification(tileXml); TileUpdateManager.CreateTileUpdaterForApplication().Update(tn); but at the last line it give me error. The

How to handle youtube deleted videos using youtube api from json request

元气小坏坏 提交于 2019-12-11 23:16:30
问题 I want to get youtube videos from youtube api using json request. Now i get videos from youtube using json. Example the url have some deleted videos (http://www.youtube.com/watch?v=MlOHWLqgcoY&list=PLD62D6701B15FD3E1) but i get only playing videos not deleted videos. Is it possible or any other way to handle youtube deleted videos using json results. This is my code to get youtube videos string getPlaylistVideoUrl = https://gdata.youtube.com/feeds/api/playlists/PLD62D6701B15FD3E1?v=2