BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 01-26-2015, 10:15 PM   #1
hunghoang
New Member
 
Join Date: Jan 2015
Model: 7100T
PIN: N/A
Carrier: gameloft
Posts: 1
Default Dialog displays wrong orientation passport only

Please Login to Remove!

I make a dialog flowing this guide:
Code:
dialog_instance_t alert_dialog = 0;

bps_initialize();
                
dialog_request_events(0);    //0 indicates that all events are requested

if (dialog_create_alert(&alert_dialog) != BPS_SUCCESS) {
    fprintf(stderr, "Failed to create alert dialog.");
    return EXIT_FAILURE;
}

if (dialog_set_alert_message_text(alert_dialog, "Hello World!")
    != BPS_SUCCESS) {
      fprintf(stderr, "Failed to set alert dialog message text.");
      dialog_destroy(alert_dialog);
      alert_dialog = 0;
      return EXIT_FAILURE;
}
....
In bardescriptor.xml i set aspectRatio = landscape :
Code:
<aspectRatio>landscape</aspectRatio>
<autoOrients>false</autoOrients>
The dialog show true on other spare ratio (Q10, Q5 , Classic), only passport is wrong , more details in attachment.

Firmware :
Q10 , Q5 : 10.2
Classic, passport :10.3

Anyone can provide the solution to slove it ?

Thanks.
Attached Thumbnails
Click image for larger version

Name:	7078740_initalization.jpg
Views:	30
Size:	115.9 KB
ID:	19984  
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: Dialog displays wrong orientation passport only
Thread Thread Starter Forum Replies Last Post
blackberry bold 9700 displays wrong caller ID Kureti General 9700 Series Discussion - Bold 2 24 05-21-2010 08:55 PM
new Dialog() hides dialog box behind screen? :( RyanRitten Developer Forum 7 08-16-2009 03:49 AM
Wrong album picture displays when playing a song brewman63 General Legacy Device Discussion 2 10-25-2007 10:32 AM
Wrong album picture displays when playing song on 8830 brewman63 Media Center 1 10-23-2007 06:27 PM
"My Phone" displays wrong # brian8 General BlackBerry Discussion 6 04-21-2005 11:21 AM


LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter picture

LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter

$9.95



DC 100A 100V Voltmeter Ammeter Volt Amp Meter Voltage Current Tester with Shunt picture

DC 100A 100V Voltmeter Ammeter Volt Amp Meter Voltage Current Tester with Shunt

$12.99



DC 100V 100A Voltmeter Ammeter Volt Amp Meter Voltage Current Tester with Shunt picture

DC 100V 100A Voltmeter Ammeter Volt Amp Meter Voltage Current Tester with Shunt

$12.89



US Stock Analog Panel AMP Current Ammeter Meter Gauge DH-670 0-10A DC picture

US Stock Analog Panel AMP Current Ammeter Meter Gauge DH-670 0-10A DC

$13.23



US Stock DC -100A ~ +100A Analog AMP Current Needle Panel Meter Ammeter & Shunt picture

US Stock DC -100A ~ +100A Analog AMP Current Needle Panel Meter Ammeter & Shunt

$21.33



LCD Digital MULTIMETER Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meters picture

LCD Digital MULTIMETER Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meters

$9.95







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.