Home > Mobile >  [small white help] ART came to the part of the code, how to implement the interface in android appli
[small white help] ART came to the part of the code, how to implement the interface in android appli

Time:11-05

Antecedents feed: the building completely don't understand the android, the lab is driving a duck on this part to do, and sincerely help,
(has put some code in the runtime, and the new one. So a push on the phone, and through the way of playing the log view looks ok, but now you need to make calls in the application of some method of pile in the runtime, and don't know how to butt up)
At runtime in the part of the code, want to set aside the interface calls in the application, realize the thinking of is what? Is written in the runtime jni? If this is the case in the application also need to load? Don't feel quite right, sincerely help,,

CodePudding user response:

The runtime? Java code?
Do you want to the Runtime call dynamic libraries. So?

CodePudding user response:

May not be clear about, I think in the app (Java) call my increase in ART - the runtime code, don't know how to do, only know now generally in Android of CPP must write jni call external form, and then add the lib to the Android. Mk and then load the tune in the Java inside, but now I'm CPP code is written in the book of ART of runtime, and I don't know how to call,

CodePudding user response:

reference 1st floor jzp12 response:
runtime? Java code?
Do you want to the Runtime call dynamic libraries. So?

May not be clear about, I think in the app (Java) call my increase in ART - the runtime code, don't know how to do, only know now generally in Android of CPP must write jni call external form, and then add the lib to the Android. Mk and then load the tune in the Java inside, but now I'm CPP code is written in the book of ART of runtime, and I don't know how to call,

CodePudding user response:

Do you want to the Runtime call dynamic libraries. So?

CodePudding user response:

What is your ART - the Runtime?

CodePudding user response:

The original poster or multiple android based began to look at it, in addition to interface docking with json, and art is the android runtime it didn't quite understand what the original poster said, waiting for the great god answer
  • Related