Android :: Emulator Stuck On Equals Phantom Keypress
Jul 27, 2010
For some reason, and only on my Dell Vostro 1000 laptop, the Android emulator keeps thinking I have the = key pressed and continually emits a string of "=====" equal signs. This happens no matter what I'm doing in the emulator. It responds to my manual keypresses as well, interspersing them. It happens no matter which version of the Android system I run (2.1, 2.2, etc.) Strangely, it happens even running the Android emulator via a remote desktop session where the remote desktop client is the laptop and the server is another PC running the emulator. If I run the emulator on the other PC locally (not remote desktop,) the emulator functions fine!
This problem didn't occur when I first installed the SDK and as far as I know no other software has been installed since then. I tried clicking the "clear user data" from the emulator launcher and still no effect. I have also tried deleting the SDK directory and reinstalling it, but the effect is still there.
Update: I found another application that exhibits this behavior. ScummVM when opening a dialog to save the game also receives these phantom keypresses. It persists in Windows 7.
View 4 Replies
Oct 19, 2010
I'm trying to put 2 listviews into my layout. The problem is that I don't know the size of each listview in advance. The first listview could have a few items (0, 1, 2 up to roughly 10) and the second listview could have many items (up to 100).
I tried to set the weight of both listviews at 1 but it did not work:
=> If the first listview has only 1 item and the second one 99, you don't see the first item of listview #1 => it's shrinks so much (relative to listview #2) that you don't see it.
So I'm thinking now to split the screen in 2 equals parts (no matter what/no matter the size of each listview) and put the two listviews in each part. Of course it needs to work on any device ... so how do I capture the device screen size, divide it in two and force the listview size to fit in each half of the screen ?
Has anyone done that already ? Is there another option to show two listviews of different sizes on the same layout (should I use a scrollview in some way ? => when the user is reaching the end of the first listview, the second listview appears => is that possible ?)
View 2 Replies
View Related
Mar 19, 2010
I've followed this tutorial: http://anandhansubbiah.com/blog/writing-your-first-android-application/, but no matter what I do, and what I change, when I run the app, all I see is the image below. Is there something I must press to start developing? Did I add starting code. I'm completely stumped...
View 2 Replies
View Related
Jul 19, 2010
I am finding that file operations are extremely slow on emulator. The same operation which takes less than a few seconds in a real device, takes minutes on an emulator. I am using a ubuntu linux machine with 2.4Ghz CPU, 2 GB Ram. I would really appreciate any help in resolving this. I am totally stuck due to this.
View 2 Replies
View Related
Nov 13, 2010
I want to get the key value when user pressed any key and also perform action based on the key pressed in android. e.g. if user pressed 'A' key then I want to get that value, compare, do something.
Uses: Eclipse as IDE
View 1 Replies
View Related
Dec 2, 2009
My girlfriend recently got the HTC Tattoo (running Android 1.6) and she's having major issues with the alarm on the Clock application. Whenever she sets the alarm to wake up in the morning, it doesnt go off at the desired time. There's no sound or not waking of the screen. The alarm does finally sound when the screen is woken, and this can be 20 minutes or so after the alarm *should* have sounded! It works ok if the alarm is set to go off in 5 minutes time or so, but it seems like Android forgets to ring the alarm until the screen is woken and then does it.Can anyone provide any insight into this issue? I have seen that there are other threads where the alarm doesn't work but they dont cover this behavior.
View 11 Replies
View Related
Feb 14, 2010
How can I catch a phone keypress with the android SDK? I've been looking around for hours without finding anything.For example:
In some cases, I want to catch the message when a user presses the "hang up" button on the phone, and then discard the message before it reaches the OS.
View 1 Replies
View Related
Jul 29, 2010
I need to invoke a keypress event in android.
View 2 Replies
View Related
Apr 27, 2010
I developed an application to generate keypress. I find out that we can use Instrumentation object to generate. However, when I run the following code, I got these errors.
04-27 16:12:16.720: ERROR/AndroidRuntime(4406):
Caused by: java.lang.RuntimeException: This method can not be called from the main application thread 04-27 16:12:16.720:
ERROR/AndroidRuntime(4406): at android.app.Instrumentation.validateNotAppThread(Instrumentation.java: 1427)
04-27 16:12:16.720: ERROR/AndroidRuntime(4406): at android.app.Instrumentation.sendKeySync(Instrumentation.java:857)
04-27 16:12:16.720: ERROR/AndroidRuntime(4406): at android.app.Instrumentation.sendKeyDownUpSync(Instrumentation.java: 871)
@Override protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub super.onCreate(savedInstanceState);
setContentView(R.layout.main); }
@Override protected void onStart() { // TODO Auto-generated method stub super.onStart();
//press key Instrumentation inst = new Instrumentation();
inst.sendKeyDownUpSync(KeyEvent.KEYCODE_1); }
@Override protected void onStop() { // TODO Auto-generated method stub super.onStop(); }
View 2 Replies
View Related
Nov 18, 2010
When I press the only character button a to z to perform some action in android what is key ASCII code for a to z can anybody tell how to do in android?
View 2 Replies
View Related
Aug 5, 2010
I am struggling with the done button on the soft keyboard. I can't get the soft keyboard Done keypress to hide the keyboard. From another button, it works perfectly with imm.hideSoftInputFromWindow(editText.getApplicationWindowToken(), 0);
but the onKeyListener does not function the way I want. When I hit the editText, the soft keyboard shows up and its content is cleared from characters. The main.xml:
<EditText android:id="@+id/answer"
android:layout_gravity="center_horizontal" android:textSize="36px"
android:inputType="phone" android:minWidth="60dp" android:maxWidth="60dp" />
The Java file:
private EditText editText;...
editText = (EditText)findViewById(R.id.answer);
editText.setOnClickListener(onKeyboard);
editText.setOnKeyListener(onSoftKeyboardDonePress); ...
// method not working: private View.OnKeyListener onSoftKeyboardDonePress=new View.OnKeyListener() { public boolean onKey(View v, int keyCode, KeyEvent event) {
if (event.getKeyCode() == KeyEvent.FLAG_EDITOR_ACTION) {
// code to hide the soft keyboard
imm = (InputMethodManager) getSystemService( Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(editText.getApplicationWindowToken(), 0); }
return false; } };
private View.OnClickListener onKeyboard=new View.OnClickListener() {
public void onClick(View v) { editText.setText(""); } };
The working method using a button (in the same java file):
private View.OnClickListener onDone=new View.OnClickListener() {
public void onClick(View v) { ....
// code to hide the soft keyboard
imm = (InputMethodManager) getSystemService( Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(editText.getApplicationWindowToken(), 0); } };
When I press key no "9" the keyboard hides.
View 2 Replies
View Related
Jun 15, 2010
New Swype wont let you turn off vibrate on keypress? Just downloaded the newest version, (1.56.30.7625.t100) and the setting is listed, but you cannot press it, it is "Dimmed". I am an official Beta tester, and got my version from them, through E-mail. I didn't steal the .apk
View 2 Replies
View Related
Jul 7, 2010
By default, when in DialogPreference you press back button, it mimics that you've pressed NegativeButton. I'd like to override that but can't find an easy way except to recreate DialogPreference from scratch (which at the moment seems like an overkill), because I'd like that PositiveButton set something, NegativeButton to unset something, and back key to leave things as they were (i.e. to not unset something). I've even tried to override showDialog() but: a) its not simple, b) I don't think I should mess too much with internals of OS supplied code like a bunch of private "m" variables.
View 1 Replies
View Related
Apr 18, 2010
I have used a bit of Android code to override the "Done" button in my EditText field:
myEditField.setOnEditorActionListener(new TextView.OnEditorActionListener() {
@Override public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
if (actionId == EditorInfo.IME_ACTION_DONE) { mySubroutine();
return true; } return false; } } );
Activating the field calls up the keyboard, and pressing "Done" evaluates mySubroutine() successfully. However, the keyboard no longer goes away when I press "Done". How do I restore this default behavior to the routine?
View 3 Replies
View Related
Feb 26, 2013
I am wondering if using vibrate on keypress uses battery?
View 3 Replies
View Related
Nov 28, 2012
will enabling vibrate on key press (when you hit a letter or anything it vibrates) drain or use any battery?
View 8 Replies
View Related
Nov 30, 2010
Since I installed the latest upgrade 2.1 (successfully), I lost the keypress sound which was very useful. I tried the Settings/Sound and Display/Audible touch tones menu, and the Language & Keyboard/ Sound on keypress menu, in both cases I selected "on" but still I don't hear the keyboard sound which I find very useful since I am partially sighted.
View 6 Replies
View Related
Aug 23, 2010
In Android I am writing an application in which, I would like to capture an event if in case user doesn't do any activity (tapping/key press). For better context - It is like session timeout.
Basic solution - I can override the key press/tapping event and put one timer which continuously run either as thread or service. In my opinion this is bit heavier solution in terms of resource.
View 1 Replies
View Related
May 4, 2010
Was just wondering if anyone else put on a phantom skin for their DI...I am new at the whole "get your protector wet" application and am trying to figure out how long it takes for the moisture trapped in the screen to dissipate so it is clear. I really hope I didn't do it wrong, as it is mostly clear, but still pockets of a "cloudy" look.
View 25 Replies
View Related
Jun 8, 2010
Has anyone used their 'carbon fiber' decal? If so, does it look good? i think im gonna try it..but i want the real look of CF, which makes me want to order the sample of 3m and do it myself. Oh, the decisions.Phantom Skinz Chromatics for HTC Evo 4G- Colored Protection Film
View 10 Replies
View Related
Jul 29, 2010
Anyone had this happen? I just got pushed an app I didn't install or even know about. I picked up my phone and watched it download and install Photostich Free. Anyone used the App Sharing feature in Froyo?
View 7 Replies
View Related
May 28, 2010
My wife and I got our Incredible yesterday and applied the Phantom Skinz...However, there are fingerprints on the sticky side of the protector that are now very visible. We made sure our hands were clean, and kept our fingers wet while applying...Anyone offer any advice or tricks to get this perfect?
View 9 Replies
View Related
Dec 18, 2009
So I chose to get a Phantom Skinz after reading the reviews. My older Droid was having major reboot issues, so I just exchanged it 3 days ago. Once I determined this new Droid had no glaring issues, it was off to install my phantom...Took 1.5 hours. Wasn't thrilled at the way the corners worked, but it was doable. HOWEVER, when I went to take the dog out and bent over to pick up a ball to throw for him, the once-sticky droid (now slick with the full body skinz), slipped right out of my hoodie pocket. OF COURSE the only place that was scratched was the 1mm of bezel that is not covered by the strangely-engineered top/corner cover. Kinda ticked that I wasted, 1.5 hours, only to make my phone slick enough to fall and have it scratched where the "full body" cover didn't cover.
View 11 Replies
View Related
Apr 6, 2010
This is the first phone that I've owned that has LED notifications, and I've become very reliant on them. Has anyone ever felt their phone vibrate in their pocket only to power on the screen to find out it didnt really go off (phantom vibration). Well for me, its now the LEDs. For most of the day, the droid sits on my desk and i'll look at it every now and again to see if the light is blinking to see if i have an unread message. Every now and again i'll see it blink when there are no new notifications, and its making me feel crazy. anyone else get this at all?
View 7 Replies
View Related
Jun 22, 2010
Since there appears to be no refund option once you attempt to install the Phantom Skinz, I'm going to install the second set just for the fun of it, I guess. I've used this brand in the past for all my Blackberries, and they were always great. But this time the fit was not perfect. And I'm a little ocd about that kind of thing.I wish they refunded, since they were the most expensive option. I'm going to try out the next group, I guess.One suggestion to those who go with Phantom Skinz. I would leave the back off. It doesn't look great, and soon you will be able to replace the back of the phone for about the same price as a new skin.
View 19 Replies
View Related
Apr 29, 2010
Mine just started registering phantom screen touches a little while ago.It seems to think there is either and up-swipe or some kind of touch near the top of the screen randomly. For example, an email or list will constantly be scrolling up or if I leave it on a screen with Power Panel on it, one of the icons will randomly highlight orange. The page with the google search widget will have the search field highlight orange on it's own too. When entering text, the cursor will randomly jump back to the beginning.
View 6 Replies
View Related
Jul 2, 2010
I've read another related thread with a similar issue but it died down and I'm surprised this hasn't turned into a bigger deal. My Incredible has been chronically swiping to the left I'd say 95% of the time I use it. It is almost definitely the track pad. Nothing is actually being tapped, just swiped. This sucks when it moves on its own to the far left screen, but it is insanely annoying when typing a text message/email and the cursor just races to the left of the message. Ah! I have tried pulling the battery, swabbing the track pad with alcohol, fully draining and charging the battery, but to no luck. The only way to make it stop is to press the track pad, and even then, sometimes it doesn't stop or just starts 10 seconds later. I really DO NOT want to return my current Incredible for a new one because then I'll be stuck with the newer (and cheaper/crappier) screens that are being shipped now. I love the contrast and vibrancy of the screen and don't want to be downgraded! Has anyone found a fix for this? I hope, but doubt the upcoming OTA will help. I know this isn't an isolated issue as a couple of my friends with the INC are experiencing the same issue.
View 7 Replies
View Related
May 24, 2010
I plan on adding a lil personalization to my Evo. Personally I want some rhinestones. I contacted Phantom Skinz customer support and this seems to have no effect on the actual phone. May not be interesting to some but to some of the ladies who wanna add a little glam to a seemingly masculine phone this seems to be a viable option. Update: I have finished my case. I chose to add bling to a clear case instead of on the Phantom Skin. Here's a pic
View 20 Replies
View Related
Jun 7, 2010
I just applied the phantom skinz to my phone and stupidly I applied it to my phone and it was all good but left a smudge so while battery and phone on, I reapplied the screen protector without realizing the phone was still on... now it seems like there was too much water and the screen is distorted. Anyone know if I really messed up my phone or is it possible that its just water that needs to evaporate or do I need to go to radio shack and get a replace (if possible)?
View 42 Replies
View Related
Oct 20, 2010
I was installing some apps from the market last night and all was going well until one application got stuck. The Market shows it as installing but nothing is happening. The Market still seems to function to load other apps but I have tried pulling the battery, cleaning the cache etc and no matter what I do when I go back to the downloads page the install on this app is still in progress. The Captivate is not rooted and I am not really keen on a hard reset as I have lots of apps and data. Any ideas from you pros out there?
View 1 Replies
View Related