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. Adobe Air for Andoid App - Trouble Bringing App to Foreground (actionscript 3)

Hi All,

I'm in the process of creating an Adobe Air for Android app and am
having trouble bringing the app to the foreground in the Android
system.

Part of the functionality of the app is to set alarms, when an alarm
sounds I want to wake the phone and bring the app to the foreground.

I have tried this:

public function onAlarm(event:TimerEvent):void
{
        NativeApplication.nativeApplication.systemIdleMode =
SystemIdleMode.KEEP_AWAKE;
        NativeApplication.nativeApplication.activate();
        alarm.stop();
        popup.addEventListener(MouseEvent.CLICK,onPopUpClick);
        this.parent.setChildIndex(this,this.parent.numChildren-1);
        this.addChild(popup);
        alarm_tone_channel = alarm_tone.play(0,20);
}

When the alarm goes off I can hear the alarm tone but the phone is not
woken from sleep and when the phone is unlocked the app is not in the
foreground.

I tried adding: this.stage.nativeWindow.activate();

This works on the computer but seems to create an error on the
phone...

Hope you can help!

-- 

2. who prevails with audio in simultaneous cell phone and VOIP calls?

I asked a co-worker to make a Linphone VOIP call to me and while the
call was in progress, I made a regular cell phone call to my wife.
I was able to hear their voices simultaneously. This was surprising.

When I play an audio clip on my cell phone and then make a cell phone
call out, the media player correctly pauses and does not play until
the call ends thereupon it resumes playing.

What decides that the media player audio should be muted during a cell
phone call?
Why didn't it get muted during the VOIP call?

(Android 2.1. HTC Slide)

-- 

3. WSDL Classes generation

4. listview checkbox recycle issue

5. How to i adjust the width of an imageview in the java code

6. what does this code segment do in weatherwidgetprovider: intent.setData(Uri.parse(sameintent.toUri()))

7. Android Camera Integration