Implementation of a P2PSP client as an Android application
C++ M4 C Perl Batchfile Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.google
.idea
app
distribution
gradle/wrapper
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
screenshot.png
settings.gradle

README.md

Android application | P2PSP

Join the chat at https://gitter.im/P2PSP/Android-player

This project is aimed to implement a P2PSP client as an Android application. This project is aimed to create a peer implementation for Android devices.

Pre-requisites

  • Android Studio 2.0+ with NDK bundle.

Getting Started

  1. Download Android Studio
  2. Launch Android Studio.
  3. Open the sample directory.
  4. Open File/Project Structure...
  • Click Download or Select NDK location.
  1. Click Tools/Android/Sync Project with Gradle Files.
  2. Click Gradle/p2psp-android/app/build/buildDependents.

This project uses the new Gradle Experimental Android plugin with external lib support.

Android Project Configuration

To compile the Android project we need to link several libraries such as Boost, LibVLC to the jni.

Boost

LibVLC

  • We can build the LibVLC for Android by following this AndroidCompile and then add it to the project.

Gradle Build Configuration

The key points regarding the build are:

  • Inform Android Studio where lib/header is
  • Add lib dependency to application >Details are inside projects' build.gradle files

Support

If you've found an error in these samples, please file an issue.

Patches are encouraged, and may be submitted by forking this project.