JNI is bi-directional. You can alsoo call Java methods from native
code.

I haven't tried this on the Android platform but I assume that it
works fine.


--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Sep 17, 9:47 am, Harsh <[email protected]> wrote:
> Hi
>    I am currently working on porting a application written in C in
> android platform. I need to know that can i invoke/call the
> getSystemService from the C application using invocaton interface by
> JNI.
>
> Meaning using a .java file which will interact with the interace
> provided by the android.telephony.TelephonyManager.java for using
> getCallState() and other mehthods.
>
> I want to know if this is feasible?
>
> Thanks for your time.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to