Acknowledged
CIQQA-3370

Instinct 3 Solar has System.DeviceSettings.isTouchScreen in Simulator and on Device

The Instinct 3 Solar exposed the System.DeviceSettings.isTouchScreen-property. It is set to false, but this property is widely used to discern device that have a touch-screen from devices that do not have a touch screen.

In my opinion it should not be exposed on devices that don't have a touch-screen.

The property is exposed in the simulator and on device for the Instinct 3 Solar.

Parents
  • isTouchScreen by itself just means you can check if a device has a touch screen or not.  It's value determines if it's touch or not

    Consider this.  There is a has check to see if it's available, and if it is, the value is obtained.  Works fine for in sim the sim with a number of devices

    		var t=false;
    		if(System.getDeviceSettings() has :isTouchScreen) {
    			t=System.getDeviceSettings().isTouchScreen;
    		}
    		System.println("t="+t);

Comment
  • isTouchScreen by itself just means you can check if a device has a touch screen or not.  It's value determines if it's touch or not

    Consider this.  There is a has check to see if it's available, and if it is, the value is obtained.  Works fine for in sim the sim with a number of devices

    		var t=false;
    		if(System.getDeviceSettings() has :isTouchScreen) {
    			t=System.getDeviceSettings().isTouchScreen;
    		}
    		System.println("t="+t);

Children
No Data