Skip to content

P2PSP/android

Repository files navigation

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.

About

Implementation of a P2PSP client as an Android application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •