Sharing data between Java & C++

  • Replies:1
  • OpenNot stickiedUnanswered
  • Forum posts: 1

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

Hi,
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?

Reply
  • Forum posts: 1,263

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.07 MB. But also Accurate, Ad-Free & Full-Free.
The minimalist app available on Google Play https://goo.gl/ws42fN
Your 5-star is appreciated. Blog : https://okblackcafe.blogspot.com

Helpful?
Reply
Recommended articles