Hi everyone,
Using the NDK,
I'm trying to get the
Activity's internal Data Path from main(arg, argv)
int man(int arg, char **argv)
{
// here I want activity->internalDataPath
string path( /* ??? */ );
...
}
in main(argc, argv)
I've changed MainAndroid to send it as an argument to a mainAndroid(const char* s)
but it's sort of nasty...
is there any clean way?
I've seen this post as well
https://en.sfml-dev.org/forums/index.php?topic=13716.240 but it's also a bit violent.
Anybody knows a way that doesn't require modifying the SFML source code?
(power2)