Android service pass C++ object from Activity



  • How can I start Android service and pass C++ object to the service from activity?


  • Moderators

    @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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.