Click button under Google-Chrome on Nexus 7 - android

Mouse-clicking the inside of a HTML button under Google-Chrome (with Nexus-7 emulation mode turned on) on Windows 7 calls the expected event handler. On a physical Nexus-7 tablet (model 2012, Android 4.4.4), it is necessary to touch just below (but outside) the very same button to call the same event handler.
Firefox behaves correctly on the Windows PC as well as on the Nexus-7 tablet.
It took me quite some probing before I discovered the soft spot underneath the button. It is rather annoying that touching inside the button doesn't give any result. Is there a workaround, or would an update to Android 5.0.2 fix it?

Yes. The Lollipop update shows every web content way different then every android version before. It uses a feature called "Android System WebView".
BUT: An upgrade to 5.x can destroy your device. I dont know if this still the case, but you should double check that.

Related

Android Emulator's Overlay Occupies Area on Desktop in Linux

I've been doing development with Flutter. I was using a real hardware but wanted to use an emulator. I set it up but there's this issue.
I usually put my apps in virtual desktops and I switch between them with Ctrl+Meta+[arrow keys]. Each of them have a special purpose, usually desktop 1 is for browsing, desktop 2 is for development and desktop 4 is extra (for testing UI apps and emulator in this case).
However, after I launch Android emulator and switch to a different desktop, it results in the issue seen below:
The red area you see stays unresponsive for other apps such as browser, VSCode etc. (i.e. does not respond to clicks). That area is where the emulator is on Desktop 4. And it also keeps showing multitouch tool.
It's a bit annoying so I wanted to ask if anyone got this issue and if they have any solutions.
Thanks in advance.
Environment
Kubuntu 20.04
AMD Radeon R7 240/340
Solution 1
I have, somehow in a weird way, found a workaround for this issue.
After having this issue, go to the emulator window and press the magnifying glass with a plus button icon twice.
After that, it will drop that weird multitouch state and it won't bother you even as you switch desktop.
Rebooting computer will result in the same bug, however, you have to do it again.
Solution 2
Another method that works is to simply resize the window. If you have a device frame on your emulator, you can simply hold down the Meta key and hold right click and resize your window.
Solution 3
You can also maximize the window. If you have device frame around emulator window, you can press ALT+F3, which opens up window options menu, then click "Maximize". This will get rid of it.

Cannot change language through the Android emulator physical keyboard

I have setup an Android API 30 emulator (from Android Studio), where I have installed two physical keyboard layouts. According to the system, I should be able to switch languages via Control+space. But that does not work.
I've tried:
Changing the "send keyboard shortcuts" to "virtual device" - effectively disables multi-touch but that's it.
Installed tons of different apps (including Hackers Keyboard) but saw no difference at all - seems they only work for the soft keyboard
I tried changing the kcm keyboard file from open source projects (and it worked well for changing e.g. "a" to "9") but I could not make for instance Shift+space to execute a language switch fallback
I even tried to write apps but I am not sure where to start (and from my experience with the other apps I tried, I am not sure if this will work at all)
Any ideas what else I can do?
I ended up using Android x86. The control+space works there just fine.

How to enable the DayDream feature in the Galaxy Nexus10 Emulator?

I made android emulator for Nexus 10 using latest ADT(21) and SDK tools.
I know that in Android JellyBean 4.2 there's a new feature called DayDream. I want to access it in my Nexus10 Emulator I have. but don't know how.
i am not getting option Daydream inside Settings -> Display.
How can i enable and use it Inside Emulator?
Here's what i need to do:
1st Step: Launch the Settings app, scroll to the bottom, and tap About Phone.
2nd Step: In the middle of the screen is the listing for Android Version. Tap this item until you see a jelly bean appear on your screen. You can then tap and hold the giant jelly bean until your device vibrates. You should then see interactive beans floating all over your screen. And yes, you can fling them. Go ahead, try it.
3rd Step : After doing, this the BeanFlinger Daydream will be unlocked. You can find the Daydream option by going to Settings > Display > Daydream.
Hope it Will Help to all of the Users Facing this Same kind of Problem.
I too had the same problem, what I did was, previously, I had an emulator with 4.2.1 version. I changed it to 4.3, now its working for me.

Android Emulator does not work with Mono for Android

I am trying to write an application with Mono for Android. In an attempt to do this, I'm using the default template in monodevelop. I can successfully compile and run the application. When I run the application, it looks similar to the one shown here: http://docs.xamarin.com/android/getting_started/hello_world
There are two oddities in my version though:
The button is red
I can't seem to actually click the button. When I use my computers mouse, it acts like it won't click the button. This is not limited to the application either. If I try to click the home or search button in the emulator itself, I noticed that nothing happens either. Its like the emulator is not responding to my mouse.
As someone new to working with Android, can someone please tell me what I'm doing wrong? I'm using MAC OS X with Lion installed. I'm assuming that I have the SDK and Java SDK installed properly considering the app compiles and when I press "play" I can load the app in the emulator. I just can't figure out why I can't actually click the button. So bizarre.
Any ideas?
The title of this question is pretty misleading, since you're saying that the emulator is not very responsive even outside the Mono for Android application. The problem here is with the emulator itself. The one thing I would recommend trying with respect to Mono for Android is to try starting the application without debugging, as debugging will add extra overhead to running the app.
The Android emulator is notoriously slow, since it is fully emulating the ARM instruction set in software. That said, there are certain things you can do in order to squeeze some more speed out of it. One thing that I've seen make a big difference is to decrease the screen size of the emulator image. Setting this to a small screen size (such as QVGA) can make a big difference. You can manage these settings through Android's AVD Manager.

Android 4.0 - Is it required to implement the soft keyboard when needed?

I'm very new to Java and the Android SDK but I'm almost done with porting one of my iOS apps over to Android. I'm targeting Android 2.2 (minSdkVersion=8) and higher and recently bought a cheapo LG Optimus S with 2.2.1 for $75 to test with. On the AVDs I've set up (2.2 & 2.3.3) and my test device (2.2.1), everything is working as expected: user data input, graphing user results, sharing on facebook and twitter, and uploading data to a mysql database via php. My problem arises when I test my app on AVDs 3.1, 3.2, and 4.0. Simply put, the Soft Keyboard does not pop up at all when I select an EditText box with any of these versions through the AVD. This behavior didn't occur in 2.2, 2.2.1, or 2.3.3.
I've created and deleted at least a dozen AVDs and have set Keyboard support = no, Keyboard lid support = no, and any other related input type to no and the Soft Keyboard still doesn't pop up when I click on an EditText box. After tinkering with 3.2 through the AVD, I was able to set up the Soft Keyboard and use it with my app, so that's no longer a concern. However, I still can't get it to pop up with 4.0. Should I even worry about this? After all, it's just an AVD and not the real thing. Will an actual Android 4.0 device without any type of physical keyboard know when to pop up a Soft Keyboard or do I need to add some keyboard show/hide methods for it (and maybe 3.1/3.2)? I can't buy a cheapo Android 4.0 device yet..
Thanks,
j
As long as you aren't doing anything weird, tapping on an EditView should pop up a keyboard on any device that doesn't have a hardware keyboard so it should work fine on a 4.0 device.
I'd still try to get the AVD working correctly. Pop-up keyboards work fine on my 4.0 AVDs.

Categories

Resources