Android service pass C++ object from Activity
Unsolved
Mobile and Embedded
-
wrote on 21 Dec 2016, 18:31 last edited by
How can I start Android service and pass C++ object to the service from activity?
-
@MartinD
since the Activity and the Service are different processes and thus do not share the same memory space a pointer wouldn't help you.
You need to use any IPC technique or if you are more familiar with it use Android Intents to communicate your data.
1/2