windows-8.1

Is it possible to use Firebase with a Windows 8 app?

半腔热情 提交于 2019-12-06 03:07:35
I'm hoping to use Firebase in my Windows 8 app made using WinJS. Here is how I am trying to write to the root of my Firebase: var dataRef = new Firebase("https://<firbaseName>.firebaseio.com"); dataRef.set("I am now writing data into Firebase!"); However, this gives me the following error in the JavaScript console: Can’t load <https://<firebaseName>.firebaseio.com/.lp?start=t&ser=66595697&cb=2&v=5>. An app can’t load remote web content in the local context. I've tried to add https://[firebaseName].firebaseio.com/* to my Content URIs in my app manifest but that doesn't seem to be the solution.

Pin tile to selected position on Startscreen (programmatically) Windows 8

橙三吉。 提交于 2019-12-06 02:42:39
I am searching a solution to pin an installed app or desktop application to the windows 8 startscreen. I have figured out to do this like it is described in this post before There has also been a long disscusion about this problem But there was no answer to my question: How can I pin a new tile to a selected position on the startscreen? If I install a new app/application windows 8 pins the new application at the end of the Startscreen. (windows 8.1 does not) But if I want to place the tile f.e. in the second group on third position , there is possibilty to do this. I am in an enterprise

ASP.NET website issues with Windows 8.1/IE 11 browser

丶灬走出姿态 提交于 2019-12-06 01:57:18
问题 We have ASP.NET application, currently we are doing compatibility testing for this on Windows 8.1/IE 11. Found some issues related to UI alignment, _dopostback and imagebutton click. Previously faced the same issues with Windows 8/IE 10 as well. Those issues are addressed by adding IE browser file in app_browser folder in the project. But we have not found any ie.browser latest file for IE 11 support. From some of the blogs came to know hot fixes are there to resolve this issues.Tried by

Windows 8.1 how to automatically wrap grid items?

主宰稳场 提交于 2019-12-06 01:53:20
I'm building a universal app and my Win8.1 app has to show a grid of items. Normally the grid consists of 3 columns, but on smaller screens I want the items to wrap so that there are only 2 columns (or even 1). This is my code: <GridView ItemsSource="{Binding Regions}" IsItemClickEnabled="True"> <GridView.ItemsPanel> <ItemsPanelTemplate> <ItemsWrapGrid Orientation="Horizontal" MaximumRowsOrColumns="3" MinWidth="400" /> </ItemsPanelTemplate> </GridView.ItemsPanel> <GridView.ItemTemplate> <DataTemplate> <StackPanel Orientation="Horizontal" Margin="10"> <Image Source="{Binding Code, Converter=

Script Notify for ms-appdata

十年热恋 提交于 2019-12-06 01:31:36
问题 I want to notify my web view from button in html file and trigger the javascript: function notify(str) { window.external.notify(str); } The event captured using wv_ScriptNotify(..., ...) : void wv_ScriptNotify(object sender, NotifyEventArgs e) { Color c=Colors.Red; if (e.CallingUri.Scheme =="ms-appx-web" || e.CallingUri.Scheme == "ms-appdata") { if (e.Value.ToLower() == "blue") c = Colors.Blue; else if (e.Value.ToLower() == "green") c = Colors.Green; } appendLog(string.Format("Response from

vertically scrolling gridview XAML windows store app

北战南征 提交于 2019-12-06 01:02:30
问题 how to edit GRIDVIEW in windows store app xaml so that we can make it scroll vertically instead of horizontal. am using XAML should we manually make a new user element using scroll-view or is there any simple way to achieve this with windows store app . <GridView HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ItemsSource="{Binding imagelist}"> <GridView.Resources> <DataTemplate x:Key="DataTemplate1"> <Grid Width="250" Height="250" Tapped="Grid_Tapped"> <Image Source="{Binding

No installed components were detected. Element is already the child of another element

北城以北 提交于 2019-12-06 00:45:34
In App.xaml I have added Application Resources with a button as: <Application.Resources> <Button x:Key="MyButton"/> </Application.Resources> In MainPage.xaml.cs , I tried to add this button programatically in my grid. Button btn = (Button)Application.Current.Resources["MyButton"]; myGrid.Children.Add(btn); But it gives error like this: No installed components were detected. Element is already the child of another element. In MainPage.xaml: <Grid x:Name="myGrid" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> </Grid> I don't know what I'm doing wrong. Thanks. You cannot add

Meaning of the tilde in compatibility settings values of the Windows 8.1 registry

痴心易碎 提交于 2019-12-06 00:24:55
问题 I tried to figure out how to manage compatibility settings for some older programs in an automated way. This Super User question How can I set the compatibility mode for an executable from the command line? already helped a lot pointing onto the registry key being used for compatibility settings. HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers Sadly, there is one tiny detail remaining unanswered so far. I tried to figure out what changes in application's property

How to prevent automatic scaling in Modern UI IE 11 on Windows 8.1/8?

♀尐吖头ヾ 提交于 2019-12-05 23:24:44
Windows 8.1/8 has a split screen feature which is nice while using multiple apps (like modern UI version IE11) in one screen. Most of the time when you set the IE split screen very narrow, you'll notice the web page zoomed out automatically, but some pages (like microsoft.com) are different. They doesn't zoom out and recognise the narrow width correctly, so it's easy to do some responsive deign. My question is: What code made that difference? I've tried <meta name='viewport' content='width=device-width, user-scalable=0, initial-scale=1.0' /> but IE11 still zooms out the page. I got the answer

How can I load remote content in a WinJS iframe whilst avoiding SEC7117 errors?

百般思念 提交于 2019-12-05 23:08:53
I'm trying to port an existing web app to Windows Phone 8.1 (and later, to Windows 8.1). This is not static content, this is a dynamic page with loads of client-side functionality. My default.html file has <iframe src="https://remote.example.com/app.html"></iframe> . The content in the iframe works in the emulator, and resources that are directly referenced in that initial HTML seems to work. However, my web app but triggers several errors like this: SEC7117: Network request to https://cdn.remote.example.com/extra.js did not succeed. Your application manifest does not declare the following