winjs

Winjs: A flyout inside a flipview does not stay active

你。 提交于 2019-12-24 08:58:01
问题 I made a flipview to navigate between pages, so I have a main page that contains the flipview and many other pages that I reference in the flipview so I can navigate between them. Now I put a very simple flyout in one of the sub-pages and it doesnøt matter how simple it is or where I put it, it just doesn't stay open. It closes as soon as I click on it (and not only outside of it as it should be). If I try and put the flyout in the main page instead it works. Is there any problem with having

How to write a log or text file to the file system in Metro Style App

末鹿安然 提交于 2019-12-24 08:48:51
问题 As the title said, I would like to write an activity log of my application into a file automatically. My application is built in Javascript/HTML5, when I am debugging I can use console.log("this is a debug log") and track it in console. But if I want to give my test machine to a certain test users, I want to be able to track the activity logs. Is there any way that I can do that. 回答1: Sure, just write out a file. Example here: http://code.msdn.microsoft.com/windowsapps/File-access-sample

Windows 8 store app development without touch screen

穿精又带淫゛_ 提交于 2019-12-24 07:12:13
问题 I've started doing Windows 8 Store app development for some projects at work, but I do not have a touch screen device of my own at home. If I write a personal app for submission to the store, I must use my own hardware since I can't use the work computers for personal projects. My concern is getting into a situation where I submit an app to the store, then have touch-screen users describing issues that I can't replicate on a non-touch-screen device. Are there any functions or capabilities or

How to open a url with parameters in external browser with WinJS

做~自己de王妃 提交于 2019-12-24 04:20:46
问题 I have a metro app developed with WinJS in VS2012 and I want to open this address window.location = "http://XXX.XXX.XX.XXX:XXXX/test/AU/jsp/AU000007.jsp"; this works ok, opens the webpage on new browser from my metro app But I want to add several parameters encrypted by using jcrypto so I do this: //message encryption message = jcrypto(message); message = "http://XXX.XXX.XX.XXX:XXXX/test/AU/jsp/AU000007.jsp?data=" + message; window.location = message; but it just opens the link on my metro

Update the reference from Microsoft.Phone.WinJS.2.1, version 1.0.9651.0 to version 1.0.9651.40228

别说谁变了你拦得住时间么 提交于 2019-12-24 03:54:07
问题 I was building/deploying my Windows Phone app in Visual Studio Professional 2013 with Update 3. The following console output showed up: 1>------ Build started: Project: CapturingVideos, Configuration: Debug ARM ------ 2>------ Deploy started: Project: CapturingVideos, Configuration: Debug ARM ------ 2>Deploying to Phone Internal Storage... 2>Creating a new clean layout... 2>Copying files: Total <1 mb to layout... 2>Checking whether required frameworks are installed... 2>Warning : DEP0810 :

How to debug unhandled win32 exception in WinJS Win8 store app

旧城冷巷雨未停 提交于 2019-12-24 01:55:22
问题 I have added Microsoft Ad SDK to my WinJS app and it crashes if I navigate away from my default.html page too fast. <script src="/MSAdvertisingJS/ads/ad.js"></script> If I comment out this line it does not crash. If I navigate to the default.html page and wait 10 seconds (possibly less) then it does NOT crash. It only crashes if I land on the page and immediately navigate to another page in the app. I set the destination page to be a blank html page and it still crashes. Any ideas how I can

Windows App Certification Failed Universal Windows App 10

帅比萌擦擦* 提交于 2019-12-23 23:57:12
问题 I have developed a windows 10 universal app using Html,css and JS. For allowing inline scripts i am using ms-appx-web context and has set ms-appx-web:///login.html as start page in manifest. I have added ApplicationContentUriRules in manifest file. <uap:ApplicationContentUriRules> <uap:Rule Match="ms-appx-web:///" Type="include" WindowsRuntimeAccess="all" /> </uap:ApplicationContentUriRules> When I tried to create app package for my app in release mode, Windows App Certification Kit - Test

Windows 8 Store App, how do I test in-app purchase?

﹥>﹥吖頭↗ 提交于 2019-12-23 18:24:32
问题 My app is created with Javascript. I need it to support in-app purchase for feature unlocking. From the documentation, it looks really simple. However, when I tries to implement it. I noticed that after returning S_OK from CurrentAppSimulator.requestProductPurchaseAsync , CurrentAppSimulator.licenseInformation.productLicenses.lookup(main.licenseName).isActive won't be changed to true. Then I discovered this answer CurrentAppSimulator.RequestProductPurchaseAsync purchasing simulation ,

Windows 8 app (html & Javascript) : alternate way to show image from picture library (other that file picker)

感情迁移 提交于 2019-12-23 13:03:46
问题 I have been trying to create an alternate method to get and show images in listview (I mean other than file picker) as the app is already taking too much time to load and process. It turns out I've been missing one single point all this time..that img doesn't take absolute paths as source (src). Code I've used is : var pictureLibrary = Windows.Storage.KnownFolders.picturesLibrary; pictureLibrary.getFilesAsync(query).then(function (items) {....}; Well, the data binding is correct and the

How to prevent loops in JavaScript that crash the browser or Apps?

独自空忆成欢 提交于 2019-12-23 09:02:40
问题 I am creating a live editor in Windows 8.1 App using JavaScript. Almost done with that, but the problem is whenever I run such bad loops or functions then it automatically hangs or exits. I test it with a loop such as:( It just a example-user may write its loop in its own way..) for(i=0;i<=50000;i++) { for(j=0;j<5000;j++){ $('body').append('hey I am a bug<br>'); } } I know that this is a worst condition for any app or browser to handle that kind of loop. So here I want that if user uses such