At this point, native application development is not supported, and
all public SDK APIs are exposed at the level of the virtual machine.
The fact that a given API is implemented as native code is an
implementation detail that is irrelevant for applications.

If you want applications built with the SDK to be able to access
functionality backed by native code, you need to wrap that native code
so that it can be accessed through the virtual machine.

JBQ

On 1/2/09, 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
>
> >
>


-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

--~--~---------~--~----~------------~-------~--~----~
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