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

Faster Kvdroid #51

Open
kengoon opened this issue Sep 14, 2023 · 1 comment
Open

Faster Kvdroid #51

kengoon opened this issue Sep 14, 2023 · 1 comment
Labels
new project Create a new project

Comments

@kengoon
Copy link
Member

kengoon commented Sep 14, 2023

          @kengoon btw i have an idea but don't know if it's ridiculous.

We have a big performance issue when we intend to do some tasks with pyjnius. For instance, I needed to get all the installed apps activities for one of my apps. When I do that task with pyjnius it nearly takes 10 seconds to complete, but when I execute the same task with pure java it only takes 1 or 2 seconds. So I had to do that task for my app by calling that java function in PythonActivity.java at startup.

So my question is what if we find another way to communicate with Java to do those tasks kvdroid provides?
How to create that channel?

I tried it with OSC protocol just like how we do it to communicate with service.py and actually, it worked but I'm not sure if it's a good approach.

It could be a separate project as well.

what do you think?

Originally posted by @yunus-ceyhan in #47 (comment)

@kengoon
Copy link
Member Author

kengoon commented Sep 14, 2023

@yunus-ceyhan we can continue the conversation for kvdriod performance improvement
For now, I don't have any update on this until tomorrow

@kengoon kengoon added the new project Create a new project label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new project Create a new project
Projects
None yet
Development

No branches or pull requests

1 participant