Skip to content

Android Quick Settings tile to translate screen using Google Lens / Naver Papago

License

Notifications You must be signed in to change notification settings

vamsi3/screen-translator

Repository files navigation

Screen Translator

This Android app is a Quick Setting tile to translate the current screen using Naver Papago (네이버 파파고) / Google Lens app.

Demo

Screen.Translator.Demo.mp4

Notice that using the Screen Translator app is much quicker than the traditional screenshot and share UI.

How does it work?

  1. When user touches the quick settings tile, an intent is sent by ScreenTranslatorTileService::onClick to trigger ScreenTranslatorAccessibilityService::onStartCommand
  2. If the user didn't give accessibility permissions yet, they are redirected to accessibility settings page.
  3. If the accessibility permissions are present, notification panel collapse request is send to system.
  4. Finally, a screenshot is taken using accessiblity service and sent to the translate app for further translation inside their app's activity.
  5. If the translate app app is not installed in the system, user is notified of the same through a toast.

This app has a UI for a few settings too.

Settings UI

Author

Satti Vamsi Krishna Reddy - vamsi3

License

This project is licensed under the MIT License - please see the LICENSE file for details.

Disclaimer

DeepL, DeepL Translator and all related logos are trademarks of DeepL SE or its affiliates.

Google, Google Lens™ visual search engine and all related logos are trademarks of Google LLC or its affiliates.

NAVER, Papago and all related logos are trademarks of NAVER Corporation or its affiliates.

About

Android Quick Settings tile to translate screen using Google Lens / Naver Papago

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages