Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,302 Members 51,558 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Set custom activation method for omniswitch

Tip us?
 
koyoupi
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Feb 2014
Default [Q] Set custom activation method for omniswitch

How do I set a different activation method besides using the default drag handle. Cant seem to set a hardware key to do to as there is no option for it, only to open the app itself, not the switcher.
 
jcrompton
Old
#2  
jcrompton's Avatar
Senior Member
Thanks Meter 96
Posts: 1,331
Join Date: Nov 2004
Location: Hurricane, WV
Quote:
Originally Posted by koyoupi View Post
How do I set a different activation method besides using the default drag handle. Cant seem to set a hardware key to do to as there is no option for it, only to open the app itself, not the switcher.
I would like to do the same ??
Galaxy Note 2

Thanks to all the Developers!
 
korkunov
Old
#3  
Member
Thanks Meter 9
Posts: 48
Join Date: Jan 2013
Default It a simple :)

Quote:
Originally Posted by jcrompton View Post
I would like to do the same ??
Install app (be sure, that app installed to /system/priv-app, it`s Important !!! Maybe reboot needed.)
Ok, OmniSwith drawer appears when you press key assigned as "Last App list" (sorry for my inaccurate translate)
Eg long press HOME button.
And next step, I turn OFF "DRAG HANDLE" in OmniSwith settings (to facilitate interface)

Enjoy ...
 
jcrompton
Old
#4  
jcrompton's Avatar
Senior Member
Thanks Meter 96
Posts: 1,331
Join Date: Nov 2004
Location: Hurricane, WV
Quote:
Originally Posted by korkunov View Post
Install app (be sure, that app installed to /system/priv-app, it`s Important !!! Maybe reboot needed.)
Ok, OmniSwith drawer appears when you press key assigned as "Last App list" (sorry for my inaccurate translate)
Eg long press HOME button.
And next step, I turn OFF "DRAG HANDLE" in OmniSwith settings (to facilitate interface)

Enjoy ...
Thank you for your response. Unfortunately, it still does not work. If I try to double click Home button I still get Recent Apps List. I also tried all the Nova Launcher options for shortcuts as well.

What I was hoping to do was use a Gesture Launcher , like Nova Launcher (or others like LMT) and be bale to use a gesture to open up Omniswitch drawer .....
Galaxy Note 2

Thanks to all the Developers!
 
flame360
Old
#5  
Junior Member
Thanks Meter 7
Posts: 29
Join Date: Dec 2010
Any luck on this ?
 
kikuto
Old
(Last edited by kikuto; 15th July 2014 at 04:12 AM.) Reason: The problem was only in my rom
#6  
Member
Thanks Meter 25
Posts: 58
Join Date: Jun 2012
Location: Maceió - Alagoas
Angry I made a alternative...

Quote:
Originally Posted by flame360 View Post
Any luck on this ?
Looking in this link: https://github.com/omnirom/android_f...2bf07ab2a02073 we can see how ominirom system call ominiswitch overlay. Thinking that I did a app that call the overlay and you can use in a custom gesture of your launcher.

If can help improve this alternite, help me on github: https://github.com/augustoicaro/Toggle-OmniSwitch

Note: Its only work if you really use omniswitch app(org.omnirom.omniswitch)
Attached Files
File Type: apk Toggle-OmniSwitch.apk - [Click for QR Code] (245.3 KB, 11 views)
The Following User Says Thank You to kikuto For This Useful Post: [ Click to Expand ]
 
uconnpat
Old
#7  
Senior Member
Thanks Meter 24
Posts: 219
Join Date: May 2008
Quote:
Originally Posted by jcrompton View Post
Thank you for your response. Unfortunately, it still does not work. If I try to double click Home button I still get Recent Apps List. I also tried all the Nova Launcher options for shortcuts as well.

What I was hoping to do was use a Gesture Launcher , like Nova Launcher (or others like LMT) and be bale to use a gesture to open up Omniswitch drawer .....
did you ever figure this out?? I don't understand the following developer posts

---------- Post added at 08:24 AM ---------- Previous post was at 08:23 AM ----------

Quote:
Originally Posted by kikuto View Post
Looking in this link: https://github.com/omnirom/android_f...2bf07ab2a02073 we can see how ominirom system call ominiswitch overlay. Thinking that I did a app that call the overlay and you can use in a custom gesture of your launcher.

If can help improve this alternite, help me on github: https://github.com/augustoicaro/Toggle-OmniSwitch

Note: Its only work if you really use omniswitch app(org.omnirom.omniswitch)
Is it possible to make this post more understandable to those of us who don't know how to code
 
kikuto
Old
#8  
Member
Thanks Meter 25
Posts: 58
Join Date: Jun 2012
Location: Maceió - Alagoas
Default ok

Quote:
Originally Posted by uconnpat View Post
did you ever figure this out?? I don't understand the following developer posts

---------- Post added at 08:24 AM ---------- Previous post was at 08:23 AM ----------



Is it possible to make this post more understandable to those of us who don't know how to code
Just download app in my last post and overlay recent app's button function, if you can do this in your rom(button will call the app).
If not, call app as launcher's gesture or other way that you kwon to call a app.

When you call the app, the omniswicth overlay will open(like swipe blue overlay on right border).

If you can't config this, please pm me.
Please, check if packge of ominiswitch that you use is org.omnirom.ominiswitch. If not, send me via pm the packge name and I compile other app for your packge.

Cheers.

---------- Post added at 09:40 AM ---------- Previous post was at 09:37 AM ----------

Quote:
Originally Posted by flame360 View Post
Any luck on this ?
Yes. Please try my app in this thread and post the result

---------- Post added at 09:42 AM ---------- Previous post was at 09:40 AM ----------

Quote:
Originally Posted by koyoupi View Post
How do I set a different activation method besides using the default drag handle. Cant seem to set a hardware key to do to as there is no option for it, only to open the app itself, not the switcher.
Try my app in this thread and post the result.
 
flame360
Old
#9  
Junior Member
Thanks Meter 7
Posts: 29
Join Date: Dec 2010
His app did the trick. I have set LMT to trigger the app on the recents command. Works flawless many thanks !!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Easily Combine Text and Manage Your Android Clipboard with StuffMerge

Android clipboard management has always been impractical without the … more

Pale Moon Browser Ported to Android

Having a wide choice of third party applications is one of the most beautiful things that Android has to … more

Partial Android Wear Source Uploaded to AOSP

2014 is certainly shaping up to be theyear of the wearables. And thanks to its innovative … more

Street Panorama Combines Google Maps and Street View into One App

Google Maps is a must have application forevery amateur world explorer. … more