• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Getting Java VM in process mediaserver

  • Thread starter Thread starter Android Question
  • Start date Start date
A

Android Question

Guest
Hi All,

I need one information. I am trying to get existing java VM using AndroidRuntime::getJavaVM();
if its not available i ma trying with JNI_GetCreatedJavaVMs(&vm, 1, &numvms);
Stills not getting any Java VM running in the process.

Here the process is mediaserver.

Should it be one running Java VM in this process or there might not be any Java VM any java VM.

what is the criteria Java Vm would be created and will exist in the procees


If it must be having Java Vm what is the correct approach to get it.

Please response.
 
Back
Top Bottom