Android Question Unknown type displayscreensize

Tom McNeilly

New Member
Licensed User
Longtime User
Folks:
I'm trying to convert a application written with Basic4android version 2.71 (clean compile) to the current version of B4A.
I've succeeded in solving all the errors/warnings from the log, except for the message:
Unknown type displayscreensize. - I cannot find the library reference.
In what library is this item defined?
Thanks
Tom
 

Tom McNeilly

New Member
Licensed User
Longtime User
Dim dss As DisplayScreenSize 'defined in Process Globals.

dblScreenSize = Round2(dss.GetScreenDiagonalSize(), 2) 'used in Activity_Create.

Can't find the additional library where this item is defined.

Thanks
Tom
 
Upvote 0

Tom McNeilly

New Member
Licensed User
Longtime User
I found these lines in a main.java file from a previous clean compile.
Are they of any use in identifying in which module they are defined?

//BA.debugLineNum = 31;BA.debugLine="Dim dss As DisplayScreenSize";
_dss = new anywheresoftware.b4a.sample.DisplayScreenSize();

public static anywheresoftware.b4a.sample.DisplayScreenSize _dss = null;

_dblscreensize = anywheresoftware.b4a.keywords.Common.Round2(_dss.GetScreenDiagonalSize(),(int) (2));

Thanks
Tom
 
Upvote 0
Top