Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

create android system service in rust #136

Open
tekjar opened this issue May 3, 2017 · 3 comments
Open

create android system service in rust #136

tekjar opened this issue May 3, 2017 · 3 comments

Comments

@tekjar
Copy link

tekjar commented May 3, 2017

Hi @tomaka. Is it possible to create an android system service which can get requests from other apps/services on binder using this crate?

@tomaka
Copy link
Contributor

tomaka commented May 3, 2017

I had to google "android system service" in order to know what you were talking about.

I don't think it's possible without big changes in this crate's code however.

@snuk182
Copy link

snuk182 commented May 3, 2017

Android Service heavily relies on the Android framework, which has Java API only, which means you cannot have this written in Rust only and need to have a huge lot of Java boilerplate code around.

@tekjar
Copy link
Author

tekjar commented May 3, 2017

@tomaka thanks. will try to figure out a way (:

@snuk182 In my case, I can build my own rom. I was wondering if I could use native libbinder.so or Ibinder c++ intrerface.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants