Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vamsi3/screen-translator
Android Quick Settings tile to translate screen using Google Lens / Naver Papago
https://github.com/vamsi3/screen-translator
android kotlin papago screenshot translate
Last synced: 4 days ago
JSON representation
Android Quick Settings tile to translate screen using Google Lens / Naver Papago
- Host: GitHub
- URL: https://github.com/vamsi3/screen-translator
- Owner: vamsi3
- License: mit
- Created: 2022-04-16T18:16:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-13T09:16:53.000Z (5 months ago)
- Last Synced: 2024-08-02T01:17:44.016Z (3 months ago)
- Topics: android, kotlin, papago, screenshot, translate
- Language: Kotlin
- Homepage:
- Size: 295 KB
- Stars: 56
- Watchers: 3
- Forks: 12
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Screen Translator
> This Android app is a Quick Setting tile to translate the current screen using Naver Papago (네이버 파파고) / Google Lens app.
## Demo
https://user-images.githubusercontent.com/23007879/163716868-2f5020cc-e247-4208-98ac-e1ff01d14a61.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](docs/Settings.png)
## Author
Satti Vamsi Krishna Reddy - [vamsi3](https://github.com/vamsi3)
## License
This project is licensed under the MIT License - please see the [LICENSE](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.