question

aiyer avatar image
aiyer asked hammer answered

How to detect if I'm running on a clover machine or not?

I'm wondering if there's a simple way to check whether the device my app is running on is a clover machine or not. Is there a way to return whether its a mini or a station etc?

Thanks

10 |2000

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

hammer avatar image
hammer answered

See android.os.Build#MANUFACTURER.

For further information, see http://developer.android.com/referenc...

10 |2000

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

Mike M avatar image
Mike M answered

We also have a utility method to simplify it further for you: Platform.java#L37

10 |2000

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