Hi,

On Fri, Mar 03, 2017 at 11:53:10AM +0500, Saba Arshad wrote:
> Hello Sir,
> 
> >From many days i am trying to add strace in my application and call it at
> run time. for this purpose i have installed ndk, imported strace package
> through Android.mk file.

strace is a regular executable, you don't have to import its sources
if all you need from strace is just to execute it.

[...]
> I cannot find any documentation about *BUILD_SHARED_LIBRARY* at
> official page (https://developer.android.com/ndk/guides/android_mk.html).
> 
> I cannot find any way of calling the strace executable in java class,
> as for shared library we can use System.loadlibrary(strace).
> 
> Can anyone suggest me the solution?

As strace is a regular executable, you are in fact looking for a method
of invoking regular executables on the platform of your choice.

This must be a very basic knowledge, though.


-- 
ldv

Attachment: pgpSQOFLwwL6l.pgp
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to