Is there a way to send a reference to a display object back to native Java/ObjC code?

I’m trying to integrate a new SDK into our app, and I’m having a problem where their SDK generates native objects, which afaik I cannot insert into Corona’s OpenGL view.  

I have got around this by retrieving an image url from the data returned by the SDK - I can use that to download an image, and display that manually in Corona no problem.

The problem now is that their “native” object has it’s own built in click listener, which I cannot access manually. The SDK has a function to add a touch listener to a view, but I’m not sure if there is a way to take a Corona display object and send that to java as a view:

public void registerViewForInteraction(View view) {         ArrayList arraylist = new ArrayList();         a(arraylist, view);         registerViewForInteraction(view, ((List) (arraylist))); } /\* \*   \* Sets an OnTouchListener to be notified of touch events on the ad unit. Touchable views that can trigger this listener are either   \* the click-able views if a set was provided in registerViewForInteraction(), or the container view provided to  \* registerViewForInteraction() and all of the container's sub-views.   \* @param touchListener the touch listener   \*/ public void setOnTouchListener(View.OnTouchListener touchListener);

I’m not even sure what kind of native object a Corona image/group/etc would be, or if there is a way to grab a “view” that contains the object.

Is there any way around this? Or failing that, is there any way to insert native objects into Corona?

I asked Engineering a while back about a similar question if native space could access Corona’s OpenGL canvas and the answer was no. I don’t think it’s possible.

Ok, the SDK developer opened up some functions in the end so I can get around their original restrictions.

I asked Engineering a while back about a similar question if native space could access Corona’s OpenGL canvas and the answer was no. I don’t think it’s possible.

Ok, the SDK developer opened up some functions in the end so I can get around their original restrictions.