Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [ercp-dev] eSWT getMobileDevice creates Display

Hi Satyam,

 

MobileDevice.getMobileDevice() returns the singleton instance of MobileDevice. And Javadoc tells that it mustn’t be null, but it’s not a display!?! And the constructor is not creating one as well.

 

Which version are you using? In 1.3 is the line:

//int handle = OS.RotDetectDisplay_New();

 

Maybe in an older one it wasn’t commented out and it creates one.

 

Regards,

Benjamin

 


Von: ercp-dev-bounces@xxxxxxxxxxx [mailto:ercp-dev-bounces@xxxxxxxxxxx] Im Auftrag von satyam.bandarapu@xxxxxxxxx
Gesendet: Freitag, 19. Februar 2010 10:46
An: ercp-dev@xxxxxxxxxxx
Betreff: [ercp-dev] eSWT getMobileDevice creates Display

 

Hello All,

 

In most of the eSWT implementations (at least S60) MobileDevice.getMobileDevice() creates  display if there isn’t any display created yet.

Is it an expected behavior?

I checked the eSWT Java doc and there isn’t any information about this.

 

Regards,

Satyam

 

 

 


Back to the top