Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

(SumSung Patek 2)

when I enable virtual key pad, slide to landscape mode, The app does not receive Event EVT_SCR_ROTATE ? 

who can tell me the reason? 

no virtual keypad, app rotation works normally.

 

EVT_SCR_ROTATE is sent by system when screen is rotated. App can register for device notifier mask NMASK_DEVICENOTIFIER_SCR_ROTATE to receive notification on screen rotation.

EVT_SCR_ROTATE is sent by system when screen is rotated. App can register for device notifier mask NMASK_DEVICENOTIFIER_SCR_ROTATE to receive notification on screen rotation.

hi adhudase,
follow code compile error
 
 ISHELL_RegisterNotify(pMe->m_pAppData->m_pIShell,              AEECLSID_WNDAPPTEMPLATE, AEECLSID_DEVICENOTIFIER,
               NMASK_DEVICENOTIFIER_SCR_ROTATE);
Error message is : error C2065: 'AEECLSID_WNDAPPTEMPLATE' : undeclared identifier.
brew SDK: 1.0.3.956 Pro
 
by the way, The app does not launch virtual keypad, it will recives EVT_SCR_ROTATE message.
 
 

hi adhudase,
follow code compile error
 
 ISHELL_RegisterNotify(pMe->m_pAppData->m_pIShell,              AEECLSID_WNDAPPTEMPLATE, AEECLSID_DEVICENOTIFIER,
               NMASK_DEVICENOTIFIER_SCR_ROTATE);
Error message is : error C2065: 'AEECLSID_WNDAPPTEMPLATE' : undeclared identifier.
brew SDK: 1.0.3.956 Pro
 
by the way, The app does not launch virtual keypad, it will recives EVT_SCR_ROTATE message.
 
 

Second parameter "AEECLSID_WNDAPPTEMPLATE" should be your application classid. Can you please elaborate, what exactly you are looking for?

Second parameter "AEECLSID_WNDAPPTEMPLATE" should be your application classid. Can you please elaborate, what exactly you are looking for?

thank you adhudase, I register virtual input status mode , handle ACCEPT event to Rotate. thanks, 
by the way :
I add AEECLSID_TextWidget to viewport widget , when virtual keypad is displayed, press OK key, virtual keypad can not close, how to handle isusse?  

thank you adhudase, I register virtual input status mode , handle ACCEPT event to Rotate. thanks, 
by the way :
I add AEECLSID_TextWidget to viewport widget , when virtual keypad is displayed, press OK key, virtual keypad can not close, how to handle isusse?  

Generally, Virtual keypad has a key to dismiss it. It cannot be dismised on OK key.

Generally, Virtual keypad has a key to dismiss it. It cannot be dismised on OK key.

becasue the mode of keyboard is not consistent, launching keyboard widget and accepting input widget are not same widget.

becasue the mode of keyboard is not consistent, launching keyboard widget and accepting input widget are not same widget.