General :: Remap Hardware Button To Custom App / Widget Action?
Nov 17, 2013
My new LG G2. It has this shortcut if you long press volume up/down it starts quick memo/camera. But quick memo is useless for me I'd rather love to start a widget (a tasker task). I tryed several app's and xposed framework modules but I can't get a Widget working with the remapping.
How to remap the volume up hardware button to a tasker task widget?
View 2 Replies
Jun 17, 2012
For those making roms for the HTC One series, could you re-re-map the hardware buttons so that the recent apps button pulls up the recent apps (normal ics behavior), and then a long press on the recent apps button maps to the menu button?
My reasoning, is eventually, the "menu" button is something that will get obsoleted, so mapping it as a secondary action (i.e. long press) is a better approach than the current mapping on some of the Roms out there (like cm9). Personally, I'm not a fan of long-presses, so I prefer it for functions I hardly use (like menu).
As for the Gs3, I recommend mapping the 'menu' button to the 'recent apps', and a long press to the menu function (instead of long pressing the home button for recent apps). Again, my reasoning is, when the menu button, eventually gets obsoleted, it becomes pointless having the physical menu button do nothing.
View 2 Replies
View Related
Apr 16, 2014
I am on MIUI ROM and I love Xposed ! [emoji5]. But a lot are not totally compatible with MIUI, like mod for remap button...or insert emoticon (emoji) in stock message app. How to manage it ?
View 3 Replies
View Related
Dec 18, 2012
I have a galaxy note 2 and I enabled the on screen buttons, disabled the capacitive buttons and would love to remap the hardware home button to open !utter while my on screen buttons work normally fine. Is there anyway I can do this? I have tried button remapper but there's no option for apps only core functions such as home, back, menu, etc.
SGH-T889
View 2 Replies
View Related
May 7, 2014
I just managed to remap my broken power button to my volume up button, so I am able to lock/unlock the screen. The problem is that it's still not possible to turn on the phone with the volumen button (shutdown/run out of battery). I changed the gpio-keys.kl and Generic.kl file for remapping.
View 2 Replies
View Related
May 20, 2013
Is it possible to remap the Hardware back button to toggle screen rotation? (I'm on 4.1.1 with root).
View 1 Replies
View Related
Nov 18, 2009
I downloaded and installed the Lock 2.0 free trial program. Upon install, when I clicked on the "Home" button on my Samsung Moment, a pop appeared with 3 choices:
Complete Action Using:
1) Home (go to home)
2) Lock icon (meaning to lock the phone) - also with a warning - do not use this as default - you had (sic) been warned.
3) a checkbox to use either choice 1 or 2 as the default always.
This made me curious. First of all if I accidentally remapped the Home button the Lock app, how would I be able to remap it to the default "Home" action? Looked in settings and do not see how I can remap Home button. I don't like how a 3rd part app can intercept the Home button and yet I can't figure out how to undo the damage if I accidentally remapped the Home button to the 3rd party app. Anyone here know if this is possible to restore the Home button if you mess up and a 3rd party app maps it by default?
View 4 Replies
View Related
Apr 25, 2009
I am trying to add a button to a custom imageview. I have created a custom view to display an image to the screen, now i wanted to add a custom button on this veiw and display a layout in onClick. The following is my custom view.
View 3 Replies
View Related
Jun 17, 2009
I would like to create a button with circular or rectangular background, text and an image below or above the text.I would like to create a CustomButton object with methods setText() and setImage() which would change the button text and image and place multiple CustomButtons into main layout.Does anyone know how to create a custom layout, place it into another layout(main) and modify its elements from the activity which is bound to main layout?
View 2 Replies
View Related
Aug 31, 2010
Does anyone have any insight on how or even if this could be done. I don't see why it couldn't be done but from what I see it seems pretty locked up and I have nooo idea how to get into it.
View 13 Replies
View Related
Feb 6, 2010
But I find myself endlessly annoyed by the placement of the Voice Control button on the side of the phone. This button's placement is absolutely perfect for accidentally pushing it with your thumb or fingers when you're on a call, or when holding the phone in either portrait or landscape mode. I dont use voice control. Even if I did, I'd want it to turn on when I decided to use it. I've searched the Phone Settings; I've searched these forums; I've searched the Android Marketplace. Short of cracking the case and physically removing the button
View 6 Replies
View Related
Nov 22, 2012
This is a question about the new Swype beta. Everything about the newest versions of Swype Beta are amazing. Being able to change themes, and some function changes, etc... EXCEPT for the back/delete button action. This is the only thing that sucks. Where as you used to be able to HOLD the delete button and delete whole words, you can only delete one letter at a time unless you highlight the word using the swype key which can become aggravating.
My question. How hard would it be to go in and change the action of the delete button? Would it be a simple smali edit or even a simple xml edit.
View 1 Replies
View Related
Aug 5, 2010
I read it somewhere, but now I can't find it.How do I change the action on the people widget.I accidently picked text, but I want the default to call my buddies cell phone.
View 4 Replies
View Related
Sep 27, 2009
Can anyone give me a brief idea on developing a simple crossword puzzle game with android? I need some guideline in things like:
1. Drawing out the boxes
2. How do I draw a boxes with number label on their top right/left corner
3. How to catch a button click action whenever the user click any box on the screen, then I will pop up an input box and ask for input.
View 8 Replies
View Related
Mar 18, 2009
how can I detect Fling action in my own widget? I have implemented my widget as OnGestureListener.
And like in Gallery, I have a "GestureDetector mGestureDetector = new GestureDetector(this);"
For my onTouchEvent(), I have @Override public boolean onTouchEvent(MotionEvent event) {
// Give everything to the gesture detector boolean retValue = mGestureDetector.onTouchEvent(event); return retValue;
But my public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) is never get claeed.
View 3 Replies
View Related
Oct 13, 2010
I have a toolbar view set for most of my activities.
The toolbar has several buttons which all trigger certain intents. Now, the problem is: how can I close current activity before starting another one ?
Problem 1) Activity cones For instance one of the buttons ('A') starts activity A. Activity A also has toolbar. If you press on the 'A' button, a new A activity will be started. I suppose I can look at Activity.getInstanceCount(), right ?
Problem 2) Unnecessary activities The activity X is not needed any more if the opts for A. I just want A then. How can I remove X from toolbar which only has access to context ?
I, of course could find toolbar view inside activity X and override the onClicks, but in general this would mean doing so for all my activities !? Am I on the right track ?
View 2 Replies
View Related
Sep 1, 2010
When I press on the home button lightly a "complete action using" option comes up and tells me to choose either A.HOME or B. TwLauncher. What does this mean? And why is it showing up? I haven't noticed this until today--I now have to choose one when I press on the home button.
View 7 Replies
View Related
Sep 6, 2010
I looked around and although there are many related questions I didn't see one that answers my exact question:
I would like to create an app that runs in the background that provides the exact same functionality as the hard coded 'Back' button in all cases.
The reason? I (for example) have a Droid X, and it is BIG. it makes it extremely hard to use one-handed and having a swipe gesture function as a back button (like in Palm Pre for example) would greatly increase the ease of use.
as far as I'm concerned the app could just be one simple class that contains:
1) a listener for the 'back' swipe
2) a call to the physical hard button itself
Is this possible? are there built in APIs for the hard coded buttons that would allow me to call them without actually pressing them?
Again - I'm not interested in overriding the button, I'm interested in making a software call to it - or failing that, in emulating it's behavior in any and all states and other apps!
Please forgive the naivete of this post. I am a very novice programmer and really I just want to know whether this is possible before I start to devote myself to trying to build it.
View 1 Replies
View Related
Mar 12, 2009
how implement android's Gallery fling action (with the animation) in my own widget?
View 4 Replies
View Related
Apr 28, 2010
How can I rearrange favorites and edit the default action for each favorite?
When you got to People and then to Favorites and long press a contact, the only options are:
- Call Mobile
- Edit Contact
- Delete Contact
- Send contact as vCard
I don't see the "default action" inside the edit contact menu. Those were the steps providing in the ERIS forum and it seemed to work for ERIS users, however, I don't see any such option in the Incredible.
View 12 Replies
View Related
Jun 5, 2010
I just got the HTC EVO and I have the favorites widget. Well, it asked me to assign a default action to each person such as call, bring up contact info, or email. I accidentally assigned "email" to one of my favorites, and now whenever I press her, it wants to send her an email. How do I change what I set as her default action?
View 12 Replies
View Related
Sep 1, 2009
I'm trying to teach myself how to write android apps and I'm having trouble registering a button click and taking actions based on which radio button is selected at the time. This is a simple tip calculator:
import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.TextView;
import android.widget.RadioGroup;
import android.view.View;
public class TipCalc extends Activity implements RadioGroup.OnCheckedChangeListener,View.OnClickListener
{........................
View 3 Replies
View Related
May 11, 2010
I'm starting with Scala + Android (and using the sbt android plugin). I'm trying to wire a button action to a button without the activity implementing View.OnClickListener.
The button click fails at runtime because the method cannot be found. The document I'm working through says that I need only declare a public void method taking a View on the action, and use that method name in the layout.
What have I done wrong? MainActivity.scala package net.badgerhunt.hwa
import android.app.Activity
import android.os.Bundle
import android.widget.Button
import android.view.View
import java.util.Date. Code...
View 1 Replies
View Related
Mar 15, 2010
Apparently rooting and using custom ROMs hasn't solved this issue. Before I rooted my phone I was having the issue that, despite checking the "Use by default for this action" box, my phone just plain refused to save what homescreen app to go to when I tap the "Home" button.I've tried clearing the cache. I've done factory resets and data wipes (although I did restore "all apps with data" with Titanium Backup). I've tried using the Home Switcher app. Nothing works.Right now my phone is running the current version of BB, ChevyNo1's 1.0Ghz 5 slot update.zip for OC, and am using AdamZ's Smoked glass theme. I want to use the "HelixLauncher" app as my default homescreen, but it's rather obnoxious having to constantly select it when I hit the home button (it'll save my default action for a few clicks, and then I'll have to set it again).
View 11 Replies
View Related
Jan 10, 2012
Is there any application or way to customize the actions performed when the headset button is pressed?
I use Tasker for various automated things, but looks like there's nothing there (did I miss something?).
Specifically, this is the button on a bluetooth headset that would normally start the voice dialer -- I'd like it to do something different, perhaps. I know that the button's "command" can be intercepted by some applications, because I know that Vlingo, when installed, becomes an option of an application that would "handle" the bluetooth button press (i.e. when I press it, it pops up a window for "which application do you want to use for this").
Unfortunately, Vlingo just uses this to launch its own voice dialer... If it matters, I'm using the Galaxy Nexus on ICS.
View 4 Replies
View Related
Feb 11, 2014
I would like to play games using my physical keyboard to simulate various screen touches. I found various apps which do it for a Gamepad but bit really for a physical keyboard.
View 3 Replies
View Related
May 9, 2014
Everything was working fine on my Samsung galaxy s alpa sc-03e this is the link to the thread URL.... I have successfully rooted and installed recovery and enjoying the few custom roms, then suddenly I installed S3 i9305 rom didn't got the success, then install philz recovery URL.... and installed slim rom from Note 2 section URL.... 6 and then after appearing docomo logo black screen, then I put it on Download mode and installed stock rom but now touch not working. How can i access to this ? Its never happened in my life after installing so many roms in so many devices. And also Black Button key is not working, How I can remap all this ?
Also tired *#2663# but nothing is happening instead after connecting through otg cable with mouse then its come to the home screen? I have tried *#0*# each and everything is working but except the touch and also my keys switch to another.
View 6 Replies
View Related
Jun 4, 2013
i own motorola that have install miui rom. If task manager change with search key button ?how to do it?
i been searching for remaping, only i found is for app_switch
Quote:
*** quote ****
edit your keylayout files..
/system/usr/keylayout/
cypress-touchkey.kl
Code:
key 139 MENU VIRTUAL
key 102 HOME VIRTUAL
key 158 BACK VIRTUAL
key 217 APP_SWITCH VIRTUAL
[code]....
i just want remap search key to task manager...
View 4 Replies
View Related
Apr 2, 2014
Looking to remap my home key, and my menu and back soft keys on my s3. I've looked at editing scripts, and even Xposed modules for this and here is what I found.
I can remap my keys manually, but I cannot map them to open an application.
With Gravity Box Module, I can map the applications to launch on a double press or a long press.
Here is what I want to do with a single tap.
[MENU SOFT KEY] [HOME KEY] [BACK SOFT KEY]
Open Phone Open search Open Camera
Is there an xposed module for this?
View 3 Replies
View Related
Jun 12, 2012
I reecntly bought a Rapoo BT keyb (E6300), it is optimized for the Apple products therefore some keys do not behave as i wish with my Nexus S.
I'd like to find out how (as per title) remap the keys or at least find out Vendor and Product ID...
so, using this command from the terminal: cat /proc/bus/input/devices
I discovered that my KB has Vendor=099a Product=0500.
Now I'm gonna build a custom Keyboard layout, should i create a keyCharacterMap as well?
well, after some more digging, i think i won't need to make a KCM. Still i can't find a way to let my Keyb to use my keyboardlayout. According to catalog it still uses the generic.kl even if in the right directory a file with the keyboard name exists...
View 2 Replies
View Related