[android-developers] TouchEvent - ACTION_UP after ~30 seconds

2011-03-07 Thread Thiago Lopes Rosa
Hi, I need the user touching the screen for a long period of time, but approximately after 30 seconds there is an ACTION_UP event automatically. I tested on three devices and it always happen. To understand what I'm saying, just swype on your home screen (to switch home screens) but keep your

[android-developers] Re: TouchEvent - ACTION_UP after ~30 seconds

2011-03-07 Thread Thiago Lopes Rosa
. Is there any way to avoid this? Or to fool it? Thiago On Mon, Mar 7, 2011 at 12:23, Thiago Lopes Rosa thiago.r...@gmail.comwrote: Hi, I need the user touching the screen for a long period of time, but approximately after 30 seconds there is an ACTION_UP event automatically. I tested on three

Re: [android-developers] Re: TouchEvent - ACTION_UP after ~30 seconds

2011-03-07 Thread Thiago Lopes Rosa
an application intended to prevent prison breaks :) -- Kostya 07.03.2011 18:48, Thiago Lopes Rosa пишет: I found this: There is a setting in the touch IC that causes touches that stay in more or less the same place for extended periods of time to be calibrated out. That is the setting

[android-developers] Android Optical Mouse

2010-12-02 Thread Thiago Lopes Rosa
Hi, Does anyone know how the optical mouse (example: HTC Incredible) is mapped? Would it be a trackball? DPAD? Touch? Another key? Thanks! Thiago -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: OpenGL - 3D rotation from a 2D input

2010-09-09 Thread Thiago Lopes Rosa
Lesson 48 ported to Java (still needs some OpenGL ES adjustments): http://www.java-tips.org/other-api-tips/jogl/arcball-rotation-nehe-tutorial-jogl-port.html Thiago On Tue, Sep 7, 2010 at 21:04, Thiago Lopes Rosa thiago.r...@gmail.comwrote: Thanks! =) Thiago On Tue, Sep 7, 2010 at 14

Re: [android-developers] Re: OpenGL - 3D rotation from a 2D input

2010-09-07 Thread Thiago Lopes Rosa
?lesson=48 On Sep 6, 9:58 pm, Thiago Lopes Rosa thiago.r...@gmail.com wrote: This is a 3D Minesweeper. Instead of searching mines on that rectangular field, you must search them on several 3D fields (8 in total) by looking in all faces/planes. So you must rotate the objects to see

[android-developers] OpenGL - 3D rotation from a 2D input

2010-09-06 Thread Thiago Lopes Rosa
Hi, I have a cube on the center of the screen and the user can rotate it using the touchscreen. The problem: For example, when I rotate the cube 180 degrees (vertical), the horizontal rotation gets inverted (i mean, when moving right the cube rotates left and vice-versa). The issue is that I'm

Re: [android-developers] Re: OpenGL - 3D rotation from a 2D input

2010-09-06 Thread Thiago Lopes Rosa
Breakout Legend in the App in mkt) :) Droid On Sep 6, 7:04 pm, Thiago Lopes Rosa thiago.r...@gmail.com wrote: Hi, I have a cube on the center of the screen and the user can rotate it using the touchscreen. The problem: For example, when I rotate the cube 180 degrees (vertical

Re: [android-developers] Re: OpenGL ES - Color Picking - Front/Back Buffer

2010-09-03 Thread Thiago Lopes Rosa
for producing the hull around the object or if you're ok with bounding boxes, they tend to work alright and are easily constructed. On Sep 2, 2:50 pm, Thiago Lopes Rosa thiago.r...@gmail.com wrote: Hi, I have a 3D game and I am using color-picking to know which object was selected

Re: [android-developers] Re: OpenGL ES - Color Picking - Front/Back Buffer

2010-09-03 Thread Thiago Lopes Rosa
, Thiago Lopes Rosa thiago.r...@gmail.com wrote: Hi, I have a 3D game and I am using color-picking to know which object was selected. When the user touches the screen, I draw each object with a different color. Then I read the color where the user touched the screen to know which

[android-developers] OpenGL ES - Color Picking - Front/Back Buffer

2010-09-02 Thread Thiago Lopes Rosa
Hi, I have a 3D game and I am using color-picking to know which object was selected. When the user touches the screen, I draw each object with a different color. Then I read the color where the user touched the screen to know which object was selected. After that I draw each object with their