[Gllug] C binary and tzdata on Android?
Richard W.M. Jones
rich at annexia.org
Fri Jun 10 11:36:08 UTC 2011
On Thu, Jun 09, 2011 at 03:39:02PM +0100, Robert McKay wrote:
> On Thu, Jun 9, 2011 at 3:07 PM, gvim <gvimrc at gmail.com> wrote:
>
> > I'm looking to build an Android app - and hopefully for the iPhone too -
> > which needs to call a C binary and use the standard Linux 'tzdata' library.
> > Is this possible and if so, can it be bundled as a regular app?
> >
>
> It's certainly possible.. but you might have to include several copies of
> the binary for different android architectures.
>
> You can just exec it
>
> http://developer.android.com/reference/java/lang/Runtime.html
>
> or you could make a native shared library and stubs to call it.
>
> http://developer.android.com/sdk/ndk/index.html
But there's no glibc right? Does anyone know if the replacement
libc is full-featured, or just enough to get the JVM to run?
Rich.
--
Richard Jones
Red Hat
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list