Git Product home page Git Product logo

screen-translator's Introduction

Hi there~

Profile statistics card

Top languages statistics card

screen-translator's People

Contributors

vamsi3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

screen-translator's Issues

[Feature Request] Hide Launcher Icon

Hi! I suggest to add an option to hide the launcher icon, it's not needed and it takes up space on the screen instead we can open the setting in accessibility page in setting this way it feels more like a integration of the system rather than a standalone app.

[Android 12] Closes notification shade but nothing happens

I've installed the latest APK - read through the issues as it seemed to be crashed, noticed it was related to the Accessibility not being allowed - allowed it - but now it just closes the notification shade and then nothing happens - it's set to use Google Lens (got it installed) but nothing happens at al

Error parsing apk

I can't install it on Android 11 because of the problem parsing the apk.

Ineffective notification shade event detection against system UI languages other than english

I tried your app but the Translation quick tile did not work at all, so I cloned this repo and debug it, and here is what I found.

I still don't know if this also affects other devices too, but on my device which uses Bahasa Indonesia as UI language. The event.text in this code attached below, only contains 1 "Bayangan pemberitahuan" string in it's array (translation of "Notification shade"). therefore the screenshot and translate function would not be called because it did not contain "Notification shade" string in it.

if (event.packageName.equals(PACKAGE_ANDROID_SYSTEM_UI) &&
event.text.any { it.contains("Notification shade") }
) {
disableEvents()
if (translateApp == TranslateApp.GOOGLE) {
enableEventsForPackage(translateApp.packageName)
}
takeScreenshotAndTranslate()

However, even after I found the cause, I still don't know how to safely fix this part that works for all devices. maybe you can find something about it?

Additional Info

  • Device Model : Nokia X30 5G
  • Device ROM : Android One 14
  • Device Language : Bahasa Indonesia ( Indonesian )
  • App version : 0.0.7 ( or commit b009e3f since I used the repo version too )

v0.0.3 works fine, but v0.0.4 through v0.0.6 don't work at all.

Up to APK v0.0.3, I manually added the quick setting tile, and when I pressed the button, it would take a screen capture and translate normally.

But APK v0.0.4 to v0.0.6, there is no response when I press the quick setting tile. After repeating this process a few times, the app crashed and I cleared the cache, but it still doesn't work.

I have checked accessibility permissions and have google lens, deepl, and papago all installed.

galaxy s23, one ui 5.1, android 13

There is no bubble

In this version there is a bug in it, just like in the previous version. I hope the problem will be resolved as soon as possible. I hope you add a special small bubble on the edges of the screen to make it easier to use

Old Android version must be supported. From Android 7 and above
IMG_20230604_143648

في هذا الإصدار يوجد خطأ فيه ، تمامًا كما في الإصدار السابق. آمل أن يتم حل المشكلة في أسرع وقت ممكن. أتمنى أن تضيف فقاعة صغيرة خاصة تكون على حواف الشاشة لتسهيل عملية الاستخدام

add support for shortcut

hello! thank you so much for this wonderful app. it's making my life in korea much easier :) one thing that would be nice, is adding support for the shortcut feature. right now when I set a shortcut in the accessibility settings and try the shortcut, nothing happens, and the permission is reset.

Screenshot_20230511_133844_Accessibility.jpg

Android 11

When the phone is in Arabic, the application does not work. It also stops working because

Not working

On clicking quick toggle it crased and toggle also not working

Device: Xiaomi 11i
Os ⋮ Hyperos 14

Google lens screen

a great app but it needs more improvements but why you just add Google to me that it also has Google lenses that I hope you add in an upcoming update
IMG_20230408_133545

Google

You can add better google. Install google lens Because Google search uses Google lens, I hope you understand
IMG_20230403_202931

[Improvement] MD3 UI

Hi! I suggest to update the UI according to MD3 the the Design isn't smooth and modern as today's android 13/14 design.

Crashes

Does this work with the latest version of PapaGo? I came across your app just now, installed PapaGo, added the quick tile, etc, but when I click nothing happens. After a few tries I get the system popup saying the app keeps crashing.

Pixel 6 Pro

App crashed

FATAL EXCEPTION: main
Process: com.vamsi3.android.screentranslator, PID: 23857
android.app.BackgroundServiceStartNotAllowedException: Not allowed to start service Intent { cmp=com.vamsi3.android.screentranslator/.feature.translate.ScreenTranslatorAccessibilityService }: app is in background uid UidRecord{58a45e9 u0a5624 CEM idle change:cached procs:0 seq(0,0,0)}
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1872)
at android.app.ContextImpl.startService(ContextImpl.java:1828)
at android.content.ContextWrapper.startService(ContextWrapper.java:786)
at com.vamsi3.android.screentranslator.feature.translate.ScreenTranslatorTileService.onClick(Unknown Source:64)
at android.service.quicksettings.TileService$H.handleMessage(TileService.java:452)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8280)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1073)

When will an update come out

Great application, but it stops. I hope that an update will be released as soon as possible

A small bubble should be added that will disappear into the side of the screen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.