Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JINS MEME SDK Wrapper for Java

This wrapper imitates Android-like environment to run Meme SDK in JDK.

Requirements

  • JDK 7 (with option -XX:-UseSplitVerifier) or JDK 8 (with option -noverify)
  • Meme SDK for Android (Tested with 1.1.0 2016.02.19)
  • Maven

Usage

MemeSdk meme = new MemeSdk(new Listener() {
	@Override
	public void deviceReady() {
		System.out.println("Meme Device Ready");
		// Meme device is successfully setup, now you can call startDataReport.
		meme.startDataReport(memeListener);
	}

	@Override
	public void writeCommand(byte[] gattValue) {
		// You must send gattValue to actual TX characteristic.
	}
});
meme.initialize();
// You need to call this method when GATT notification is received from RX characteristic.
meme.responseCommand(gattValue);

How to Build (JDK 7)

Open with NetBeans

How to Build (JDK 8)

 $ git clone https://github.com/FantomJAC/meme-sdk-wrapper

Download JINS Meme SDK (need to sign up) and unzip.

 $ mv /path/to/memelib/MemeLib.jar meme-sdk-wrapper/
 $ cd meme-sdk-wrapper
 $ ./install-meme-lib.sh
 $ mvn install
 $ mvn compile

Quick Start

 $ ./run.sh

About

JINS Meme SDK Wrapper for Java

Resources

Stars

2 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages