Zoom from a point

by araj2...@gmail.com » Fri, 09 Jan 2009 00:01:12 GMT

Sponsored Links
     Can someone tell me how zoom in the Browser application is done
from the center of a page and not from (0, 0)?
Webkit by default does zoom from the origin.
Just curious to know how zoom from center is done in Android's

Amruth Raj.


Other Threads

1. libsensors: how to simulate rotation 180

I'm implementing a libsensors for my tablet.
It's not like a typical sensor on the phone.
It just generates standard keycode
ctrl-alt-up,down,left,right when rotate the tablet.

Basically, I have almost finished the implementation.
I implemented an accelerometer and simulate
the acceleration vectors, just like the qemu emulator
does (ref: external/qemu/android/hw-sensors.c )

I have succeeded to generate events of
rotation of degree 90 and 270. However,
I was unable to simulate rotation degree 180.
The qemu hw-sensors.c doesn't have correct
values to simulate rotation 180. I have tried all
possible values I can think, but all failed.

Anyone has a hint for how to simulate rotation 180?
Or, if someone could provide the output values
of acceleration vectors generated
by a typical sensor on the phone,
that would be great!

Thanks a lot!


2. AlarmManager doesnot fire after device get Boot-up

I am developing a application that requires to go for server call 2
times every day. So I used alarmmanager to set up alarm to repeat
after every 12 hours. The application runs fine and I receive
broadcast every 12 hours. But when I switch off and switch on my
mobile, the alarmmanger doesnot fire up. It seems like either
alarmmanager erases all the data after mobile phone is switch off or
broadcast receiver is cancelled.
I want alarmmanger to be consistent and once set up the alarm timing
it should call my receiver even after boot-up.

Please help me out how to solve this problem. Thanks in advance for
any help.


3. BadParcelableException

4. sold was Update was WTS LG Optimus One 2nd

5. Custom TTF Font Problem

6. [WTA] app DVD Player (*VOB) + subtitle di android

7. (Need Help) Spica gak bisa di-tap