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.