-2
votes
0answers
61 views
+50

WinJS, Win RT, WPF - Overview of msft technology stack for mobile and desktop needed

Intro and motivation These articles WinRT the new Silverlight and WPF and Windows and Line of Business Applications: No Good Options are talking about some of the new technologies microsoft has come ...
0
votes
2answers
39 views

JavaScript runtime errors about undefined or null refences

I have implemented a SettingsFlyout. From the view of this flyout, my app collection some info from user (firsname) and want to store it in roaming settings. This information get stored when user ...
0
votes
1answer
30 views

Why ready function on my SettingsFlout not getting hit?

I have implemented a SettingsFlyout. From the view of this flyout, my app collection some info from user (firsname) and want to store it in roaming settings. This information get stored when user ...
0
votes
1answer
37 views

How to implement sharing a custom data type

I need to implement data sharing feature for my app. The data type that I need to share is very specific and is not available on schema.org. This is an enterprise app and we have no need to share this ...
0
votes
0answers
21 views

Windows 8, MediaCapture.StopPreviewAsync from javascript

I'm using the Window's MediaCapture class from a Win8 html/javascript application. When I stop displaying the preview video in a <video /> tag, I figured I'd need to use the StopPreviewAsync ...
0
votes
2answers
38 views

App settings to be stored into roaming data store

I have implemented an entry in SettingsFlyout control for settings pane. The page itself contains a dropdown. Whatever option user select from this dropdown need to be stored in roaming data store. ...
0
votes
1answer
16 views

When onsettings event get fired

The documentation as to when onsettings here is fired describes as following Occurs when app settings are changed. Does it mean this event is fired every time a control used on settings pane ...
0
votes
1answer
75 views

how to change color of text for WinJS.UI.ToggleSwitch

I am using a Toggle Switch in the settings pane. Problem is that the text in the title and labelOff, labelOn is not visible. I am not sure how can I change the front color or styles from the ...
1
vote
1answer
43 views

How to test my app roaming settings

I am creating a windows 8 app. I want to save some settings as roaming. My understanding is that every app get per app and per user roaming settings on the azure cloud but it only happen once you app ...
0
votes
1answer
27 views

using image file using Share contract

I have an jpg file that is added in VS project within images folder. I can access its path using following var imagePath = "ms-appx:///images/BookTitle.jpg"; I want to use this image in my app ...
1
vote
1answer
38 views

Share charms start giving errors after using it few times

