-
Notifications
You must be signed in to change notification settings - Fork 5
Sample native Android service
License
opersys/native-service
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
DO NOT COPY the build/target/product/core.mk as-is to your tree.
Just copy the following from it:
PRODUCT_PACKAGES += \
...
libopersysnativemgriface \
libopersysnativeservice \
opersysnativeservice
...
You can run the system service on your target by doing this:
# opersysnativeservice &
You can use this to check that it runs:
# service list
You can then call on it directly:
# service call opersysnativeservice 1 i32 2313423
or
# service call opersysnativeservice 2 i32 12341351
And you can then use logcat to check that the call went through:
....
D/OpersysNativeService( 877): *************** writeValue() called with value 12341351 *******************
...
Karim Yaghmour
[email protected]
About
Sample native Android service
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published