How do I capture desktop screen image in Windows UWP app? - windows

I am writing windows UWP app, I used PickSingleItemAsync to select the screen to capture. It does not list desktop image. So, How do I capture desktop screen image in Windows UWP app?

I used PickSingleItemAsync to select the screen to capture. It does not list desktop image.
PickSingleItemAsync can use to select current available display then to get desktop screen image.
Open picker -> change select option like following.

Related

Full screen screenshot in ios simulator on macosx

I am programming in mac OSX using VSCode and XCode. I am using a iPhone 14 pro MAX to emulate my app on a device. I have some screens that they dont fit in the screen so the user have to scroll to see the whole screen. Now, I want to take a printscreen of this screen but not just the part of the screen that the user can see, but the whole screen, so when I see the print screen I am able to see the whole screen. Is this possible?

exe icon is not full size (windows 10)

I want to set an icon for my program (exe file and desktop shortcut). I am using Qt 5.7 on Windows.
I followed the instructions from: http://doc.qt.io/qt-5/appicon.html, that is in the pro file I put "RC_ICONS = logo7.ico".
When I install the program on my computer (Win8), it works well. The desktop shortcut's icon shows my logo perfectly and full size. However, when I install the program on another computer (Win10), the desktop shortcut's icon is not full size. Even if I CTRL-scroll on the desktop to change the icon size, this icon remains the same size.
Here is an example of two desktop icons (one full and the other one that does not scale).
image here
Is there something special I should do with my icon (I tried icon sizes of 128x128 to 512x512) so that its full screen ?
Or is it something to do in Qt ?
Thank you so much !
Alex
Most windows 10 .ico icons are multi layer files instead of them being truly scalable. Akin to animated gifs but no animation, just layers. Open a .ico file in Gimp Image editor, you'll see the different sizes in layers. Here is a quick link to the Windows Media center icon hosted on icon archive: http://www.iconarchive.com/show/mega-pack-2-icons-by-ncrow/Windows-Media-Center-icon.html
attached is a screen shot of what I am talking about:
screen shot of windows media player icon
you could use it as a template and replace their pic with yours

No option for Landscape in iPhone Launch Images

Is landscape splash screen supported in iPhone? I don't see the option like I do with iPad, as such:
That's Visual Studio?
Because I am able to see the iPhone Landscape option in Xamarin Studio.
Try switching on and off the "Assets Catalog" dropdown to see if that helps.
Also if that doesn't work you could change at anytime from Launch image to Launch screen and there you can configure your Storyboard for all different sizes and orientations.
Note: will check later in VS.
You could add them to your assets. I don't think image assets are rendered properly in VS. It doesn't show specialized image for iPhone, iPad, watch etc. Only the generic one.
Another thing you might want to consider is using launch story board and not launch images. That's the new way of doing it or the suggested way by Apple. You have far more control on it.
Customizing launch images - Manual approach
Open LaunchImage.launchimage and change the default launch images with your own using the proper resolution for each image (e.g., Default-568h#2x.png should be 640px x 1136px). If your images have different file names then open Contents.json and change the key filename for each image.
Xcode WYSIWYG approach
Drag and drop your Assets.xcassets into Xcode (7.1 or newer version). In the opened window choose LaunchImage and add the proper image for each iOS version and device. Close Xcode and rebuild your Xamarin app to use the new launch images.
Further info : Human guidelines reference

Metro style,how to make my screen compatible for landscape and portrait mode?

I am new to metro style app.I designed a normal page in visual studio 2012 ultimate in landscape mode using only drag and drop tools.I run this page using Emulator.It runs well in landscape mode.but In Portrait mode,the contents of the page is not fitted automatically.Even it is not allowed to scroll the screen to see all the contents in the page.
I want a design fits for all screen resolution and different orientation. what should i do?
If any tutorial available please provide the link.
Are you talking about Windows Phone or WinRT?
Either way, you need to handle the orientation change yourself.
If you're doing WinRT, start here:
Optimizing for both landscape and portrait
and if you're doing Windows Phone, start here:
How to: Handle Orientation Changes on Windows Phone

Is there a UIImagePicker for the Mac Desktop

I have found Apple's example app ImagePicker that uses IKImagePicker, but it appears that in Lion it has been removed. Is there an alternative to this - or how would I prompt users to select an image to use within my app.
You want IKPictureTaker.
The IKPictureTaker class represents a panel that allows users to choose images by browsing the file system. The picture taker panel provides an Open Recent menu, supports image cropping, and supports taking snapshots from an iSight or other digital camera.

Resources