Sharing data between Java & C++

  • Replies:1
  • Forum posts: 1

Feb 28, 2020, 9:56:09 AM via Website

I would like to share data between Java & C++ in my android app, but would not want to make a copy of the data. Would like to use the same memory as a reference.
Can someone assist in this regard?

  • Forum posts: 1,455

Feb 29, 2020, 8:16:01 AM via Website

Which part is developed with C++ code in your android app?

Why not to share your data using Intent?
As we know, Android uses ACTION_SEND event of android.content.Intent class to send data from one activity to another and from current activity to outside the application.
Intent class needs to specify the data and its type which is to be shared.

Just for your reference.

Download size < 0.08 MB. But also Ad-free, Pure & Accurate enough.
The minimalist app is available on Google Play
Your 5-star is appreciated. Blog: