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 It would be possible to do this; Any idea how? Despite its name, struct android_app .
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
Post a Comment