Hi Girish,

You might want to read the following:

http://en.wikipedia.org/wiki/Java_Native_Interface
http://java.sun.com/j2se/1.5.0/docs/guide/jni/index.html

-Ravi

On Jan 2, 10:17 am, "Girish H T" <[email protected]> wrote:
> Dear all,
>
> At first, let me wish you all a Happy and a Successful New Year 2009. I have
> question on accessing Native C code which is in android middleware from Java
> application. According to the Android software architecture i see
> APPLICATIONS access APPLICATION FRAMEWORK and in turn APPLICATION FRAMEWORK
> ACCESSES MIDDLEWARE NATIVE C libraries. My questions are
>
> 1. Do i need to follow the architecture ? APPLICATION -- > APPLICATION
> FRAMEWORK -->MIDDLEWARE NATIVE C libraries
> or i can access it directly APPLICATION -- > MIDDLEWARE NATIVE C libraries
>
> 2.If i want to access C Helloworld code from Java application what all
> things i have to do (Exposing the C interfaces, .... ) anything else i need
> to do ?
>
> 3.If my second assumption is correct (C library exposes set of APIś) how
> Java application accesses these exposed APIs ?
>
> 4.And from Java application i guess few packges we need to import how these
> are getting built ?
>
> Any good documentation and good pointers will be of great help.
>
> If i have missed any point additionaly and please let me know
>
> With Best Regards
> Girish
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" 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-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to