Thanks for the help

I want to know that if i write some piece of code in any languagge may
be C or even Java,
how can i integrate it in android SDK. How can it be called like other
android APIs.

For example, if i write some framework like video playback frame work
in any language,
how can it be integrated with android framework so that applications
can make use of it like other APIs.
Are there any specifications for such code to be written.

If it cant be done this way, can u tell me if there is a way possible
for me to integrate it with my local SDK
so that my applications can make use of it. Does eclipse provide any
help in integratiing such source code.

Any Help Appreciated

Thanks & Regards
Amit


On Nov 30, 9:06 pm, "Josh Roesslein" <[EMAIL PROTECTED]> wrote:
> Keep in mind Android does not support JNI. So right now its not possible to
> use C/C++ code
> in your Android applications.
>
>
>
> On Sun, Nov 30, 2008 at 4:02 AM, GnuHash <[EMAIL PROTECTED]> wrote:
>
> > Build a shared lib out of your c code that has a JNI interface. Load
> > the lib from your java code and then invoke your functions via JNI.
>
> > GnuHash
>
> > Amit wrote:
> > > Hello friends,
>
> > > Can u plz tell that if i want to write some piece of code for android
> > > in c or c++, how can i integrate the code with java code.
>
> > > Any help appreciated
>
> > > Thanks
> > > Amit- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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