[android-developers] Changing screen resolution at run-time

2011-10-31 Thread Shlomi Mor
Hi,

The device I am working on has only one LCD controller, which can
display to LCD or HDMI (one at a time).
I would like the device to display to LCD by default, and display to
HDMI only when HDMI cable is connected.
Since HDMI resolution is different than LCD resolution, I will change
frame buffer resolution.
BUT - I also have to notify Android (SurfaceFlinger, Applications,
etc.) about the change of frame buffer resolution.
I can also live with a solution of re-booting Android modules which
are dependent on screen resolution (assuming it will be fast enough).

Any idea how this can be done?

Thanks,
Shlomi

-- 
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


Re: [android-developers] Changing screen resolution at run-time

2011-10-31 Thread Mark Murphy
Step #1: Visit http://source.android.com
Step #2: Click the Community tab
Step #3: Find a list that is relevant to your question
Step #4: Ask your question there

On Mon, Oct 31, 2011 at 9:23 AM, Shlomi Mor shlomi@gmail.com wrote:
 Hi,

 The device I am working on has only one LCD controller, which can
 display to LCD or HDMI (one at a time).
 I would like the device to display to LCD by default, and display to
 HDMI only when HDMI cable is connected.
 Since HDMI resolution is different than LCD resolution, I will change
 frame buffer resolution.
 BUT - I also have to notify Android (SurfaceFlinger, Applications,
 etc.) about the change of frame buffer resolution.
 I can also live with a solution of re-booting Android modules which
 are dependent on screen resolution (assuming it will be fast enough).

 Any idea how this can be done?

 Thanks,
        Shlomi

 --
 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




-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.0 Available!

-- 
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] Changing screen

2010-07-02 Thread Harsha
hi I am new to android programming and i need to create the following
application. Its a test, so  i need to maintain the state of session
since login to answer choices entered by students till the end of
state. can anyone tell me how can i change screens, I want to just
change screens within the same activity. and also retain the values
entered in each GUI screen. Each screen should be generated on fly
depending on the kind of test the student selects. The test questions
are in different XML files, so i need to render these files on fly and
display it in GUI.

-- 
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