Android :: Lags During OnTouchEvent On Motorola DROID
Dec 16, 2009
I have several complaints from Moto DROID users who experience lags while touching. In my app I implement the recommended workaround with two threads and Thread.Sleep( 35 ) . It worked and works perfectly on my G1 and on some other Google devices. But for DROID I hear many complaints. As I don't have a DROID, could someone please tell me if there is still a need for this workaround? Or shall I have to do anything else?
View 2 Replies
Feb 16, 2010
I use Handcent to text, and it seems to lag alot. I'm not the fastest typer in the world, so I'm not sure why this is, but it always takes a few seconds to show up what I've typed and it used to be instant. Is there something I can do to make it quick again?
View 21 Replies
View Related
Dec 20, 2009
Is it normal to be very unresponsive to changing between landscape and portrait? Or do I have a defective phone?Also, what type of USB plug is that? I thought I read that it was a mini-b, but I ordered some from monoprice and they do not work.
View 18 Replies
View Related
Dec 16, 2009
Is it common that the default keyboard and input method is a bit slow and lags pretty heavy behind typing? It seems like the Eris can't keep up w my typing and it causes delays and issues when typing messages, etc. Not sure if its the hepatic feedback or the correcting, but its frustrating at times. Apart from that, I like the keyboard and the predictive text works well.
View 23 Replies
View Related
Jan 12, 2010
I've been pulling my hair out trying to achieve smooth scrolling in an OpenGL-based app on Eclair. It seems that no matter what I do, I cannot get more than 36 events per second (the rest is sent in history data which is useless in my case). This happens on both the emulator and the Motorola Milestone.Is this a hardcoded limit or am I doing something wrong? I'm implementing onTouchEvent on the activity and recording how many events are received per second and then send that info through Log.v to Eclipse. I also tried implementing onTouchEvent on the view instead of the activity and the results are the same.
View 4 Replies
View Related
Jan 26, 2010
I want to catch any onTouchEvent() on the mapview. After search lots of questions&answers, I found only when I write my own MapView(MyMapView)and define onTouchEvent, then use this MyMapView in main activity.
View 2 Replies
View Related
Aug 5, 2010
I am making an user interface and i want to drag any one of them.how can i with ontouchevent.
View 2 Replies
View Related
Mar 26, 2010
I am stuck in a situation,where I have onClick() method & onTouchEvent method. The situation is the my onTouchEvent is handling the fling gestures (like left,right), after each fling i am changing the Layout & presenting new one for the user. On each layout i have some buttons & they have the onClick() set. Now when i do the gesture nothing happens & sometimes the onClick gets called. how i can make these two methods to work correctly?
View 4 Replies
View Related
Apr 27, 2009
I've got a problem with a flood of touch events destroying my game's framerate while there is a touch active. Basically onTouchEvent is called (with getAction = ACTION_MOVE, x = 0 and y = 0) about a hundred times a second for as long as the finger is touching the screen. I've tried returning from onTouchEvent straight away, and even removing its implementation at all, but it doesn't help - the app slows to a crawl as soon as a finger is down. I asked on the IRC channel and Romain Guy advised me that they're aware of the problem but didn't have time to fix it for Cupcake, so I'm not expecting a full solution!
View 3 Replies
View Related
Jul 7, 2009
i need left, right motion event and a click event . problem is that, if i have onclickEvent then onTouchEvent doesn't fire. onTouchEvent works only if i disable onclickEvent and also it doesn't work what i expect.
1-only ACTION_MOVE fires twice everytime when i move on screen.
2-can't get left and right motion.
View 6 Replies
View Related
Jul 27, 2010
I've got an onTouchEvent boolean on a Surfaceview, I've got openGL objects drawn on the view and I'm wondering is there anyway to detect where on the screen the onTouch happened? e.g (x,y) co-ordinates.
View 1 Replies
View Related
Nov 13, 2010
I'm making an application which will utilize both touchevents and sensorevents. The problem with touchevents is that they fire off very often, and thereby consumes massive amounts of CPU time. The common solution is to do a Thread.sleep to make it cool down.However, if one wants to use both the onTouchEvent and onSensorChanged in the same activity, applying the Thread.sleep hack will also slow down onSensorChanged. This is obviously caused by the two methods being called from the same (ui) thread.Is there some way to call onTouchEvent from a different thread than the ui, so one could do the Thread.sleep trick without slowing down onSensorChanged as well?
View 1 Replies
View Related
Nov 19, 2010
I'm adding 5 ImageView to an linear layout at runtime, so far so good, but what i would like to do is, when the user slide his finger over one of them, i would like to change the image, so my question would be, how can i know what's the current imageview under the user finger.?
View 2 Replies
View Related
May 18, 2010
Since yesterday I got an idea running around my mind but I donīt know first if it would work, and then how "hack" it would be.
People who develop audio processing/recording/playback apps for Android know how hard it is to maintain GC away from our critical paths: playing and recording audio. Processing must be as optimized as possible not only to save battery and use less CPU, but also not to create new objects/allocate new memory spaces ... this all to avoid GC at all cost. Well, we have knowledge and this we can handle (mostly). But what about all the other processing that happens from and for user interaction? Media players display images, some apps display ads, ... and sometimes we have to avoid releasing features to the users just to maintain our critical paths free from GC.
Yesterday I stumbled upon an article about remote services and this led me to a doubt: if they can run as a different process, would a GC call from my activity impact the performance of my remote service? I really donīt know how GC works on the Dalvik so this may be a dumb question. If so, I apologize.
You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
View 4 Replies
View Related
Oct 15, 2010
How can I drag a marker on the map?
How to handle it in onTouchEvent()?
I had written one code that actually drags. But it feels like the map is moving instead of the marker. That code is...
View 1 Replies
View Related
Feb 3, 2009
Does anybody have any idea why I get often(but not always) error during the on touch event? Handling touch events is freezed for few seconds(this appears only immediately after application start). Then Error screen appears (choose wait of close). When I choose wait after few seconds screen is starting to process events. I'm using surfaceView with thread for painting. In logcat I get something like : "No window to dispatch pointer action 1".
View 2 Replies
View Related
Dec 29, 2009
what is best way to create app in which I only need to draw simple lines through onTouchEvent? When i use invalidate everytime i draw any line, that erase lines i draw before. But if I use some List structure to store drawed lines it lose performance. Is there any simple way to do it?
View 6 Replies
View Related
Jan 12, 2010
I'm trying to do something in my app where you have to hold your finger on the screen for more than 30 seconds. After about 30 seconds, it stops sending onTouchEvents for that part of the screen, almost like a "dead zone." Tested on a motorola droid, and is there any way to stop this from happening?
View 6 Replies
View Related
Oct 20, 2010
I need to specify the full button images for both the up and down positions. My impression is that the most probable choice is to use an custom button based on the ImageView and specify the image for up and down positions. I am using the OnTouchEvent method to capture the ACTION_DOWN, but I'm not getting the ACTION_UP event.
Is there a better choice for creating a button that controls the full button image, catches the Down/Up and can subdivide the down time into time slices? If not, how do I catch the up event.
My application expects a screen touch on the "button" and not a keyboard action.
View 3 Replies
View Related
Apr 8, 2010
My keyboard lags every now and then..sometimes fixed after i turn it off and on again. how can this be fixed? is the new upgrade to 2.1 the only fix?
View 6 Replies
View Related
Apr 11, 2010
If you use the optical track pad and move through homescreens really fast, it becomes extremely choppy on my desire.But when using the nexus one live wallpaper its totally smooth and not choppy at all.I would have thought it would be choppy with the nexus one live wallpaper and not choppy with an ordinary one.
View 5 Replies
View Related
Nov 5, 2009
I just had a quick question on the Samsung Moment. I'm using the default messaging app (I've also used handcent) it feels the same. I've noticed that while texting sometimes it may lag a bit. Has anybody noticed this? Is there anyway to fix this?
View 4 Replies
View Related
Sep 22, 2010
Recently, i got myself an HTC Wildfire. It's great, except one thing. Some of the games lags, but the lag gets less and less the more i play the game. It does'nt disappear totally but it gets smaller.
Its not the processors because i tested the games on an Xperia X10 Mini and they worked perfectly fine.
What cam it be?
View 2 Replies
View Related
Aug 21, 2010
I'm on my ally now and something that's very annoying is the lag when I'm typing in a feild on a webpage. I type much faster then the letters show up. So for example if I type a sentabce and finsh it in 4 seconds it will take 8 seconds to fully finish typing and show up on the screen. This dosent happen in native apps or texting ect. Only the browser.
View 3 Replies
View Related
Feb 25, 2010
Anyone else's phone lag allot? And is there any way to make it better?
View 7 Replies
View Related
May 5, 2013
i bought the s3 and all the games i have lags. So, i have done a factory reset, but it does nothing. Is it normal? If i bought this phone, its because i want a good phone not a laggy one.
View 2 Replies
View Related
Feb 16, 2012
I am on a rooted phone. on accasion, i experience lags on my phone.. its annoying.. how do i eliminate them?
View 9 Replies
View Related
May 19, 2013
i have problem with start mobile, i cant start mobile for i changed build.prop, because i wanted gameloft games, but my mobil now never start. My phone is ZTE Grand X with root. I wipe cache and data, but still no luck. How can reflash rom, when cant start mobile. I can go only to android recovery mode(i dont know name for this).
View 2 Replies
View Related
Aug 11, 2013
so I got this phone, mediatek MT6589 1,2ghz with 1080x1920 resolution display, GPU powerVR SGX544 (those are what it says on the spec)
when playing 2D games, there are no lags, stutterings, i got smooth animations and responsive controls.
but when trying to play 3D based games, i only got like 5-10 fps, even for low end games like asphalt 6, riptide 1, minion rush, etc.
some 3D games have the option to lower textures, effects, shaders, but some don't.What I'm trying to ask is :
- Can we tweak, modify build.prop to trick those games (that do not have quality settings in options) to load low quality graphics? If we can, which line?
- I tried to install "resolution changer lite" from the playstore, looks like when I change resolution to 1024x600, every games run smooth without lag. But this resolution changing really messed up my homescreen, icons, menus, even hardware buttons don't work.
FYI: for reference this device's antutu score is 12000+, 2d score= 600, 3d score = 2100
View 1 Replies
View Related
May 24, 2010
Is anyone noticing lag on this? My phone will start to ring, but then like 4 seconds later the option to accept the call will come up. Also, when dialing out I feel like it lags with Fresh 2.1.1 - trying to use my phone as a phone!
View 10 Replies
View Related