Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #27568

Re: smart phone with two camaras / can I select one?

Newsgroups comp.lang.javascript
Subject Re: smart phone with two camaras / can I select one?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <cr4nglF860uU2@mid.individual.net>
Date 2015-05-08 23:36 +0200
Message-ID <XnsA494F034ED1C9eejj99@194.109.133.246> (permalink)

Show all headers | View raw


=?UTF-8?B?IkrDtnJnIFcuIg==?= <nn@7b5.de> wrote on 08 mei 2015 in 
comp.lang.javascript:

> smart phones and other equipment may have several cameras.
> Is it possible to select the better camara with javascript?

While a bit camera obscura,
because of the subjective nature of "better", 
and your specification of "other equipment",
it can be done:

var better = true; // or !true
var selected = (better) ?"back camera" :"front camera";

However using javascript in a browser probably not.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

smart phone with two camaras / can I select one? "Jörg W." <nn@7b5.de> - 2015-05-08 23:18 +0200
  Re: smart phone with two camaras / can I select one? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-08 23:36 +0200
    Re: smart phone with two camaras / can I select one? "Jörg W." <nn@7b5.de> - 2015-05-09 19:14 +0200
      Re: smart phone with two camaras / can I select one? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-09 20:17 +0200
        Re: smart phone with two camaras / can I select one? "Jörg W." <nn@7b5.de> - 2015-05-10 18:20 +0200
          Re: smart phone with two camaras / can I select one? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-10 19:17 +0200
          Re: smart phone with two camaras / can I select one? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-05-10 19:28 +0200
            Re: smart phone with two camaras / can I select one? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-10 22:30 +0200
              Re: smart phone with two camaras / can I select one? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-05-11 19:43 +0200
                Re: smart phone with two camaras / can I select one? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-11 19:51 +0200
                Re: smart phone with two camaras / can I select one? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-05-11 20:17 +0200
  Re: smart phone with two camaras / can I select one? "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-05-09 01:51 +0200

csiph-web