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
Assignees
Labels
a: text input Entering text in a text field or keyboard related problems c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter engine flutter/engine repository. See also e: labels. P1 High-priority issues at the top of the work list platform-android Android applications specifically team-android Owned by Android platform team triaged-android Triaged by Android platform team

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 c: proposal A detailed proposal for a change to Flutter c: 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 P3 Issues that are less important to the Flutter project label Nov 28, 2022
@flutter-triage-bot flutter-triage-bot bot added multiteam-retriage-candidate team-android Owned by Android platform team triaged-android Triaged by Android platform team labels Jul 8, 2023
@justinmc justinmc self-assigned this Feb 1, 2024
@justinmc justinmc added P1 High-priority issues at the top of the work list and removed P3 Issues that are less important to the Flutter project labels Feb 1, 2024
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 c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter engine flutter/engine repository. See also e: labels. P1 High-priority issues at the top of the work list platform-android Android applications specifically team-android Owned by Android platform team triaged-android Triaged by Android platform team
Projects
None yet
Development

No branches or pull requests

4 participants