[Gllug] C binary and tzdata on Android?
Robert McKay
robert at mckay.com
Thu Jun 9 14:39:02 UTC 2011
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
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20110609/38ce218f/attachment.html>
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list