Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Initial Version and Version 1 of GSoC2012/Android/hostbuild


Ignore:
Timestamp:
Jul 17, 2012, 3:32:07 PM (12 years ago)
Author:
michaelz
Comment:

created page

Legend:

Unmodified
Added
Removed
Modified
  • GSoC2012/Android/hostbuild

    v1 v1  
     1It is possible to build the jni part of the library against the host system, to ease testing.
     2
     3== What you need ==
     4You 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...
     5
     6You need the ability to build pidgin. Then compile and install the default branch of the android repository the normal way.
     7
     8If 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)
     9
     10== How it works ==
     11Simply 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.
     12
     13== How to use ==
     14Elcipse 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.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!