[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ercp-dev] eSWT getMobileDevice creates Display
|
Display is created as a side-effect to calling Display.getDefault(). On win implementation this happens at least with the setVKStatus() and same problem exists with Qt and Symbian ports on different places. So display may be created by MobileDevice accidentally.
--
Gorkem
On Fri, Feb 19, 2010 at 2:44 PM,
<Benjamin.Fiebig@xxxxxxxxxxxxxx> wrote:
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
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.
_______________________________________________
ercp-dev mailing list
ercp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ercp-dev