Detect rotation of device

by XXL » Tue, 10 Feb 2009 06:40:35 GMT


Sponsored Links
 hi all
is it possible to detect if the device has been rotated?

if it is in horizontal or vertical position? like the WII controller

Thx guys

--~--~---------~--~----~------------~-------~--~----~



Detect rotation of device

by XXL » Wed, 11 Feb 2009 01:52:24 GMT


 one more..

if it is possible...
can the rotation be simulated in the programming IDE?
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Detect rotation of device

by Mark Murphy » Wed, 11 Feb 2009 08:49:47 GMT


 


<Ctrl>-<F12>

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
Android Training in Sweden --  http://www.sotrium.com/training.php 

--~--~---------~--~----~------------~-------~--~----~



Detect rotation of device

by srajpal » Thu, 12 Feb 2009 00:44:10 GMT


 here is a great set of tutorials that teach you about rotation on the
android system
shows you how to override and detect

 http://androidguys.com/?tag=android-rotation 





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Is there anybody who have ported 3G USB modem into the android device?

Hi All,

Now I have ported a 3G USB modem into the android device, I use pppd
to do the dial.

But one problem is that I can not do hot-plugin, in other words, when
I plug in a USB modem into the device, I must manually input the
command in the adb shell to realize dialing job,

How can I realize the hot-plugin task, i.e, when I plug in the USB
modem, android can automatically dial and change the network to be the
3G network.

Anybody can give me some idea?

Thanks a lot in advance

Max
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Wondering and waiting when my product would come to android market, the One which I submitted in adc2

You have to add it to the market through the developer console.  The
ADC2 submission does not get placed into the market.  Don't forget to
change the package name in your manifest so that it is not the same as
your ADC2 submission, otherwise it won't let you upload it.




--~--~---------~--~----~------------~-------~--~----~

3. Why does app not get onDestroy when exited but then receives an onCreate when relaunched?

4. drop call after some time duration

5. Getting longer stack traces from DDMS?

6. Why does app not get onDestroy when exited but then receives an onCreate when relaunched?

7. how to use commons-net-2.0 lib in the emulator