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


1pcs used TSXMFPP128K Memory Card picture

1pcs used TSXMFPP128K Memory Card

$175.00



10 Inch King Gel Memory Foam Mattress White, Bed in a Box, Green Tea and Cooling picture

10 Inch King Gel Memory Foam Mattress White, Bed in a Box, Green Tea and Cooling

$363.00



Allen-Bradley 1756-L61 SER B ControlLogix 2MB Memory Controller 2023 New Sealed picture

Allen-Bradley 1756-L61 SER B ControlLogix 2MB Memory Controller 2023 New Sealed

$435.00



New Sealed Allen Bradley 1756-L64 ControlLogix 16MB Memory Controller picture

New Sealed Allen Bradley 1756-L64 ControlLogix 16MB Memory Controller

$1375.00



WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card picture

WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card

$129.00



NEW Original Allen Bradley 2080-MEMBAK-RTC Memory Module With RTC Plug-In picture

NEW Original Allen Bradley 2080-MEMBAK-RTC Memory Module With RTC Plug-In

$288.89







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