APIDemo application

APIDemo application demonstrates how to implement InputStick support in Android application.

Download API and APIDemo app.

 

Project properties:

Remember to add InputStickAPI to your workspace and to include it in "Libraries" (Project properties -> Android).

 

MainActivity (Source):

Learn how to manage InputStick connection and handle connection errors.

apidemo1 

apidemo2

apidemo3 

 

KeyboardDemoActivity (Source):

Learn how to use keyboard interface: press individual keys and key combinations, type simple text, type text using selected keyboard layout. The layout should always match the one used by USB host!).

apidemo4

 

MouseDemoActivity (Source):

Learn how to use mouse interface: move pointer, click, scroll.

apidemo5

 

MediaActivity (Source):

Learn how to use InputStick to control system volume, media playback and launch applications.

apidemo6

 

GamepadActivity (Source):

Learn how to use InputStick as a simple game controller (16 buttons, 4 axes).

apidemo7 

 

AndroidManifest.xml (Source):

If you want to use direct Bluetooth connection instead of InputStickUtility, remember to add:

<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />

 

See also:

gallery

Blog

gallery

YouTube

GooglePlay

AppStore

This site uses cookies. Learn more. Copyright © 2017 InputStick. All Rights Reserved. Joomla! is Free Software released under the GNU GPL. Template by RocketTheme. All product names, logos, and brands are property of their respective owners and are used for identification purposes only. Use of these names, logos, and brands does not imply endorsement.