ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #17618
Re: Find out if running on a phone
>
> > Just try to exec getprop. It is only available on systems that are
> > running an Android container.
>
> That's not working when confined, is it?
>
> What about passing an argument to the app only when called on the phone,
via the desktop file in the click and checking for that argument? This is
not what I use right now though in TextSecure (just check for
/home/phablet, knowing I can add some more dirs to that check to increase
the probability the app runs on the phone).
Follow ups
References
-
Find out if running on a phone
From: Michi Henning, 2016-01-10
-
Re: Find out if running on a phone
From: Michael Zanetti, 2016-01-10
-
Re: Find out if running on a phone
From: Michi Henning, 2016-01-10
-
Re: Find out if running on a phone
From: Michael Zanetti, 2016-01-10
-
Re: Find out if running on a phone
From: Michi Henning, 2016-01-11
-
Re: Find out if running on a phone
From: Michael Zanetti, 2016-01-11
-
Re: Find out if running on a phone
From: Michi Henning, 2016-01-11
-
Re: Find out if running on a phone
From: Michael Zanetti, 2016-01-11
-
Re: Find out if running on a phone
From: Michi Henning, 2016-01-11
-
Re: Find out if running on a phone
From: Thomas Voß, 2016-01-11
-
Re: Find out if running on a phone
From: Michael Zanetti, 2016-01-11