Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
48 views

In my android system service, I am using "launchWhenCreated" to launch a coroutine as observer and it listens for updates from the UI. If UI updates a value, it will be stored in a .pb(...
1 vote
1 answer
831 views

Android has been more restrictive with files, while it is very clear how to share files across apps... How would I share a file between a system service like surfaceflinger/audioflinger and an app? ...
0 votes
1 answer
397 views

We know that we can detect magnification from triple-tap gesture by Settings.Secure.getInt( getAppContext()?.getContentResolver(), "accessibility_display_magnification_enabled",0) But can ...
0 votes
1 answer
330 views

Is it possible to restrict access to certain methods on a System Service in AOSP? I was thinking of having two Proxies talk to the System Service with one implementing public methods and the other ...
0 votes
2 answers
215 views

I am trying to create a systemd service for a spring boot application, servie is creating but the status shows as follows, くろまる vehicle_service-0.1.0.service - vehicle micro service Loaded: loaded (/...
1 vote
0 answers
48 views

I am working on AOSP11/12. I am trying to understand which is the better way to understand commucate data b/w java to C++/C code. I have created a test Android JNI application that communicates data ...
0 votes
1 answer
980 views

I am working on AOSP11/12(Android) and want to communicate data from java/Kotlin to C++ code or vice versa. Is that better way to create new service and communicate data or need to create NDK ...
6 votes
1 answer
2k views

Viewed quite a few similar questions so far, but none ended up a solution. I'm trying to start up a foreground service in order to handle SMS messaging. This service is started when the app is first ...
0 votes
0 answers
99 views

I programmed a system-service and it tries to create a directory to save some data. The dir that I chose was /.myServiceData. When I try to run it I get this error: mkdir /.ethNode: read-only file ...
1 vote
1 answer
1k views

I wrote a System Service, but it fails on boot with the message: java.lang.UnsatisfiedLinkError: dlopen failed: library "libgojni.so" not found Basically in the code of the .aar library it ...
1 vote
1 answer
348 views

I have a working python script. It works as a system service unless I read from a config file via configparser() -> (code=exited, status=1/FAILURE) config = configparser.ConfigParser() config....
0 votes
1 answer
55 views

I am new in android and I don't know how to do this, I want to create a background service, There is two main component in my app one is Button (Start Earning) and another is TextView (Points). I want ...
0 votes
0 answers
752 views

So I am trying to create a project in which I have one activity with two buttons to start & stop my custom background service of the same app. All I want in this service is to "show layout ...
2 votes
1 answer
2k views

Hi I am adding my koushikservice in aospCodebase/frameworks/base/services/java/com/android/server/SystemServer.java like this KoushikService koushikservice = null; try{ ...
1 vote
2 answers
1k views

I am trying to create a System service which runs once system boots up, I have followed required steps except sepolicy files update. I have referred https://android.jlelse.eu/system-service-in-aosp-...

15 30 50 per page
1
2 3

AltStyle によって変換されたページ (->オリジナル) /