windows-store-apps

Why does this ScrollViewer's ScrollBars appear twice?

帅比萌擦擦* 提交于 2019-12-22 01:16:47
问题 I edited a ScrollViewer 's template to wait only 0.5 seconds before hiding the scrollbars, and this succeeds in hiding them at that time, but they reappear for another 0.5 seconds. Why? To reproduce, create a page resource for a ScrollViewer's Style with the default Template (find it here on MSDN) and change the 3 occurances of "3" to "0.5". Then use the following XAML: <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <ScrollViewer Height="500" Width="500" Style="

sqlite in windows runtime component

匆匆过客 提交于 2019-12-22 01:03:20
问题 am trying to use sqlite in a windows runtime component. But I get some 219 errors when i add the nuget sqlite-net package. couldnt figure it out anywhere. Any similar issues ? I finally used a store app class library to use sqlite and called those methods in it from my windows runtime component. method in store app public async Task<IEnumerable<TaskGroup> > GetTaskGroup() { return await conn.QueryAsync<TaskGroup>("select * from TaskGroup"); } calling method in win runtime component public

Windows Mobile TV stream

依然范特西╮ 提交于 2019-12-21 23:12:03
问题 I want to develop an application to play live stream on Windows mobile devices. Please give me an example of this. 回答1: That is a fairly broad question. There is a MediaElement control you can use to play video. Maybe the open source PlayerFramework is more helpful. It provides a way to play lots of content, including progressive downloads, streaming, live streaming, protected content, advertisements, etceteras. And you can style the player as you see fit. Have a look at http:/

Handling Orientation in Windows 8.1 Store app

风流意气都作罢 提交于 2019-12-21 21:37:21
问题 I am making a Win Store App, and facing the issue to handle orientation. There is a grid, I want to modify the design of it when the orientation is changed. The stack Panels in both the sides (in Landscape View) should goto Top and Bottom in Portrait View. Currently I have created two grids with all the controls and adjust them according to the orientation, and switching the visibility property, using VisualStateManager. But I want to achieve this with a single grid, any suggestion will be a

List<> .ForEach not found [duplicate]

倖福魔咒の 提交于 2019-12-21 20:46:54
问题 This question already has answers here : Is the List<T>.ForEach() method gone? (3 answers) Closed 6 years ago . I am porting a Windows Phone app to Win 8, and I have found this stumbling block, but cant find the solution. I have a: List<items> tempItems = new List<items>(); and ObservableCollection<items> chemists = new ObservableCollection<items>(); I have added items to my tempItems etc, so then I do this: tempItems.OrderBy(i => i.Distance) .Take(20) .ToList() .ForEach(z => chemists.Add(z))

Can a HTML/JavaScript Windows Store app run in a resizable window?

随声附和 提交于 2019-12-21 19:29:11
问题 I am about to begin developing an application on Windows 8.1. To leverage my existing skills and experience I would prefer to use HTML rather than XAML for the front end. Instead of running the application in full screen, I'd like to have it in an old-school WPF/WinForms style window which can be resized, maximized etc. Is this possible? If so, how? 回答1: This is not possible in Windows Store Apps. The closest thing you'd get is Snapped Views, which is sufficient in most cases, but will not

Windows Store Apps and F#

◇◆丶佛笑我妖孽 提交于 2019-12-21 14:11:10
问题 I am trying to create a portable library using F# to use with Windows Store apps. I created one fs file with one class: module FunctionalRT open System.Net open System.IO type WebHelper = static member DownloadStringAsync (url:string) = async { let req = HttpWebRequest.Create(url) use! resp = req.AsyncGetResponse() use stream = resp.GetResponseStream() let reader = new StreamReader(stream) let s = reader.ReadToEnd() return s } I referenced this library in my Windows Store app with no problems

Windows 8 store certificate: Uploaded app package invalid because of certification (publisher id) [closed]

时光总嘲笑我的痴心妄想 提交于 2019-12-21 12:59:20
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I receive following error when attempting to upload my app to the Windows 8 store: Validation error: The Publisher attribute of the Identity element in the app manifest doesn't match your publisher ID, which is: CN=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX I manually updated the app manifest file with the publisher

Assembly.GetCallingAssembly isn't supported on WinRT, but is for portable class libraries?

[亡魂溺海] 提交于 2019-12-21 10:17:24
问题 I'm needing to get some meta-data about the assembly which calls my component. As such, using Assembly.GetCallingAssembly() seems to be a natural fit. However, I've found it works everywhere except for in Windows Store. Where it's supported: Phone 7.0+ .Net 1.0+ Portable Class Libraries However, where it's not supported is directly within a Windows Store application. I can make a portable class library and then call it from there inside of a Windows Store application, but I can't just put it

Assembly.GetCallingAssembly isn't supported on WinRT, but is for portable class libraries?

不打扰是莪最后的温柔 提交于 2019-12-21 10:16:48
问题 I'm needing to get some meta-data about the assembly which calls my component. As such, using Assembly.GetCallingAssembly() seems to be a natural fit. However, I've found it works everywhere except for in Windows Store. Where it's supported: Phone 7.0+ .Net 1.0+ Portable Class Libraries However, where it's not supported is directly within a Windows Store application. I can make a portable class library and then call it from there inside of a Windows Store application, but I can't just put it