Copy/Paste text between Android device and Desktop easily
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.
gradle/wrapper
lib
oneclipboardandroid
oneclipboarddesktop
oneclipboardlib
oneclipboardserver
.gitignore
LICENSE
README.md
build.gradle
generatekeys.bat
generatekeys.sh
gradle.properties
gradlew
gradlew.bat
logo.ico
logo.png
settings.gradle

README.md

oneclipboard

An Android + Desktop app to sync clipboard automatically

###Requirements

  1. Java 1.7+
  2. Gradle 1.12
  3. Android Tools 19.0
  4. Android SDK 16

###SSL ( currently removed because of http://stackoverflow.com/q/35609460/206292 ) Before building, the public and private keys need to be generated for use with SSLSocket. Use 'generatekeys.sh' or 'generatekeys.bat' for the same.

NOTE: The keystore is of type BKS and the JCE policy files might need to installed for the scripts to work. Refer - http://yaragalla.blogspot.in/2013/05/how-to-create-ssl-serversocket-on.html

###Build Instructions

gradle :oneclipboardlib:build
gradle :oneclipboardandroid:build
gradle :oneclipboarddesktop:build
gradle :oneclipboardserver:build

####Generate Eclipse Project Files

gradle :oneclipboardlib:eclipse
gradle :oneclipboardandroid:eclipse
gradle :oneclipboarddesktop:eclipse
gradle :oneclipboardserver:eclipse

####Creating Fat Jar A single runnable jar can be created for the desktop and server with the following commands:

gradle :oneclipboarddesktop:shadowJar
gradle :oneclipboardserver:shadowJar

This should create a *-all.jar under build/libs.

###Usage

  1. Run oneclipboardserver - gradle :oneclipboardserver:run
  2. Run oneclipboarddesktop - gradle :oneclipboarddesktop:run
  3. Install oneclipboardandroid/build/apk/oneclipboardandroid-debug-unaligned.apk on your Android device.
  4. Copy some text on your desktop/android, paste it on your android/desktop.

Note: You can use any username/password combination but make sure its the same on all the devices.