Android :: Android - Detect A Touch On Screen While Video Is Running
Nov 18, 2010
Why does the video in the attached code is not running (get a message from the emulator that the application cannot run the video).Can anyone please help me to understand how should I implement the onTouchEvent in order to capture a touch on the screen (don't care where on the screen) while a video is running.
View 1 Replies
Oct 20, 2010
In Javascript/jQuery, how can I detect if the client device has a mouse?
I've got a site that slides up a little info panel when the user hovers their mouse over an item. I'm using jQuery.hoverIntent to detect the hover, but this obviously doesn't work on touchscreen devices like iPhone/iPad/Android. So on those devices I'd like to revert to tap to show the info panel.
View 4 Replies
View Related
Dec 3, 2012
I was using my phone (droid 3) and the app I was using force closed, my phone lagged for a few seconds and then I just put it down so it could catch up. While waiting the screen timed out and when I went to use it I could not unlock it. I can press the button on top and it will turn the screen on or off, and if I hold it it will bring up the power off menu. I tried to call it, and it went through. I got the normal screen to answer it, but I could not answer it. After I hung up I got the notification for a missed call. Everything seems to be working, my screen just does not respond to a touch. What should I do?
View 4 Replies
View Related
Aug 6, 2010
I would like to get access to the area covered by a finger for each touch event on an Android.Every touch event will result in a coordinate pair X and Y independent of how big the finger and consequently the touch area is that triggered the event. I was wondering if there is a way to get the area data which triggered the touch event e.g. size or coordinates NOT
View 2 Replies
View Related
Aug 16, 2009
I want to use an AP running in the background, and can get the other AP touch screen x,y values. Beacause i use the View class the ontouchevent, but this seems to get current AP running touch event. Which the class or function can meet the needs of this.
View 3 Replies
View Related
Jun 29, 2010
Right now all I am trying to do is detect when the screen is pressed and then display a log message to confirm it happened. My code so far is modified off of the CameraPreview sample code (it will eventually take a picture) so the bulk of the code is in a class that extends SurfaceView. API for the example code from the SDK is 7.
View 1 Replies
View Related
Jul 19, 2010
New to android so please bare with me here
Is it possible to detect all touch events in an Activity and capture it and then in return pass that pass event to another View. For example:
Button 1 and Button 2. When Button 1 is pressed I want to capture that touch/click event and automatically pass that touch event to Button 2, basically with one touch/press you get the click generated and that same click is passed on to the second button automatically.
View 1 Replies
View Related
Aug 30, 2010
I want to figure out how to detect that the user has been doing a long touch press on the screen? Most of the solutions that I see assume that the DOWN + UP sequence of events.
View 2 Replies
View Related
Oct 15, 2010
I have designed a 3D model in .obj format and imported using min3d framework. Its a cube with different colors. I want to give a Toast with a message for a particular color when the side of that particular color is touched. How do I do this in android 1.6 ?
View 1 Replies
View Related
Dec 26, 2009
Do you know about how to detect two touches/taps on a ListView?
I am trying to have the following method called when double touched code...
View 2 Replies
View Related
Sep 3, 2010
I want to get information of how to detect device support multi touch without OnTouchListener triggers event.
View 4 Replies
View Related
Jul 9, 2010
Is there any way in Android to determine whether a device is running Sense UI? I'm working on an app that is working fine with vanilla Android, but Sense UI is messing with layouts and sizes. I'd like to be able to see whether the device is running Sense UI and so I can take appropriate action.
View 1 Replies
View Related
Oct 26, 2010
I would like a cell phone app to be able to determine how many cell phones around it are running the same app.I'm not sure what direction to start researching (API's,concepts) to understand how my phone would figure out what other phones are running the same app in a specific distance.
View 2 Replies
View Related
Feb 17, 2011
I've got an app that needs to handle Android versions 2.2.1 and above differently than 2.2. I'd rather not create two separate apps, but I haven't been able to find a way to identify what version of Android is running on the user's device.
View 9 Replies
View Related
May 6, 2009
I'm trying to detect when new videos are taken. I'd succeeded to detect new photo using the intent filter action "com.android.camera.NEW_PICTURE" in a receiver but I don't know how I can detect new videos.
View 2 Replies
View Related
Jan 26, 2010
Possible Duplicate:
Getting frames from Video Image in Android
I wanted to know if it is possible to extract frames from a running Video in Android? I need to extract frames at regular intervals and send them for further processing.
Would someone be able to find an answer for me?
View 1 Replies
View Related
May 10, 2010
I am using a VideoView to display a video. I am using setOnPreparedListener and setOnCompletionListener to do stuff before and after the video starts and ends.
I was wondering how I could go about detecting some point of time in the video. For eg, say I want to write log to a file when the video has played for 10s. How can I detect the 10s mark?
View 1 Replies
View Related
Jan 3, 2013
On my TF101 I have a couple different versions of CM10 in my downloads but I can't remember which one I flashed. Is there any way to tell besides the about tablet in system settings? All it tells me there is that it's CM10 and the kernel.
View 2 Replies
View Related
Jul 17, 2010
Just a quick question about the Captivate. I just got myself an HTC Aria and I love how easy it is to use the touch screen on it. Its extremely responsive. Now my sister has the SamSung Instinct on Sprint and the touch screen is horrible compared to HTCs touch on the Aria. Im thinking about taking the HTC back to AT&T and getting the Samsung Captivate. I am just worried about the touch screen on it and if it will be like the Instincts? If the touch is as good as HTCs Ill get it. If its not, then Ill stick with the Aria because despite its size, its an extremely fun and responsive phone. Any thoughts?
View 10 Replies
View Related
Sep 7, 2010
Is it possible to detect scan type (progressive or interlaced) of a video file in stagefright?
I see below listed fields are query-able with metadata of file through stagefright, but not scan-type which i guess is avaiable in MP4 file header. Any hint on how to detect scan-type of video file at Stagefright player driver? Or is it available in opencore?
CODE:.............................
View 3 Replies
View Related
Oct 21, 2010
Is there such a thing for the HTC desire? also, is there a app that lets you see how many multi touch points the htc desire has? i saw some youtube vids where that have this app and they put as many fingers as they can on the screen and scribble around.
View 2 Replies
View Related
Oct 19, 2010
Yahoo Messanger with video! Download from this thread now!!! - Page 2 - xda-developers
View 1 Replies
View Related
Aug 2, 2010
I am looking for a way in which I can detect any tap on the screen (not just in my app), I don't mind not having the information of what the tap was (control/letter), just the fact that a tap was made will suffice for me for now. Is there any possible way to achieve this?
View 4 Replies
View Related
Apr 4, 2010
As mentioned in a previous question, I am having difficulty intercepting all android.intent.action.SCREEN_ON events without a long-lived service (discouraged). I may be able to work around the need if I can simply work out when the screen is on at any given time, in the service.
View 3 Replies
View Related
Mar 29, 2010
How can I detect the screen is on or off?
View 3 Replies
View Related
Jul 31, 2010
I am trying to detect Screen backlight On / Off.
I've found android.intent.action.SCREEN_OFF related its event.
But I don't know how to use this.
Can you suggest me about how to detect screen backlight on / off ?
I missing some example or sample code.
View 2 Replies
View Related
Apr 18, 2010
I recently bought a HTC Desire which I've become exceedingly fond of.I've read (and been told by a colleague who owns a HTC Legend) that wifi should automatically turn off while the screen is off to conserve battery. I have the impression that I should be able to see the wifi icon turn on as I turn on the screen and unlock the phone. However, I haven't noticed that happening: The icon seems to just be on always.I have then tried observing my router's DHCP table when the the screen is off, but I haven't observed the entry for my phone disappearing (and I don't really know how much time has to pass before the table not showing my phone.Are there any settings that can cause this behaviour? What about programs? I current use smart monitor to log data usage as well as locale (using a SSID plugin and not the locale "location" condition). The only services I can see apart from those I think are OS services, are the ones for locale, smart monitor lite and the SSID plugin.
View 5 Replies
View Related
Sep 28, 2010
I'm writing a customized view similar to Grid which will be used to hold a large amount of images. I'm using ImageButton to display the images, and I only want to load images onto the buttons once they are on the screen (and just display a static background image when they are not). The reason for it is that I'm fetching images from some back-end service and I only want to fetch them when the buttons are on the screen.To do that, I'd like to know if the widget is on the screen. Is it possible to detect if a widget like button is on/off screen? If not, any suggestions on how to achieve what I'm trying to do?
View 1 Replies
View Related
Mar 19, 2009
How do I get the current screen resolution (width and height)?
View 10 Replies
View Related
Jan 3, 2010
I have a motion listener to detect finger down, finger drag, and finger up. I start my action at finger down and finish my action at finger up. When the action is finished, I store it in a stack for allowing undo. My problem is that if I don't get a finger up event, I can't finish my action to add it to the stack for undo.
How can I detect that the user's finger has left the screen?
I tried using the emulator to see if getEdgeFlags() ever returned anything useful, and the result was always 0.
Basically, if a finger leaves the screen, then nothing is touching the screen anymore and I would like to detect that as a finger up event. How can I do this?
View 3 Replies
View Related