Android HDMI HD resolution

Source: Internet
Author: User

But when you change the resolution, you send the broadcast:

Intent Intent_outputmode_change = new Intent (action_outputmode_change);
Intent_outputmode_change.putextra (Output_mode, outputmode_entries_logic);
Intent_outputmode_change.putextra ("Cvbs_mode", 1/0);
This.getcontext (). Sendbroadcast (Intent_outputmode_change);

Resolution display Outputmode_entries_display and value outputmode_entries_logic:

<!--Display settings. The type of output mode to show. -
<string-array name= "Outputmode_entries_display" >
<item>480P</item>
<item>576P</item>
<item>720p 60hz</item>
<item>1080i 60hz</item>
<item>1080p 60hz</item>
<item>720p 50hz</item>
<item>1080i 50hz</item>
</string-array>
<string-array name= "Outputmode_entries_logic" >
<item>480p</item>
<item>576p</item>
<item>720p</item>
<item>1080i</item>
<item>1080p</item>
<item>720p50hz</item>
<item>1080i50hz</item>
</string-array>

<receiver android:name= "Net.sunniwell.settings.sdzx.content.OutputSettingsBroadcastReceiver" >
<intent-filter>
<action android:name= "Android.intent.action.BOOT_COMPLETED"/>
<action android:name= "Android.intent.action.OUTPUTMODE_CHANGE"/>
<action android:name= "Android.intent.action.OUTPUTMODE_CANCEL"/>
<action android:name= "Android.intent.action.OUTPUTMODE_SAVE"/>
<action android:name= "Android.intent.action.OUTPUTPOSITION_CHANGE"/>
<action android:name= "Android.intent.action.OUTPUTPOSITION_CANCEL"/>
<action android:name= "Android.intent.action.OUTPUTPOSITION_SAVE"/>
<action android:name= "Android.intent.action.OUTPUTPOSITION_DEFAULT_SAVE"/>
<action android:name= "Android.intent.action.DISP_CHANGE"/>
<action android:name= "Android.intent.action.REALVIDEO_ON"/>
<action android:name= "Android.intent.action.REALVIDEO_OFF"/>
<action android:name= "Android.intent.action.VIDEOPOSITION_CHANGE"/>
<action android:name= "Android.intent.action.CVBSMODE_CHANGE"/>
</intent-filter>
</receiver>

If the setting is not handled, you need to do it yourself:

Settings source files:

Outputsettingsbroadcastreceiver.java Change the resolution.

Hdmicheckhandler.java automatically detects the best HDMI resolution.

Android HDMI HD resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.