Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support stylus handwriting input on Android #115607

Open
justinmc opened this issue Nov 17, 2022 · 0 comments
Open

Support stylus handwriting input on Android #115607

justinmc opened this issue Nov 17, 2022 · 0 comments
Labels
a: text input Entering text in a text field or keyboard related problems. engine flutter/engine repository. See also e: labels. new feature Nothing broken; request for a new capability. P5 Priority 5 issue (default for new feature requests; things we'd like to work on) platform-android Android applications specifically. proposal A detailed proposal for a change to Flutter

Comments

@justinmc
Copy link
Contributor

justinmc commented Nov 17, 2022

Recently, support for Apple Pencil support was added to Flutter via the "Scribble" feature. We should also support stylus handwriting input on Android as well, using a common set of framework APIs.

How?

Android's InputMethodManager class already has support for stylus handwriting. We'll need to tie these into the framework similarly to how it's done for iOS.

Some relevant methods:

Will Flutter's Scribble API need to change?

Ideally not, but it's unclear to me whether or not we'll have to. We want to make everything available in the framework that we can and not produce a "leasts common denominator" API.

References

Scribble framework PR: #75472
Scribble engine PR: flutter/engine#24224

Stylus input on other platforms (not necessarily handwriting):
Linux: #63209
Windows: #102836

@darshankawar darshankawar added in triage Presently being triaged by the triage team. platform-android Android applications specifically. proposal A detailed proposal for a change to Flutter new feature Nothing broken; request for a new capability. a: text input Entering text in a text field or keyboard related problems. engine flutter/engine repository. See also e: labels. and removed in triage Presently being triaged by the triage team. labels Nov 18, 2022
@chinmaygarde chinmaygarde added the P5 Priority 5 issue (default for new feature requests; things we'd like to work on) label Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: text input Entering text in a text field or keyboard related problems. engine flutter/engine repository. See also e: labels. new feature Nothing broken; request for a new capability. P5 Priority 5 issue (default for new feature requests; things we'd like to work on) platform-android Android applications specifically. proposal A detailed proposal for a change to Flutter
Projects
None yet
Development

No branches or pull requests

3 participants