T Tom McNeilly New Member Licensed User Longtime User Aug 17, 2015 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Aug 17, 2015 #2 This is not a type. Can you post the code that uses this identifier? Upvote 0
T Tom McNeilly New Member Licensed User Longtime User Aug 17, 2015 #3 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
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
Erel B4X founder Staff member Licensed User Longtime User Aug 17, 2015 #4 Not sure where it comes from. You can use GetDeviceLayoutValues.ApproximateScreenSize to get the screen size. Upvote 0
Not sure where it comes from. You can use GetDeviceLayoutValues.ApproximateScreenSize to get the screen size.
T Tom McNeilly New Member Licensed User Longtime User Aug 18, 2015 #5 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
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
Erel B4X founder Staff member Licensed User Longtime User Aug 18, 2015 #6 This is a custom type declared in a different module. Upvote 0