I don't know if there is any "ellegant" method... but you always can do a socket communication between processes...
HTH, pepel On Thu, Mar 27, 2008 at 10:56 AM, Neelesh Jain <[EMAIL PROTECTED]> wrote: > > > Hi Pece > > Now the thing is that in c++ code..there would be a running thread > If that thread has to interact with android thread den how will it do > dat?? > > Thanks & Regards, > Neelesh Jain| EMB & MOB | Tech Mahindra > 2nd Floor,Beta-2,Giga Space,Pune-411014 > Office: (020) 6622 1000| Extn: 1800| Mob: 91-9923490784 > Email: [EMAIL PROTECTED] > www.techmahindra.com > > > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of pmilosev > Sent: Thursday, March 27, 2008 2:38 PM > To: Android Beginners > Subject: [android-beginners] Re: about calling back from c++ to > android.. > > > Hi Jain > > I am starting with Android now, so I can not exactly answer your > question > but from a programmer point of view: > > If you have a way to call C++ API's (as you said trough JNI) > I don't see why you will need to callback android > Put what you need in to your C++ API ... making it a whole > functional part (call it library, framework, API or whatever you like) > and then just call this functions from your android program > > regards > Pece > > P.S. I am maybe missing the point here ... if so please describe your > problem more ;) > > Neelesh Jain 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.htmlexternally and > http://tim.techmahindra.com/Disclaimer.html internally within Tech > Mahindra. > > > ============================================================================================================================ > > > > -- Pepel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

