I want to be able to select text and then right-click or long-press to have a flutter app appear in the list of available applications to process the selected text.
I found this question which gives a solution for Windows. Is it the case that I will have to develop a native solution for every platform? If so, will this be relatively easy to achieve and will the solution be acceptable to the App stores?
Related
Is there a way to to make a single Flutter app work on multiple dockable windows?
I know it's possible on native browser and on desktop applications.
I found a package docking which can make multiple dockable 'windows' on a single big window, but I want to know if it's possible to have those dockable 'windows' as seperate windows, something like this:
I am new to flutter somehow and I was wondering is there a way to make my application force open itself..like self-launch? I am trying to make an accessibility application to help the disabled but I want my application to force open itself once the user unlocks his phone.
This is not possible in flutter, as this would be a security/usability risk.
If you want to achieve this, you may want to launch the app with 3rd party script software such as Automate for android. However, this would require manual configuration for each device this sould work on, so probably not what you are searching for.
I am working on flutter desktop application and want to show alert dialog before closing window. Could not get any information about detecting window closing action.
Can anyone tell me how to do this. Thankx.
You can do it using the existing flutter_window_close package. Check out the example here.
This plugin lets your Flutter app a chance to confirm if the user wants to close your app. It works on desktop platforms including Windows, macOS and Linux.
Try to explore as well bitsdojo_window.
I am developing a Chrome application that currently resembles a File Manager in its UI. I would like for users to be able to drag and drop "files" both into and out of the app, for example, to and from their native file managers.
Does this seem impossible, therefore should I be looking for other user interface options?
I have looked into this question: Drag out files from browser using javascript but unfortunately it doesn't seem to work on ChromeOS, the platform I am developing for.
normally what happens when you install an app is that it creates a shortcut from where you can launch it on desktop or start menu. However, chrome apps for now are places in chrome app launcher that is packed with all other chrome apps. It's all good and fine. But is there a way to place my app on desktop with user's consent if need be.
There is a way to do it manually. Like if user right clicks on the app in chrome app launcher and click create shortcut which has checkboxes showing places where shortcuts are going to be created ex: desktop, startmenu...
Without a icon of your app on desktop it still doesn't feel like a standalone app.
You can check out the chrome.management.createAppShortcut API that is added recently. Now it's only available on the dev channel:
chrome.management.createAppShortcut("app_id");
There is no way to do this. Users can also drag their app from the app launcher to the desktop to create a shortcut.
An API to prompt the user for this isn't something we're likely to support. Personally I think users would find it annoying, as it is simple and easy to create shortcuts where they want.
If you disagree please file a feature request at http://crbug.com. It would be there is some action we could take, e.g. educate users better that they can create shortcuts, but crbug.com is a better place to discuss.