I am creating my app as a share source. I have used basic navigation template. Then in the home.js file I added following code. (function () { "use strict"; ...
0
votes
2answers
81 views

pass names from one page to another using jquery or javascript in winRT

I want to pass four names taken as input from user in first page to another page by navigating in winRT app using winJS or jquery. Suppose the four names are 1.akshay 2.ashish 3.pavitra 4.adarsh ...
0
votes
2answers
44 views

Determine when user leaves WinJS app

I'm building some very basic analytics for in-house WinJS apps. Take this to mean that a 3rd-party analytics solution would both overkill and/or unworkable and/or against the 3rd-party providers terms ...
0
votes
2answers
24 views

search contract - constraining within an app and using from outside search charm

Two questions about search contract. Is there anyway of constraining the search within an app? Also I know how can I use search contract from inside a charm. Is there anyway this contract be used ...
0
votes
1answer
81 views

Bind Dynamic Data from an API to FlipView control

I've been trying to bind data from a json API call to the flipView with no luck. Here's the HTML code: <body> <!--Define the Template Here--> <div ...
1
vote
2answers
50 views

How to debug app when its not already running and activated due to search

Typically to debug an app, I will hit F5 to start debugging it. However I want this app not already running and it activated due to ActivationKind = search. If I hit F5, then app will get activated ...
1
vote
1answer
54 views

Breakpoint not getting hit due to symbols not been loaded

I am trying to debug an issue with my JavaScript based Windows 8 Store app related to search activation. I have re-build and deployed again on my machine but for some reason the breakpoint in the ...
1
vote
1answer
107 views

Convert data URL (of type blob://xxx) to IRandomAccessStream

I have an internal API (that I have no control over) which returns a URL of an image. I inspected the URL and noticed that it's has the following format: blob://xxxxxxxx I use this URL as a value ...
0
votes
2answers
60 views

Are WinJS/Metro Apps single threaded?

I read in Windows 8 development tutorial that Metro apps written using HTML/JavaScript runs on single thread. If so, how it executes asynchronous functions in WinRT?
0
votes
3answers
70 views

Promise chaining not working. Why?

I have following code to select multiple contacts and the filter only names that have XYZ. I am using then and done to accomplish this filter. In my contacts, there is one contact named XYZ Dude and I ...
1
vote
0answers
63 views

how to access index database data in windows 8 store app

Our Devteam is caching some data in index db.To test some scenarios we want to access this index db and modify some of its data.Is there a way we can do this like we do it for isolated storage using ...
0
votes
2answers
149 views

WinRT WinJS + C#

I'm new to the WinRT space.Our company has started developing a windows 8 store app.I initially started doing it in XAML / C# until I realized I can use javascript and html with WINJS ;). I Have have ...
1
vote
2answers
33 views

Filtering contacts to display or show only set number of contacts

My app is calling pickMultipleContactAsync method that returns a list of contacts. If I want to filter only particular contats to display or show only a set number of contacts, does WinJS provide any ...
0
votes
2answers
78 views

Can I bind data to data-win-options?

I use the control MicrosoftNSJS.Advertising.AdControl in the ItemTemplate of a ListView. I would like to bind some datas to the following data-win-options properties : ApplicationId and AdUnitId The ...
1
vote
0answers
68 views

WinJS share target with write access to file

My application acts as a share target for any file. I have read access to the instances of Windows.Storage.StorageFile objects, through: if ...
0
votes
2answers
68 views

trying to load page with WinJS controls into IE 10.0

From VS2012, I right click on default.html page and choose to run this page in IE (10.0). Problem is that any WinJS controls that I have on the page aren't been displayed. I get a warning about ...
1
vote
1answer
107 views

Create Keyboard “Extension” like Windows 8 Metro IE

In Windows 8 Metro Style IE, if you click on the address bar, there will be "bookmark" tiles show up on the top of the address bar. If you are on a touch device, the tiles will show up above the soft ...
0
votes
1answer
38 views

View the html designer within VS 2012 without switching to Blend

I am using VS2012 for creating html/javascript type of app for windows 8 store. When I create a html file, there is no way for me to view the html file unless I launch it in the blend. Sometimes when ...
1
vote
1answer
134 views

Why is the result of document.getElementById null in this case?

I am basically new to JavaScript and WinJs stuff. Following this tutorial to learn it. My default.html is below <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> ...
0
votes
3answers
88 views

Design for inheritance and reuse of visual elements

I know with C++/C#, you can create controls that are reusable piece of code that you can use through inheritance etc. However, I am not sure if same principles could be used in a Windows 8 store app ...
2
votes
1answer
163 views

WinJS Binding to C# Windows Runtime Component class

I can't seems to get databinding to work between my WinJS View code and my Windows Runtime Component ViewModel code. Any suggestions or pointers to sites where this is talked about? I'm coming from ...
0
votes
1answer
225 views

Require.js code organization in Windows 8 app

I have a Windows 8 application written in JS that uses some of WinJS concepts: Pages Namespaces Meanwhile it uses Backbone models and collections as well as jquery, underscore and some other ...
0
votes
2answers
38 views

Is there any significantly better way to write this xhrRetry utility function?

I have written this xhrWithRetry method. Purpose: Purpose of this util method is to retry couple of times, in case service calls fails with error code 500. client code that calls this util method, ...
3
votes
1answer
173 views

How do I pass a Dictionary from Javascript to C# Runtime Component?

I have created a C# Windows Runtime Component that has a public static method that accepts an IDictionary parameter. public sealed class DictionaryTest { public static void ...
3
votes
0answers
43 views

HTTP subtitles in WinJS video element

In the HTML media playback sample there's a code that demonstrates how to add subtitles to the video: <video id="subtitleVideo" style="position: relative; z-index: auto; width: 50%;" ...
0
votes
1answer
91 views

Is it possible to migrate WinJS app to C#/XAML WinRT and vice versa

I've developed and published a Javascript WinJS app for Windows Store. Reasons aside, is it possible to upload next release of this app written entirely in C#/WinRT/XAML instead? How to migrate an ...
0
votes
1answer
59 views

Button element not displaying text value

Steps to reproduce: Open Visual Studio 2012 Express for Windows 8 (Metro App Development) Left pane; select JavaScript as the language. Right pane; select Blank template Click OK Insert: <button ...
0
votes
1answer
156 views

how to change metro app WINJS Sqlite database path

i am developing windows8 application using HTML5 and Javascript. I am using SQLite3-WinRT database plugin, provided by GIT HUB https://github.com/doo/SQLite3-WinRT. I have successfully integrated the ...
0
votes
0answers
270 views

windows 8 sample app “change” event handler for text box does not work

I'm building an windows 8 app using java script and html. I need to do something when the text in the text box changed. There's a sample app that Microsoft provided. But the handler for the change ...
0
votes
2answers
109 views

class library project using javascript/hmlt5. Is it possible?

I am learning to create Windows 8 store application using java-script and html5. My question is that if I need to create some class libraries for this project, can these be created using ...
1
vote
1answer
79 views

Empty Blank and Grid Apps from VS2012 Javascript templates fail WACK Performance Test

I have tried running WACK 2.2 on 3 different machines (with i5 process, 4-8 GB RAM, SSD/rotational disk) for each of these apps. On each of them these apps failed with app launch times varying ...
2
votes
2answers
114 views

Run script after windows store app has been installed

Is there any way to run some activity after a Windows Store app has been installed? I'd like to get some data from a webservice (data is rarely changes), but I would not like to make the query on the ...
0
votes
1answer
148 views

Win 8 Apps : saving and retrieving data in roamingfolder

I'm trying to store few user data into a roamingFolder method/property of Windows Storage in an app using JavaScript. I'm following a sample code from the Dev Center, but no success. My code snippet ...
0
votes
1answer
514 views

WinJS.UI.ListView - refreshing items when using template is built using javascript

I've got a ListView that was using HTML-defined templates like this: <div id="mediumListIconTextTemplate" data-win-control="WinJS.Binding.Template"> <div> <!-- Displays ...
1
vote
2answers
294 views

Using multithreaded WinRT component from WinJS

I have a WinJS app that uses WinRT component written in C++/CX. Component spawns a background thread that encapsulates work with a huge legacy thread-unsafe C++ library, which requires all calls to be ...
1
vote
1answer
132 views

Does launchUriAsync work with .edu sites?

I've created a JavaScript Windows Store blank app, and added the following code into it. var url = new Windows.Foundation.Uri("http://www.google.com") Windows.System.Launcher.launchUriAsync(url); ...
0
votes
1answer
178 views

WinJS.Binding.List - key value isn't found

I've got a WinRT/javaScript app where I use a list. As a test, I've got the following code: var testList = new WinJS.Binding.List(); var item = { key: "mykey", value: "hello", value2: ...
0
votes
2answers
134 views

Trying to get Twitter Oauth to work in Windows 8

I am using Microsoft's authentication sample found here: http://code.msdn.microsoft.com/windowsapps/Web-Authentication-d0485122 I have not modified anything, just put in my "Consumer Secret" and ...
1
vote
0answers
107 views

Memory leak in WinJS when accessing a WinRT Component that returns asynchronously

I've been all over the documentation and various samples, and all of my code appears to be as it should be. However, I'm experiencing a memory leak that I cannot seem to plug. Here's what I know: ...
0
votes
1answer
91 views

Styling video tag in WinJS

I am trying to change the progress bar color of a video tag when playing a video in a Windows 8 HTML5 App, but I can not find which Css property I have to modify. Also, I can not find documentation ...

1 2 3
15 30 50 per page