android - Getting a Context from a NativeActivity -


I have an application using Native Activity I

I have a valid for my activity How do I get the references?

I want to call a javascript to use a reference in Java (for example, to access the telephony manager to ask IMEI). The interactive activity structure includes many useful data for my application, such as JavaWime, and JNI environment, etc. There is also a job pointing to the class object of my native activity. What is not included in this is the job indicated on the example of the net actcty I do not see anything useful in the struct android_app .

It would be possible to do this; Any idea how?

Despite its name, clazz member normal activity Stretch is actually pointing to android.app.NativeActivity example.
Check out an example of using Java code JNI calls from basic activity.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -