How to run a NativeActivity without taking the display?

Put problems with the Android NDK in this forum.

How to run a NativeActivity without taking the display?

Postby paulscode » Mon Oct 17, 2011 4:48 pm

I am trying to implement an input plug-in for Xperia touch controls in one of my projects. The only way to get this input is through a NativeActivity, but I don't want to rewrite my entire project to use a NativeActivity. Instead, I would like to run the NativeActivity on top of the existing Activity (sending thorough touch and key events), without hiding the existing Activity. Is there a command that I could stick somewhere in the onCreate() or the Intent, or whatever that can achieve this? Let me know if you need a better explanation or some code to better describe what I'm after.
paulscode
Experienced Developer
Experienced Developer
 
Posts: 79
Joined: Thu Nov 11, 2010 3:57 pm

Top

Return to NDK Problems

Who is online

Users browsing this forum: No registered users and 5 guests