question

edward avatar image
edward asked Lorraine LIng answered

Detecting if device is Station Duo/Pro

This page recommends using DisplayManager to detect dual touchscreen devices. I'm assuming that this would be done using the getDisplays method. What would that method return for a Station Duo or Pro? If this isn't the best way to check for this, please suggest the recommended alternative.

Clover Android SDK
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Lorraine LIng avatar image
Lorraine LIng answered

I was able to use this to check if device is Mini or Flex (I had seen it a while back on a separate post). Hope it helps.

String deviceName = Settings.Global.getString(context.getContentResolver(), Settings.Global.DEVICE_NAME);
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community