Control F11 doesn't revert the orientation on emulator on SDK 1.5 Target

by Chander Pechetty » Tue, 28 Apr 2009 14:40:14 GMT


Sponsored Links
 I have an activity defined in the manifest with the attribute
android:configChanges="orientation|keyboardHidden

When I run the app on SDK 1.5, pressing Ctrl + F11 and change the
orientation to landscape and then again press Ctrl+F11, the
orientation of the emulator changes, but not the screen orientation.
is there something new in 1.5 that we need to define.

I have gone through Dan Morrill's  blog post at
 http://android-developers.blogspot.com/2009/04/future-proofing-your-apps.html 
on rotations, but it doesn't talk about how we can support both
orientations.
--~--~---------~--~----~------------~-------~--~----~



Control F11 doesn't revert the orientation on emulator on SDK 1.5 Target

by Chander Pechetty » Tue, 28 Apr 2009 14:54:35 GMT


 This was on the Preview release. will update when I get my hands on
the just released SDK 1.5 release 1


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


Sponsored Links


Other Threads

1. Different formats of postal address with ContactsContracts

Is there a way to get the data: address, postalcode, country ect. in
different country formats.

Like in Great Britain:
 [recipient]
 [street name]
 [postal town (town/city)]
 [postal code]
 [country name]

And in The Netherlands:
 [recipient]
 [street name]
 [postal code] [postal town (town/city)]
 [country name]

I now use the ContactsContract from Android 2.0.1 and tried the
ContactsContract.CommonDataKinds.StructuredPostal.DATA1
(FORMATTED_ADDRESS).
But this seems to give the data as follows (no matter what country
settings):
 [street name]
 [postal town (town/city)] [postal code]

Thanks.

-- 

2. Scrollbar in AdapterView

Hi All,

I have a AdapterView derived class (say GridLayout) in which I arrange
views in a grid. When items in the grid exceed the height of the
GridLayout( or screen) I want a scrollbar to appear. I have handled
scrolling in onTouchEvent. But the problem is the scrollbars don't
appear. I have set the vertical scrollbar to be enabled, but no use.
The docs say the scrollbar appears every time the scrollTo or scrollBy
methods are called. Whats wrong. Please suggest.

Thanks in advance
R

-- 

3. where is debug certificate when build with Eclipse?

4. how to stop screen from dimming

5. Problem in consuming/calling ASP.NET web service from the Android

6. Problem listener onItemClick with ListView

7. DatePicker: years before 2000