How to Capture multiple screen screenshot in flutter desktop? - flutter

I am looking for a way or package that can help me to capture multiple screen.
I have been through some packages that supports single fullscreen screenshot but I want to capture all the screens connected.

Unfortunately, Flutter does not provide an API for capturing screenshots of multiple screens that are connected to the same device. To capture screenshots of multiple screens, you would need to use an operating system-level tool or an external screen capture software.

Unfortunately you cant do it in flutter you have to write native code to the platform you target, because flutter only can give access to app level not system level

i guess you could use
https://github.com/leanflutter/keypress_simulator
to simulate Windows key + Print Screen key

Related

Flutter: disable screenshot and screen recording for windows

I am making a Flutter app and I need to make sure the user is not able to capture screenshots of the app (any screen). Is there any way to achieve this in windows applications
No, you cannot prevent the user from taking a screenshot! Even if in the future Windows gave us APIs to disallow screenshots, a user can still take their phone and take a photo of the screen with their phones.
If you have sensitive information on the screen which you want to protect, it's best to go about that in a different way.

How to display info on the default screen of a Google Nest hub

I am trying to display infos from a Google Sheet to the "lockscreen" (don't know how to call it) of a Google Nest Hub.
I want the info to be displayed all the time and take advantage of this screen that is always on.
Basically that would be a Todo list. I don't understand why I need to invoke an app or talk to my device while the screen is always on with weather, time displayed and the background picture.
WHAT I TRIED SO FAR:
I have serched the generic documentation for Google Assistant (https://developers.google.com/assistant)
I don't see any doc about that or any app available (yet?) that has this feature.
Thanks for any help/suggestion.
The platform does not provide a way for third-party apps to add content to the homescreen.

How to implement Screen sharing/Remote Assist in Unity-Vuforia

I'm totally new to Unity-Vuforia.
I'm developing an AR app with Unity-Vuforia,in that
i need to implement the screen sharing/Remote assist option between users and also screen marking feature.
Is there any recommended features or functionalities?
This will be rather difficult, as smartphones usually can't handle constantly streaming their screen without a major drop in performance. At the very least, this is not a functionality you will find in vuforia; you will have to look elsewhere.
If you are using unity, you could take a look at Droid Infinity's "Magic Screen Share", which is a plugin made for sharing android screen shots, or Google's "Google Cast Remote Display" which streams the screen to a monitor, and see if this could be a solution.

Chrome Packaged App and Dual Monitors

I am working on a packaged app that will use multiple displays. I need to be able to open windows in specific displays. I've also tried opening windows and then, using javascript, moving them to a monitor. But the app will not move any further than the bounds of the active display.
Any ideas on how to get this to work?
Use chrome.system.display.getInfo with this you can get the display info for each active display.
With displayInfo.workArea you can get the working area of each display, you just have to think of one big display and each display is a workArea. With this information you can move your window with
AppWindow#setBounds to the correct monitor. Be carfull, AppWindow#moveTo is not working.
Use AppWindow#setBounds
E.g.
chrome.app.window.get('mainWindow').setBounds({"height": 200, "left": 2000})
Tested on v34
Boom. Change this to correct answer.
This was not the solution I was hoping for but as one of the comments mentioned there is a bug with Chrome and multiple monitors. In my case this is an internal application so I'm able to install anything i need to make this work.
My solution was to create a console application which launches the chrome app and then moves the windows around using the Windows32 API. Obviously not ideal but it works and the user still just needs one click to launch the app.
You can write a chrome extension to get this done. In the Background script you can listen to chrome.windows.onCreated event and use chrome.windows.update function to move the windows to other monitors

How to render the iphone device screens on mac OS or in windows

We have an iphone device in our company and for the remote demo purpose I have to show some of the device specific features like voice call, accelerometer etc. (which is not possible on a iphone simulator), from a mac / windows system. Is there any way to render the device screens on mac /windows machine?
Advance Thanks,
Sathish
I have not tried this but there is a private API MPTVOutWindow which can be used. For details on how look at this blog post http://www.touchcentric.com/blog/archives/3
As this is a private API, it needs to be built into your app and it will never pass the app store submission process whilst it is in the app.
An easier way would be to set up a web cam overhead above the phone.
You can take a screenshot by pressing both hardware buttons simultaneously (power at the top and home at the bottom). You can then mail the images or sync to get them onto the computer. If you need to show the application in action, not just static screens, you could separate the assets and animate in Flash.
Apple does this with iPhones at their keynote speeches and at WWDC all the time. However, it seems that they have "special" iPhones; some presenters use the camera-over-the-iPhone approach and some have direct iPhone-to-video connections. Regardless, this is not currently possible on an iPhone that you haven't jailbroken. Your best bet is to simulate it.