Skip to content

Commit ad54ed6

Browse files
committed
Merge pull request senzhk#7 from webmaster128/gradle
Make this a Gradle project that works with Android Studio
2 parents 758dab3 + 7aabbbf commit ad54ed6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+316
-117
lines changed

.classpath

Lines changed: 0 additions & 8 deletions
This file was deleted.

.gitignore

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,19 @@
99
*.class
1010

1111
# generated files
12-
bin/
13-
gen/
12+
build/
1413

1514
# Local configuration file (sdk path, etc)
1615
local.properties
1716

1817
# Eclipse project files
1918
.classpath
2019
.project
20+
21+
# Android Studio
22+
.idea/
23+
*.iml
24+
25+
# Gradle
26+
local.properties
27+
.gradle/

.settings/org.eclipse.jdt.core.prefs

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
ADBKeyBoard
22
===========
33

4-
54
Android Virtual Keyboard Input via ADB
65

76
ADBKeyBoard is a virtual keyboard that receives commands from system broadcast intents, which you can send text input using adb.
@@ -24,13 +23,22 @@ is not going to work.
2423

2524
ADBKeyboard will help in these cases, especially in device automation and testings.
2625

27-
<h1> How to Use</h1>
26+
Build and install APK
27+
---------------------
28+
29+
With one device or emulator connected, use these simple steps to install the keyboard:
30+
31+
* Get source: `git clone https://github.com/senzhk/ADBKeyBoard.git`
32+
* Go into project dir `cd ADBKeyBoard`
33+
* Set Android SDK location: `export ANDROID_HOME=$HOME/Android/Sdk` or edit file `local.properties`
34+
* Build and install: `./gradlew installDebug`
2835

29-
<ul>
30-
<li>Enable 'ADBKeyBoard' in the Language&Input Settings.</li>
31-
<li>Set it as Default Keyboard OR Select it as the current input method of certain EditText view.</li>
32-
<li>Sending Broadcast intent via Adb or your Android Services/Apps.</li>
33-
</ul>
36+
How to Use
37+
----------
38+
39+
* Enable 'ADBKeyBoard' in the Language&Input Settings.
40+
* Set it as Default Keyboard OR Select it as the current input method of certain EditText view.
41+
* Sending Broadcast intent via Adb or your Android Services/Apps.
3442

3543
Usage Example:
3644
<pre>
@@ -68,5 +76,3 @@ You can try the apk with my debug build: https://github.com/senzhk/ADBKeyBoard/b
6876
KeyEvent Code Ref: http://developer.android.com/reference/android/view/KeyEvent.html
6977

7078
Editor Action Code Ref: http://developer.android.com/reference/android/view/inputmethod/EditorInfo.html
71-
72-

bin/ADBKeyBoard.apk

-160 KB
Binary file not shown.

bin/AndroidManifest.xml

Lines changed: 0 additions & 27 deletions
This file was deleted.

bin/classes.dex

-573 KB
Binary file not shown.
-1.81 KB
Binary file not shown.
-1.88 KB
Binary file not shown.
-355 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)