Android :: Which Event Fires When On Screen Keyboard Appears?
Nov 24, 2010
I'd like to hook to an event that fires when android's on screen keyboard appears. For example when user taps EditText to bring up the keyboard. Anyone know which event (or listener) to use?
View 2 Replies
Aug 11, 2009
I have the following layout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:id="@+id/title" android:text="@string/.......................
When I click on the EditText "@+id/updateStatus" of the ScrollView, the keyboard appears on the screen of the device and the ScrollView is hidden. I'd prefer to hide the ListView "@+id/myListView" at the end. Is it possible? Why that view is hidden?
View 2 Replies
View Related
Jun 24, 2010
if application has EditText widget and user clicks on it, a qwertysoft keyboard appears. how do you get a numeric, 12key, or phone soft keyboard to appear instead. (I have searched documentation but I cannot find solution.)
View 2 Replies
View Related
Jul 8, 2010
How to do occur hardware keyboard event using software keyboard?
View 2 Replies
View Related
Apr 28, 2010
I make ListView that has some items that has one EditText and one ImageButton. When touch the EditText in ListView's Item, Keyboard was appeared but EditText lose focus. What can I do for resolve this problem? I can use ScrollView instead of ListView by addView in ScrollView. And in ScrollView, when I touch the EditText, keyboard was appeared and EditText keep the focus. But I must optimize the list because the list may has many items. In ListView, I can optimize list in getView. But in ScrollVIew, there was not way to optimaize list. So, I must use ListView.
View 2 Replies
View Related
Aug 13, 2010
I have an activity which loads a TableLayout. This is made up of TextView and EditView fields. When I run my app within the emulator the layout appears correctly (WITHOUT the soft keyboard appearing). When I run the app from a device (HTC Evo) and enter the activity the soft keyboard ALWAYS appears. I tried doing an OnFocusChange() for the first field in the layout and then doing:
InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(tvIndications.getWindowToken(), 0);
It doesn't work. The soft keyboard always appears.
View 4 Replies
View Related
Apr 29, 2014
i have tried to install kitkat version for galaxy y duos s6102,for that i installed clockwork mod n cynogenmod n kitkat file..but after installing the screen goes blank,nothing appears except Samsung logo screen,
View 2 Replies
View Related
Sep 27, 2010
How can I get an event when the user opens or closes the virtual keyboard..?
View 2 Replies
View Related
Jul 1, 2009
I created a full-screen application and set the default orientation to landscape. When I open the keyboard the application crashes therefore I would like to override the method which executes on keyboard slide. Does anyone know which method is that?
View 1 Replies
View Related
Jul 28, 2009
How to catch event from the virtual keyboard?In fact, I want to know if the screen is touch for instance.
View 4 Replies
View Related
Feb 15, 2010
public class Profile extends Activity{
WebView prof_webv;
private String selected_username;
private static final String INDEX = "http://14.143.227.140";
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.main);
prof_webv = (WebView) findViewById(R.id.mainwebview);
prof_webv.getSettings().setJavaScriptEnabled(true);
prof_webv.getSettings().setSupportZoom(false);
prof_webv.loadUrl(INDEX);}
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if ((keyCode == KeyEvent.KEYCODE_BACK) ) {
finish();
return true;
}
return super.onKeyDown(keyCode, event);
}
}
This is my new Activity for a WebView. When the user clicks back, I simply want to close this Activity and return to my previous one. Notice, I put "onKeyDown" -> Finish. However, it's not working. Instead, I click "back", a blank white screen comes up.. (it doesn't even hit that onKeyDown Statement when I try to debug it)! When I hit "back" the second time, then it will go back to my previous Activity.
View 1 Replies
View Related
Jul 21, 2010
I'm working on a simple game: when you press a button on the screen, a character will run to certain direction. It's easy to support keyboard input. But, some phone doesn't go with a keyboard or even no a track ball. So I decided to draw a virtual "run" key on the screen (with opengl). When the user press the virtual key, I apply a velocity to the character. And when the user release the key, I disable the velocity to stop the character but there seems to be some touch event noisy. If my finger cannot press still, I will see millions of touch down and touch up events, instead of a single long pressing.
And occasionally, my program captured the touch down event when I touch the screen, but didn't capture touch up event. So my character will keep moving, even no finger is on the screen. I'm wondering if there is some way to reduce the touch event noisy and tell if the user is currently pressing on the screen, instead of only getting an event when touch up and down happen. It seems the system UI can detect long pressing, for example when you put a finger on one item of the list view widget, the entire item turns to orange. I just don't know how to detect pressing in my opengl game.
View 5 Replies
View Related
May 20, 2009
I want to do something when the soft keyboard hide. Is there any function to detect that event?
View 3 Replies
View Related
Jan 27, 2010
When the user presses editText, the soft keyboard pops up. I want to hide a view or 2 while it is on. How to do that?
View 1 Replies
View Related
Jul 15, 2010
I am designing an Android app and I'm having a couple of layout issues. I have a screen with 3 EditTexts on it in a row, and I would like for the 'next' key on the soft keyboard to cycle between the EditText fields. As for now, the 'next' key has no effect. Also, when the soft keyboard is displayed, it covers up the third of the EditTexts. Is there any way to push up the layout in the event that the soft keyboard is drawn?
View 1 Replies
View Related
Aug 2, 2010
Does anyone know how to set the Lock 2.0 as the default screen locker? If I reboot my CDMA Hero, then the standard Lock screen will appear. If I manually run Lock 2.0 first, then it will use that until I next reboot. Also, is there a way to modify the information that appears on the lock screen? I'd love to be able to see missed calls / reminders there.
View 1 Replies
View Related
Sep 25, 2010
Is it possible to catch the event that Soft Keyboard was shown or hidden for EditText?
View 2 Replies
View Related
Jul 24, 2010
when i press the home key/close an app the password lock screen appears and it's annoying. Also the volume level doesn't affect my text message notification. long story:A week ago sprint told me to factory reset my phone to get rid of the error 67 problem, ever since then i've had this problem. So they told me to factory reset it again and the problem continued. then they sent a replacement and now i'm still getting the problem before i installed any apps. the SD card is the same though. So i'm confused and don't want to delete everything from the sd card.
View 1 Replies
View Related
Dec 6, 2013
I own a Karbonn A9+/Cherry Mobile Flare (JB 4.1.2), with CMX JB as my current ROM.
Now, I had got a problem with my device once when I restarted it. My phone just showed me the splashimage for about 2-3 mins and showed a blue screen, which just stuck to it. I removed its battery & restarted it, but it just booted up the same blue screen again.
I solved it by restoring my system.img by my previous nandroid backup. But still, I'm curious to know why and how the blue screen appears.
Screenshot:
View 3 Replies
View Related
Sep 7, 2010
I don't understand why while using the lock feature on my Incredible when i recieve a text it shows up on the screen before i unlock the phone. isn't the point of locking it to keep prying eyes from seeing your stuff? Is there a way to prevent the contents of the text from showing up before unlocking while still being notified that you have recieved a message?
View 13 Replies
View Related
Oct 23, 2009
How to activate a HTC Magic (Sapphire).
I have the unlock code and a Vodafone SIM card with internet activated. I put the sim card in phone, tun it on but it doesn't ask me for unlock code ! (maybe it's allready unlocked because on the screen appears Vodafone).
When I want to activate the APN settings should appears in the lower part of the screen but it is not. I tried other method of activation - from G1: to press menu buttton after second google user and pass input entered - for apn field appears. No succes this time too.
Any idee how to activate ?
View 15 Replies
View Related
Jul 22, 2012
Whenever i start my samsung galaxy y s5360 screen appears completely white like a flashlight, but the phone is working i can recieve callls on my phone but cannot see anything on my device. even in dwnld mode & recovery mode the same problem persits, i cannot see anything .
I have installed custom creed v2.0 rom on my android device. Recently i have replaced motherboard of my device. Under Warranty.
I Want To Flash stock rom on my device but i cannot see anything on my device so i am unable to flash my device.
Another problem is that when i enter download mode odin detects my device but when i try to flash the rom it says unable to open com port.
At Present my device is working properly but when i restart my device the problem returns !!!!!!
View 1 Replies
View Related
Apr 2, 2012
I got HTC flyer 3G from my friend as gift....that one was rooted and s-off .when i tried to flash custom rom it showed option like recovery,wipe/factory reset,.
After 2 days,I have installed AVAST Anti theft app and forgot the password for it...so i gave it to reinstall the OS...and it was back to normal...So I thought to put custom rom..and started to boot the device with SD card inside....BUT the recovery didnt show any options as it was shown earlier,the black screen appears with triangle mark with '!' symbol....
The screen shows the following message
FLYER PVT SHIP S-OFF L
HBOOT- 6.10.1002
MICROP-0850
RADIO-3809.04.04.2LM
eMMC-boot
may 4 2011
View 1 Replies
View Related
Jun 8, 2012
My Motorola maxx has a broken screen, there is no image at all. The device appears to power cycle, and when connected to win 7 there are 2 drives to explore, both appear as unformatted.
How to recover my files ? When I connect my new maxx the folders are also unreadable.
View 1 Replies
View Related
Nov 1, 2010
I am new in Android and i am working to make an on-screen keyboard which can be visitable via arrow(direction) keys of my external keyboard. I mean i wanna move left, right, up and down in the on-screen keyboard's UI (keys) with pressing arrow keys from my external(hardware) keyboard. The key that cursor is on should be focused, when i press an arrow key from my external keyboard the focused key should change and when i press "enter" from my external keyboard it should be operated.(written to the screen etc.) How can i make this? Is there any idea? How can i make virtual keyboard's keys visitable? It doesn't look like moving around a matrix of buttons.
View 2 Replies
View Related
Aug 10, 2010
Is there a way to detect when a user unlocks the phone? I know about ACTION_SCREEN_ON and ACTION_SCREEN_OFF, but these seem to be fired when the screen switches on/off on pressing the power button, but not actually when the phone gets unlocked on pressing the Menu button...
View 2 Replies
View Related
Jan 19, 2010
As known, when using the setContentView() method, a view can be displayed on screen.
My question is whether there is a way to receive an event when the view is actually displayed on screen (since it takes some time for the view actually being displayed after the setContentView() method has been called).
View 2 Replies
View Related
Apr 16, 2010
Anyone have download and played the "Air Attach"? In this game,
1.The man can go right when you touch and move finger to the right and can go left when touch and move finger to the left,
2.Touch and release, it is launching a missile
I'm also want to develop a game and have this function, Would you tell me how to implement it?
View 7 Replies
View Related
Dec 11, 2009
Dont get me wrong, the QWERTY keyboard is sick, and I love it. But after typing on the keyboard for while, I wanted to switch it up, so I tried the on screen key pad. And to my surprise, the on screen keyboard appears to be much quicker than using the QWERTY!
View 15 Replies
View Related
Apr 12, 2009
I use onLongClick and onClick events of a button to get user inputs. Whenever; the user long click and triggers onLongClick event, the onClick event is also triggered. I couldn't find my problem. The code of two methods are shown in below: Code...
View 2 Replies
View Related