[Pidgin] GSoC2012/Android/hostbuild modified

Pidgin trac at pidgin.im
Tue Jul 17 15:39:33 EDT 2012


Changed page "GSoC2012/Android/hostbuild" by michaelz from 88.66.13.123*
Page URL: <http://developer.pidgin.im/wiki/GSoC2012/Android/hostbuild>
Diff URL: <http://developer.pidgin.im/wiki/GSoC2012/Android/hostbuild?action=diff&version=2>
Revision 2
Comment: Notes on including the library

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: GSoC2012/Android/hostbuild
=========================================================================
--- GSoC2012/Android/hostbuild (version: 1)
+++ GSoC2012/Android/hostbuild (version: 2)
@@ -12,3 +12,11 @@
 
 == 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.
+
+Before loading libpurple call:
+
+  System.loadLibrary("im.pidgin.libpurple");
+  PurpleLibraryLoader.fakeLoad(); /* avoids android loads */
+
+Ensure to have the library that was build on your path, e.g. by adding the JVM Argument:
+  -Djava.library.path=/usr/local/lib:${workspace_loc:im.pidgin.libpurple/X86}

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