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.
- Timestamp:
-
May 27, 2012, 10:47:06 PM (12 years ago)
- Author:
-
michaelz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v1
|
|
| 1 | This is a tutorial to create a new Client for libpruple. |
| 2 | |
| 3 | There is an implementation of a testclient in the project im.pidgin.libpurple.testclient |
| 4 | |
| 5 | == Create a new Project == |
| 6 | |
| 7 | Create a new Android project with a name of your choice. |
| 8 | |
| 9 | == Get the libs == |
| 10 | |
| 11 | You have 2 Ways of getting libpurple: |
| 12 | |
| 13 | === Source (takes some time) === |
| 14 | |
| 15 | Check out the android branch and build it. See [wiki:GSoC2012/Android/compiling compiling help]. |
| 16 | |
| 17 | Then copy the file ''build.ant'' from the testclient project to your project and adapt it to your project name. |
| 18 | |
| 19 | === Compiled binaries === |
| 20 | |
| 21 | TBD: A .tar.gz with all .so-Files and with a jar file for the java classes. |
| 22 | |
| 23 | == Set android properties == |
| 24 | |
| 25 | Go to the project properties of your new project. |
| 26 | |
| 27 | Select the Android entry. Add im.pidgin.libpurple project to the list of libraries. |
| 28 | |
| 29 | Select Java Build path. In the tab Projects, add im.pidgin.libpurple. In the tab Order and Export, check that project. |
| 30 | |
| 31 | |
| 32 | == Go == |
| 33 | 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!