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.

Version 1 (modified by michaelz, 12 years ago) (diff)

--

This is a tutorial to create a new Client for libpruple.

There is an implementation of a testclient in the project im.pidgin.libpurple.testclient

Create a new Project

Create a new Android project with a name of your choice.

Get the libs

You have 2 Ways of getting libpurple:

Source (takes some time)

Check out the android branch and build it. See compiling help.

Then copy the file build.ant from the testclient project to your project and adapt it to your project name.

Compiled binaries

TBD: A .tar.gz with all .so-Files and with a jar file for the java classes.

Set android properties

Go to the project properties of your new project.

Select the Android entry. Add im.pidgin.libpurple project to the list of libraries.

Select Java Build path. In the tab Projects, add im.pidgin.libpurple. In the tab Order and Export, check that project.

Go

You are ready to use libpurple. Call PurpleInstance?.createInstance() to get a reference to libpurple.

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!