i am developing uwp app (win 10) by c#  i want put my website in xaml webview element.  most of function are workable.  but i can't handle the confirm dialog  for example   this is sample html & js code  <button id="btnConfirm" onc...
I'm developing a UWP that contains a WebApp that has some JS functions that invokes some C# functions. Nowadays, I'm trying to play a sound that I have stored in the Assets folder of my UWP app:  This is the function that I'm trying to pl...
This is my main.js  (function () { "use strict";  //No need of WinJS var activation = Windows.ApplicationModel.Activation; var roaming = Windows.Storage.ApplicationData.current.roamingSettings;  // For App Start Up Windows.UI.WebUI.WebUIAppli...
Windows won't let my WebView_ScriptNotify Event receive a call if the html is loaded from ms-appdata.  I'm aware that I can use the ms-appx-web protocol to load such a file from my app bundle, but this is no option because the data to show ar...
I am using the following piece of code to check in my UWP-JS app if an in-app purchase is active:  (function () {     // Initialization     // var store_app = Windows.ApplicationModel.Store.CurrentApp;     var store_app = Windows.ApplicationModel.Sto...
Hi I have created a windows universal app in which I am using API which is hosted on my machine's IP address. As I run the app whether from VS15 or from App package it works fine. But as soon as I run this app on another machine using app package...
I get the following error:     0x800a138f - JavaScript runtime error: Unable to get property 'activate' of undefined or null reference   when running the following line of javascript in my UWP App:  Windows.UI.Xaml.Window.activate(); Windows....
let's assume we have a *.js file includeded in our C# UWP App project and we want to be able to execute function included in this file.  sample JS function:  function myFunction(p1, p2) { return p1 * p2;              // The function returns the p...
I am currently working on UWP application developed on Windows 10. I am using WebView Control to display 3rd party HTML page. The HTML was developed using Angular JS.  Issue: The web page has a function ng-click = c.open();  I want to override this f...
I have a file saving function:  function WINJSWrite(file, content) {     if (content.length <= 0) {         GameConsts.MyAlert("No data to save.");     }      // Prevent updates to the remote version of the file until we finish making chan...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.