I’d like to find out (at run time, from C++), whether I’m running on a 
phone/tablet as opposed to a desktop.

Is there any way to do that?

Checking for Arm isn’t good enough, because a Chromebook runs on Arm, but isn’t 
a phone or tablet.

Or, to put it differently, I’d like to find out whether I’m running in a touch 
environment as opposed to a desktop environment.

Does anyone have any ideas?

Thanks,

Michi.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to