Simulate Touchscreen Input On Android - android

I have had a very unfortunate accident with my Samsung Galaxy S2 and the screen has suffered a complete shatter (top to bottom! - was closed in a car door)
I have downloaded and am running Droid#Screen to make sure the phone itself isn't damaged and can see that the screen is sat on the pattern lock screen. Is there a way I can simulate a touchscreen input from the PC?
I just need to unlock the screen then can use Kies Air to remove all of my pics and videos and important files.

Is there a way I can simulate a touchscreen input from the PC?
You can attempt to use monkeyrunner, though I have no idea if that can automate the lockscreen.

Related

Android auto touch macro/script on start-up(no root)

I've installed an android tablet in my car to replace the factory stereo and one thing that annoys me is that after every start there's 4-5 on screen buttons I need to press first in order for the tablet to start streaming music from my phone.
Would anyone have any ideas on how I could create something like a macro/script that would execute after the tablet turns on and simulate a few touches on screen?(I'm assuming with x,y coordinates).
I can't root the tablet by the way

How to deal with apps that force screen orientation in android-x86 on VirtualBox?

If you've used an Android device, you're aware that there are some apps that force the display to portrait and ignore the device's orientation sensor. On a real device, this is not a problem, as you can physically rotate the device in your hands to use the app.
However, I am trying to use such an app on android-x86 in Oracle's VirtualBox on a Linux Mint PC, and cannot physically rotate my monitor. I have tried the f9-f12 keys that send a rotation event to the app, but since the orientation is fixed, this has no effect.
Short of keeping my neck cricked at a 90° angle, how might I configure android-x86, VirtualBox, and/or Linux to display the app right side up? To be clear, I don't have access to the source code of the app.
For sure now is too late to reply, anyway I discovered that I can rotate back my vd resetting resolution of screen on the fly. If my device is 1200x800 (landscape) and it is rotated left by an app I can get it vertical by shell comamnd: (adb shell) wm size 800x1200
I found that Rotation Locker (com.devasque.rotationlocker) solved the problem for me. Via this mailing list post.

Touchscreen calibration on android

I've an android TV box (jellybean) to which I have connected a 17'' eGalaxy touchscreen. It moves the pointer but only with in a small are. I've created the necessary idc file but don't know the right configuration to put in it.
You probably just need to run a touch screen calibration app.
Regards
Rasmus

How to unclock Android screen when install from Eclipse

I'm new in Android developing (I'm a developer iOS from 3 years) and the very first thing that I notice in Android is that when I install my app from Android I need to unlock the screen manually.
This might seem like an unimportant thing but very often I'm wait in front of the screen for a few seconds and then I realize that I have to unlock the device manually.
Thanks
Well, I don't know about auto unlock but you could set "Stay Awake" in developer settings on your phone. This means the screen will not lock when you are connected to your computer. Not compatible with all phones due to some screen types.
Also, you could have a scout around the Play Store. There are numerous attempts at this but with varying results I suspect.
--Conor

Display separate activity on Samsung Galaxy Tab HDMI output

I'm reworking a project where I control LEDs on a miniature model, and display a presentation at the same time on an LCD Monitor above.
I previously had to work with a clunky touch screen laptop/tablet hybrid which was hooked up to an external monitor which showed a presentation slide while it lit up the LED.
I've now developed an android application for the Galaxy Tab 10.1 which controls LEDs on a miniature model via bluetooth, and is hooked up to the monitor via the Samsung HDMI adapter.
My question is, is there anyway to output two separate activities one for the tablet, one for the screen? The current setup just mirrors the screen, but when I open a slide it automatically displays the video in full resolution on the screen so it can be done, but I'm not sure if its an open API (Can't find one!).
Cheers!
Response from Samsung
Unfortunately Android itself does not support multiple displays, as
stated here:
https://groups.google.com/forum/#!topic/android-developers/Jxp_9ZtzL60
and Samsung also does not extend this functionality.
In that thread it does point out a useful Motorola API to control the HDMI output, shame I've got a load of Samsung tablets!
http://developer.motorola.com/docs/motorola-hdmi-status-api/

Categories

Resources