This repository has been archived by the owner on Sep 27, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added wevibe cougar to bluetooth emulator added devices tab bumped client to schema version 1 added embedded client switched ws client to java-websocket initial interface and ws client integration with exampleclientgui fixed edittext focus in nested scrollview added open source notice to about tab converted all Class references to simpleName added android studio 3.1 files to .gitignore bumped gradle version bumped support lib version
- Loading branch information
Showing
67 changed files
with
1,544 additions
and
681 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
...in/java/org/metafetish/buttplug/apps/exampleclientgui/ExampleClientDeviceApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package org.metafetish.buttplug.apps.exampleclientgui; | ||
|
||
import android.app.Application; | ||
import android.support.annotation.NonNull; | ||
|
||
import org.metafetish.buttplug.components.controls.IButtplugDeviceApplication; | ||
import org.metafetish.buttplug.core.ButtplugEventHandler; | ||
|
||
public class ExampleClientDeviceApplication extends Application implements IButtplugDeviceApplication { | ||
private ButtplugEventHandler startScanning = new ButtplugEventHandler(); | ||
private ButtplugEventHandler stopScanning = new ButtplugEventHandler(); | ||
private ButtplugEventHandler deviceAdded = new ButtplugEventHandler(); | ||
private ButtplugEventHandler deviceRemoved = new ButtplugEventHandler(); | ||
private ButtplugEventHandler devicesReset = new ButtplugEventHandler(); | ||
|
||
@NonNull | ||
@Override | ||
public ButtplugEventHandler getStartScanning() { | ||
return this.startScanning; | ||
} | ||
|
||
@NonNull | ||
@Override | ||
public ButtplugEventHandler getStopScanning() { | ||
return this.stopScanning; | ||
} | ||
|
||
@NonNull | ||
@Override | ||
public ButtplugEventHandler getDeviceAdded() { | ||
return this.deviceAdded; | ||
} | ||
|
||
@NonNull | ||
@Override | ||
public ButtplugEventHandler getDeviceRemoved() { | ||
return this.deviceRemoved; | ||
} | ||
|
||
@NonNull | ||
@Override | ||
public ButtplugEventHandler getDevicesReset() { | ||
return this.devicesReset; | ||
} | ||
} |
Oops, something went wrong.