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


1PC USED A54MA30B Mitsubishi F500/A500/A540 Series 30-37KW Mainboard #CZ picture

1PC USED A54MA30B Mitsubishi F500/A500/A540 Series 30-37KW Mainboard #CZ

$228.00



1PC USED A54MA55B BC186A413G52 Mitsubishi A500/F540 Series 55KW Drive Board #CZ picture

1PC USED A54MA55B BC186A413G52 Mitsubishi A500/F540 Series 55KW Drive Board #CZ

$317.00



Mitsubishi FR-A540-0.75K-NA AC DRIVE INVERTER 1 HP 380-480 VAC 50/60 HZ 4.1 AMP  picture

Mitsubishi FR-A540-0.75K-NA AC DRIVE INVERTER 1 HP 380-480 VAC 50/60 HZ 4.1 AMP

$649.99



Dentistry Replacement NSK TiMAX NL95M/ A500/ A500L/ AK500L/ AS500L /AW500L NEW picture

Dentistry Replacement NSK TiMAX NL95M/ A500/ A500L/ AK500L/ AS500L /AW500L NEW

$79.95



NSK TiMAX NL95M/ A500/ A500L/ AK500L/ AS500L /AW500L CERAMIC BEARINGS  picture

NSK TiMAX NL95M/ A500/ A500L/ AK500L/ AS500L /AW500L CERAMIC BEARINGS

$80.75



1PC USED A54MA30B Mitsubishi F500/A500/A540 Series 30-37KW Drive Main Board #CZ picture

1PC USED A54MA30B Mitsubishi F500/A500/A540 Series 30-37KW Drive Main Board #CZ

$255.00







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