Thanks for Reply!!!
Can you give me any sample code for reference?? ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Digit Sent: Saturday, March 29, 2008 2:07 AM To: [email protected] Subject: [android-beginners] Re: about calling back from c++ to android.. you can always call a Java function from JNI code (e.g. env->CallVoidMethod(....)) now, if you want to call a Java function from an arbitrary native program, things are very different and more complicated since you need to have the VM setup for you before being able to call any Java method. the simplest way would probably be to decompose your application in one native process and a Java one that communicate through sockets and/or shared memory. (that's exactly how we implement some things in the system, e.g. the Java GSM stack communicates with the native radio interface layer daemon through a socket with a well-defined protocol between them) On Wed, Mar 26, 2008 at 11:00 PM, Neelesh Jain <[EMAIL PROTECTED]> wrote: Hi I am trying to create an application in which I have to use some c++ APIs. We can call from android to c++ using JNI. How can we get callback from these c++ APIs to android?? ======================================================================== ==================================================== Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra. ======================================================================== ==================================================== ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra. ============================================================================================================================ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

