Good lord, please don't run a big piece of C++ code as root. We designed
things to have very very little code running as root, to keep the exploit
surface area small.
Also we strongly strongly discourage people from writing their apps with
such a structure, where they for a separate process. The
That works if you start the native program from the Java program. It doesn't
work if it needs to run independently.
I like Frank's approach. Generally, minimizing the amount of C++ code in an
application will make things better. In fact, I would argue you never want
to make a native C++ applica
You can just read the native program's standard output. Take a look at Java
Process class.
29.03.2011 6:20 пользователь "arvind" написал:
> Hi All,
>
> I have an NDK application(written in C++) packaged as an executable
> and deployed in android. I also have a Java apk file in the
> application la
Hi All,
I have an NDK application(written in C++) packaged as an executable
and deployed in android. I also have a Java apk file in the
application layer. Now my NDK app does some processing and outputs a
string of data in the format "name = value". Basically the output from
NDK looks like this:
n
4 matches
Mail list logo