summaryrefslogtreecommitdiffstats
path: root/src/net/hoopajoo/android/SoftKeys/Globals.java
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2011-01-10 21:30:31 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2011-01-10 21:30:31 (GMT)
commit92394b58029f924c5e15f488020ce31a8e793b81 (patch)
tree3be0a250a48289413a50aaad62005ac053c03e07 /src/net/hoopajoo/android/SoftKeys/Globals.java
parent206d5d99816abacafb6f858a719181aedfb788ec (diff)
downloadSoftKeys-92394b58029f924c5e15f488020ce31a8e793b81.zip
SoftKeys-92394b58029f924c5e15f488020ce31a8e793b81.tar.gz
SoftKeys-92394b58029f924c5e15f488020ce31a8e793b81.tar.bz2
Handle long-press search action
Diffstat (limited to 'src/net/hoopajoo/android/SoftKeys/Globals.java')
-rw-r--r--src/net/hoopajoo/android/SoftKeys/Globals.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/hoopajoo/android/SoftKeys/Globals.java b/src/net/hoopajoo/android/SoftKeys/Globals.java
index d715e30..703b32c 100644
--- a/src/net/hoopajoo/android/SoftKeys/Globals.java
+++ b/src/net/hoopajoo/android/SoftKeys/Globals.java
@@ -225,6 +225,12 @@ public class Globals extends Application {
startActivity( ni );
}
+ public void doLongSearchAction() {
+ Intent ni = new Intent( Intent.ACTION_SEARCH_LONG_PRESS );
+ ni.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+ startActivity( ni );
+ }
+
private String getDefaultLauncher() {
// Set default launcher to the first launcher we find so we don't freak out if it's not
// set and there is no com.android.launcher