You can use all the normal methods used normally on the web.

If you want to check if the device uses touch events rather than mouse
events I believe the common thing to do is to look for that API
specifically.

If you want to check for small-screen vs. large-screen then Kumar
linked to a good article.

Otherwise a common thing to do is to look at the UA string and look
for the "Mobi" token I believe.

/ Jonas

On Fri, Mar 22, 2013 at 12:48 PM, Nikos Roussos
<[email protected]> wrote:
> HI,
>
> Is there any easy way for detecting if my app is running on Firefox OS
> or Desktop?
> _______________________________________________
> dev-webapps mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-webapps
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to