Pin custom tile to Windows 10 start menu - wpf

I'd like to pin a custom tile to the start menu and launch a website or desktop file when I click on it. There's an app called Better start menu, but it has to keep running and not the best experience.
Can I just place some HTML/XML markup at a specific location and it gets displayed?

Related

Why is it my application which contains DWM thumbnail lags when the target app was moved to second monitor?

Scenario:
I have a wpf fullscreen borderless application that displays a live thumbnail of a borderless, fullscreen UWP app that plays video.
My laptop setup includes 1 extended monitor thru HDMI port.
My wpf app can display a live thumbnail of the target app very well without lag.
But the problem occurs when I move the target UWP app to the second screen, my wpf app that contains DWM thumbnail is lagging and stuck on a single frame.
Hypothesis:
It could be the graphics adapter/ or native video source thru HDMI. Because if I move the target UWP app back to primary screen my wpf app is working well.
Also if I use miracast for second display instead of HDMI, still my app works well without lag.
Is there any known workaround for this? or anyone has the same problem? How did you fix it?
thanks!

Windows universal app - set focus on captureElement

I have simple Win Universal app to capture photos.
When I start my app, I have some screen with button and some informations. When I press the button, I move to another page with captureElement. I wanted to use tap to capture photo and it works. However it doesnt work for first tap on that page. First tap doesnt fire "tapped" event but second and next ones work good. Can I set focus somehow on captureElement? I didnt find it for that type of control

CefSharp screen rendering problems Windows 10 touch screen

I have a PiPo x9 (touch screen) running Windows 10. Google Chrome is loaded and can view the web page correctly. The same page loaded through CefBrowser responds strangely to mouse events. I am using a USB mouse and keyboard.
To demonstrate when a page is loaded it initially displays correctly.
When you move the mouse over the username textbox the screen will zoom in, however it doesn't render properly and UI elements will be unresponsive.
Another example;
I have had a look at the CefSettings here Settings, but there are too many to know what to try.
I also stumbled across this problem recently. In my case it was a DPI scaling issue (my client was using an Nvidia GPU), so one way to "fix" it, is by setting the display scaling to 100% (right click on desktop -> Display Settings -> Change the size, text, apps and other items -> set to 100%).
But if you can't or don't want to do that, you can call the SetOffScreenRenderingBestPerformanceArgs method of CefSettings, like this:
var settings = new CefSettings();
//set any required settings here
settings.SetOffScreenRenderingBestPerformanceArgs();
Cef.Initialize(settings);

PLAY_VIDEO menu item does not autoplay

i just implemented the PLAY_VIDEO menu item linked to a youtube video and it works.
The only enhancement i want to make to the flow is to remove one tap in order to stream the video.
Now the flow is the following:
1) User taps to prompt the menu for the card. The PLAY menu item appears.
2) The user taps on PLAY, the video start to load
3) The user needs to tap again to start the video.
Is there a way to stream the video right after the tap from point 2?
Kind regards
There is currently no way to setup a menu hierarchy, which I think is what you're getting at.
Plus, having that extra tap would be an inconsistent experience with the way playback behaves on Glass in the native app and other apps being created.
Why do you want to do the extra tap?

How does New York Times get their icon next to the "just now" time indicator on their Glass Timeline cards?

I'm building a Google Glass app and notice that New York Times has their little New York Times icon to the right of the "Just Now" time indicator in the lower right of each card. How are they doing this? Is this something I can upload in the API Console, or do I have to manually add this as HTML in each HTML page card? And how do you do it in the Glass browser? I don't see any examples in the templates. Any help is appreciated!
These icons are set up during the launch process for Glassware. Follow the steps on this page to submit your Glassware for launch review.
The little icon in the lower right corner that you see is called the source icon. Source icons are specified when you launch your Glassware and set up higher quota.

Resources