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


Telemetrics DS-4 Device Server DS 4 picture

Telemetrics DS-4 Device Server DS 4

$110.00



USA Windows VPS RDP Server/ Windows VPS Hosting - 4GB RAM + 150GB HDD picture

USA Windows VPS RDP Server/ Windows VPS Hosting - 4GB RAM + 150GB HDD

$11.99



Carrier 8.5 Technician Tool Field Assistant USB-L i-Vu USB Link Rnet cable TKIT picture

Carrier 8.5 Technician Tool Field Assistant USB-L i-Vu USB Link Rnet cable TKIT

$198.00



Fiery Canon MXI-02 Server - WORKING picture

Fiery Canon MXI-02 Server - WORKING

$499.99



MRG-3800V-R 800W Server Power Supply, Untested picture

MRG-3800V-R 800W Server Power Supply, Untested

$249.99



CAMBRO Insulated Beverage Server Container 4.75 Gallon Blue picture

CAMBRO Insulated Beverage Server Container 4.75 Gallon Blue

$46.99







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