abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/LauncherActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/juloo.keyboard2/LauncherActivity.java')
-rw-r--r--srcs/juloo.keyboard2/LauncherActivity.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/LauncherActivity.java b/srcs/juloo.keyboard2/LauncherActivity.java
index 35ef461..2180b43 100644
--- a/srcs/juloo.keyboard2/LauncherActivity.java
+++ b/srcs/juloo.keyboard2/LauncherActivity.java
@@ -7,6 +7,7 @@ import android.os.Bundle;
import android.provider.Settings;
import android.view.KeyEvent;
import android.view.View;
+import android.view.inputmethod.InputMethodManager;
import android.widget.EditText;
import android.widget.TextView;
@@ -33,6 +34,13 @@ public class LauncherActivity extends Activity
startActivity(new Intent(Settings.ACTION_INPUT_METHOD_SETTINGS));
}
+ public void launch_imepicker(View v)
+ {
+ InputMethodManager imm =
+ (InputMethodManager)getSystemService(INPUT_METHOD_SERVICE);
+ imm.showInputMethodPicker();
+ }
+
final class Tryhere_OnUnhandledKeyEventListener implements View.OnUnhandledKeyEventListener
{
public boolean onUnhandledKeyEvent(View v, KeyEvent ev)