Android NDK artifact for getting full path to the apk

17 views
Skip to first unread message

Apoorva V

unread,
Jun 8, 2021, 10:20:49 PMJun 8
to android-ndk
Hi,

I am looking for an NDK way to obtain the full path to the android apk that it installed from my native c++ code. Is there such an artifact available? 

Currently I am using GetPackageResourcePath but I was hoping to not use java or JNI and rather use ndk.

Grégory Pakosz

unread,
Jun 9, 2021, 3:19:04 AMJun 9
to android-ndk
Hello,

I guess you can give https://github.com/gpakosz/whereami a try

Gregory

Reply all
Reply to author
Forward
0 new messages