Yeah, we can use C function from Android SDK. Please go through with Android
NDK which is provided by Google.
It's just like using C code from Java using JNI.

~ Anurag Singh

On Thu, Jun 9, 2011 at 4:19 AM, Gregory Nash <[email protected]> wrote:

> But LibTiff is a set of C functions. Is it possible to access this
> library from code written with the android SDK? If so, where would I
> learn how to do this?
>
> From google searches, I've also found this
>
> http://www.java2s.com/Open-Source/Android/File/tiffonandroid/Catalogtiffonandroid.htm
> but I don't understand it. It's TiffDecoder.java class looks more like
> a header file than source code. In a static method that seems
> nameless, it loads some sort of library that I can't find information
> about. Maybe it's somehow loading the LibTiff library? I tried putting
> System.loadLibrary("tiff");
> in my code but it crashed the program in the emulator. Maybe it would
> work with a different AVD?
>
> On Aug 13 2010, 3:18 am, Anurag Singh <[email protected]> wrote:
> > LibTiff is the right place.
> >
> > http://www.libtiff.org/
> >
> > - Anurag Singh
> >
> >
> >
> >
> >
> >
> >
> > On Thu, Aug 12, 2010 at 2:37 PM, Reddy <[email protected]> wrote:
> > > Hi,
> >
> > > I am not sure whether it is the right place to ask this question.
> >
> > > Has any one implemented the codec for Tiff formated image? If any one
> > > is having any idea please share the info where i can get the source
> > > code for the same.
> >
> > > Help is hightly appreciated.
> >
> > > /Reddy
> >
> > > --
> > > 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]<
> android-developers%[email protected]>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>

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