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


Brand New STMicroelectronics M4T28-BR12SH1 TIMEKEEPER SNAPHAT Battery picture

Brand New STMicroelectronics M4T28-BR12SH1 TIMEKEEPER SNAPHAT Battery

$16.49



QTY:1 For MGFC40V5964 High RF Power Transistor #ZMI picture

QTY:1 For MGFC40V5964 High RF Power Transistor #ZMI

$166.14



PM50CLS120 MITSUBISHI ELECTRIC IGBT-MODUL ID191791 Spot Goods Ups Express #CG picture

PM50CLS120 MITSUBISHI ELECTRIC IGBT-MODUL ID191791 Spot Goods Ups Express #CG

$313.40



Fuji IGTB Unit A50L-0001-0327 picture

Fuji IGTB Unit A50L-0001-0327

$29.95



MOSFET - IRFZ44N 55V - Transistor  for Arduino Pi  TTL picture

MOSFET - IRFZ44N 55V - Transistor for Arduino Pi TTL

$54.79



TO-92 Assortment NPN PNP DIY kit 15 value 600pcs Transistor  picture

TO-92 Assortment NPN PNP DIY kit 15 value 600pcs Transistor

$14.40







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