[android-developers] Flickering on Android browser because of the keypad

2011-11-11 Thread Mjask
Hi

I am creating a Web page for Android browsers, I have an input box on
top but when I type in something there because the sliding keypad
appears that textbox scrolls up and I cant see that . Is there any
Javascript event or some other feature with which I can make my page
not to scroll up when Key pad appears.

Thanks
Mamta

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Flickering with keyboard animation

2010-12-12 Thread DH
Hi all,
  I'm trying to pop up a view in place of the soft keyboard, so I add
a layout to my content view and set it to invisible when the soft
keyboard is shown, and then set the layout to be visible when I want
to hide the keyboard and display my view.
Problem right now is whenever I set my layout and view to visible and
the soft keyboard closing animation start to play, there is a visible
flicker that goes through the entire view.

Anyone know how to: control the soft keyboard closing animation?
Or possibly let only the layout animate and translate itself up while
the keyboard translates itself down?

THanks.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Flickering.

2010-08-26 Thread tina lincon
I am doing an application-infinitely rotating 3D cylinder in
openGl.The speed varies with finger touch but wen i reduce the speed,i
can see  flickering happening in animation towards right and
left.Initialy I thought it is because of the linked list im updating
but found out there is no such problem with my linked list .I'm using
a thread here for a small delay after each 30 degree rotation
drawing.I cant do it widout the thread coz i need a sleep or a delay
after each 30 degree drawing,if i remove the thread and implement the
code in thread inside my onDraw frame, the curvature rotation itself
goes and it appears that images are just left shifting n right
shifting coz the sleep is not getting identified in onDraw frame.So i
cant implement my logic here widout using thread..so thread is a must
in my logic but i guess the flickering is due to my thread...Is the
flickering issue during animation because of the thread?please do help
me with this flickering issue..dis is d thread part im using in my
code.
Runnable r1=new Runnable()
{
//Thread t1=new Thread(r1);
//t1.start();

public void run()
{
//t1.start();
while(true){

if(rotateFlagRight)
 {
mRenderer.rotationFlag = 1;
//System.out.println(positive 
value of dx+dx);

for(int i=0;i=30;i++)
{
mRenderer.mAngleXX= i;
if ((dx10) (dx50))
{
try {

Thread.sleep(100);
} catch 
(InterruptedException e1) {}
}
else if ((dx50) 
(dx100))
{
try {

Thread.sleep(10);
} catch 
(InterruptedException e1) {}
}
else if ((dx100) 
(dx150))
   {
try {

Thread.sleep(8);
} catch 
(InterruptedException e1) {}
   }
else if ((dx150) 
(dx200))
   {
try {

Thread.sleep(7);
} catch 
(InterruptedException e1) {}
   }
else if ((dx200) 
(dx250))
  {
try {

Thread.sleep(5);
} catch 
(InterruptedException e1) {}
  }
else if ((dx250) 
(dx300))
  {
try {

Thread.sleep(4);
} catch 
(InterruptedException e1) {}
  }
else if ((dx300) 
(dx350))
  {
try {

Thread.sleep(3);
} catch 

[android-developers] Flickering problem in 3d animation in Open Gl for a 3d infinitely rotating cylindrical photo album..pls do help me to find out the cause for this flickering

2010-08-26 Thread tina lincon
I am doing an application-infinitely rotating 3D cylinder in
openGl.The speed varies with finger touch but wen i reduce the
speed,i
can see  flickering happening in animation towards right and
left.Initialy I thought it is because of the linked list im updating
but found out there is no such problem with my linked list .I'm using
a thread here for a small delay after each 30 degree rotation
drawing.I cant do it widout the thread coz i need a sleep or a delay
after each 30 degree drawing,if i remove the thread and implement the
code in thread inside my onDraw frame, the curvature rotation itself
goes and it appears that images are just left shifting n right
shifting coz the sleep is not getting identified in onDraw frame.So i
cant implement my logic here widout using thread..so thread is a must
in my logic but i guess the flickering is due to my thread...Is the
flickering issue during animation because of the thread?please do
help
me with this flickering issue..dis is d thread part im using in
my
code.
Runnable r1=new Runnable()
{
//Thread t1=new Thread(r1);
//t1.start();

public void run()
{
//t1.start();
while(true){


if(rotateFlagRight)
 {
mRenderer.rotationFlag
= 1;
//
System.out.println(positive value of dx+dx);


for(int i=0;i=30;i+
+)
{
mRenderer.mAngleXX=
i;
if ((dx10)
(dx50))
{
try {
 
Thread.sleep(100);
}
catch (InterruptedException e1) {}
}
else if
((dx50) (dx100))
{
try {
 
Thread.sleep(10);
}
catch (InterruptedException e1) {}
}
else if
((dx100) (dx150))
   {
try {
 
Thread.sleep(8);
}
catch (InterruptedException e1) {}
   }
else if
((dx150) (dx200))
   {
try {
 
Thread.sleep(7);
}
catch (InterruptedException e1) {}
   }
else if
((dx200) (dx250))
  {
try {
 
Thread.sleep(5);
}
catch (InterruptedException e1) {}
  }
else if
((dx250) (dx300))
  {
try {
 
Thread.sleep(4);
}
catch (InterruptedException e1) {}
  }
else if
((dx300) (dx350))
  {
try {
 
Thread.sleep(3);
} catch
(InterruptedException e1) {}
  }
else if
((dx350))
  {
try {
 
Thread.sleep(2);
}
catch (InterruptedException e1) {}
  }
}


mRenderer.
listPhotos();