Is there any way in which I can pass/get an object of android context in my ndk appliation. I want to use SharedPreferences in my ndk application via jni interface. To get an instance of SharedPreferences object, I need to call getSharedPreferences() on Context object. But I do not have access to the context object. OR How can I read and write an xml file from NDK ? Any pointers will be appreciate
{{#tags}}- {{label}}
{{/tags}}