GitHub - vamsi3/screen-translator: Android Quick Settings tile to translate screen using Google Lens / Naver Papago

コンテンツ

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 Papago / Google Lens app for further translation inside their app's activity.
  5. If Papago / Google Lens 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.

Author

Vamsi Krishna Reddy Satti - vamsi3

License

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

Disclaimer

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

要約する
The Screen Translator Android app allows users to quickly translate the current screen using Naver Papago or Google Lens. By tapping the quick settings tile, an intent is sent to trigger the translation process. If accessibility permissions are not granted, users are directed to the settings page. Once permissions are in place, a screenshot is taken and sent to Papago or Google Lens for translation. If the translation apps are not installed, a notification is displayed. The app also includes a user interface for settings. The author of the app is Vamsi Krishna Reddy Satti, and the project is licensed under the MIT License. The app's disclaimer notes that Naver, Papago, Google, and Google Lens are trademarks of their respective companies.