[Pidgin] GSoC2012/Android/hostbuild added

Pidgin trac at pidgin.im
Tue Jul 17 11:32:09 EDT 2012


Added page "GSoC2012/Android/hostbuild" by michaelz from 88.66.13.123*
Page URL: <http://developer.pidgin.im/wiki/GSoC2012/Android/hostbuild>
Comment: created page
Content:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
It is possible to build the jni part of the library against the host system, to ease testing.

== What you need ==
You need to have Android set up for compiling. You might avoid a lot of work if you deselect some of the builders (because you do not need to compile any libraries for this to work), but you are on your own there...

You need the ability to build pidgin. Then compile and install the default branch of the android repository the normal way.

If you do not want to install it, you might adapt the Eclipse configuration (Project → Properties → C/C++ Build → Settings → Includes; Mind to select the right build configuration)

== How it works ==
Simply select X86 as active build configuration. Then build it. On Ubuntu, everything should work. If it does not, you might miss headers. Add them to the Includes section of the Build settings.

== How to use ==
Elcipse outputs an library file. You can simply load it with System.loadLibrary. Then you can use everything im.pidgin.libpurple provides you with. Since this project has no dependency on any Android stuff, it is safe to use on a normal PC and you could deploy your java application you wrote with this library normally.
-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
Pidgin <http://pidgin.im>
Pidgin

This is an automated message. Someone at http://pidgin.im added your email
address to be notified of changes on GSoC2012/Android/hostbuild. If it was not you, please
report to .


More information about the Wikiedit mailing list