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


Groups > comp.lang.javascript > #27567 > unrolled thread

smart phone with two camaras / can I select one?

Started by"Jörg W." <nn@7b5.de>
First post2015-05-08 23:18 +0200
Last post2015-05-09 01:51 +0200
Articles 12 — 4 participants

Back to article view | Back to comp.lang.javascript


Contents

  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

#27567 — smart phone with two camaras / can I select one?

From"Jörg W." <nn@7b5.de>
Date2015-05-08 23:18 +0200
Subjectsmart phone with two camaras / can I select one?
Message-ID<cr4nglF860uU2@mid.individual.net>
Hello,

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

Thanks in advance.

Jörg

[toc] | [next] | [standalone]


#27568

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2015-05-08 23:36 +0200
Message-ID<XnsA494F034ED1C9eejj99@194.109.133.246>
In reply to#27567
=?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)

[toc] | [prev] | [next] | [standalone]


#27572

From"Jörg W." <nn@7b5.de>
Date2015-05-09 19:14 +0200
Message-ID<cr6tkjFoqfgU2@mid.individual.net>
In reply to#27568
On 08.05.2015 23:36, Evertjan. wrote:
> =?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.
> 
That's bad. I want to be sure, the camara is always the one for
landscape, not the selfy-cam with low resolution.

Thanks

Jörg

[toc] | [prev] | [next] | [standalone]


#27573

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2015-05-09 20:17 +0200
Message-ID<XnsA495CE70D94EAeejj99@194.109.133.246>
In reply to#27572
=?UTF-8?B?IkrDtnJnIFcuIg==?= <nn@7b5.de> wrote on 09 mei 2015 in 
comp.lang.javascript:

> On 08.05.2015 23:36, Evertjan. wrote:
>> =?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.
>> 
> That's bad. I want to be sure, the camara is always the one for
> landscape, not the selfy-cam with low resolution.

So you become sure by reading what I say?

Better rely on arguments than on authority.

What about my code, is that satisfactory?

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

[toc] | [prev] | [next] | [standalone]


#27577

From"Jörg W." <nn@7b5.de>
Date2015-05-10 18:20 +0200
Message-ID<cr9eq5Fe20kU1@mid.individual.net>
In reply to#27573
On 09.05.2015 20:17, Evertjan. wrote:
> =?UTF-8?B?IkrDtnJnIFcuIg==?= <nn@7b5.de> wrote on 09 mei 2015 in 
> comp.lang.javascript:
> 
>> On 08.05.2015 23:36, Evertjan. wrote:
>>> =?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.
>>>
>> That's bad. I want to be sure, the camara is always the one for
>> landscape, not the selfy-cam with low resolution.
> 
> So you become sure by reading what I say?
> 
> Better rely on arguments than on authority.
> 
> What about my code, is that satisfactory?
> 
Are "back camera" and "front camera" the names of Android camaras?
Can I use these to get a picture or a video?

Jörg

[toc] | [prev] | [next] | [standalone]


#27578

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2015-05-10 19:17 +0200
Message-ID<XnsA496C439B91F2eejj99@194.109.133.246>
In reply to#27577
=?UTF-8?B?IkrDtnJnIFcuIg==?= <nn@7b5.de> wrote on 10 mei 2015 in 
comp.lang.javascript:

> On 09.05.2015 20:17, Evertjan. wrote:
>> =?UTF-8?B?IkrDtnJnIFcuIg==?= <nn@7b5.de> wrote on 09 mei 2015 in 
>> comp.lang.javascript:
>> 
>>> On 08.05.2015 23:36, Evertjan. wrote:
>>>> =?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.
>>>>
>>> That's bad. I want to be sure, the camara is always the one for
>>> landscape, not the selfy-cam with low resolution.
>> 
>> So you become sure by reading what I say?
>> 
>> Better rely on arguments than on authority.
>> 
>> What about my code, is that satisfactory?
>> 
> Are "back camera" and "front camera" the names of Android camaras?
> Can I use these to get a picture or a video?

1
You are not responding to my questions. This NG is not a paid helpdesk.

2 
Your latest above Q is not related to Javascript so it is off topic. Asking 
off topic Q is not polite on usenet. Please go somewhere else with your Q or 
kee pn topic on this NG.



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

[toc] | [prev] | [next] | [standalone]


#27579

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2015-05-10 19:28 +0200
Message-ID<6066887.0bdWtd8pBC@PointedEars.de>
In reply to#27577
Jörg W. wrote:

> On 09.05.2015 20:17, Evertjan. wrote:
>> =?UTF-8?B?IkrDtnJnIFcuIg==?= <nn@7b5.de> wrote on 09 mei 2015 in
>> comp.lang.javascript:

Fix your newsreader.  And I do _not_ mean only the attribution novel.

>>> On 08.05.2015 23:36, Evertjan. wrote:
>>>> var better = true; // or !true
>>>> var selected = (better) ?"back camera" :"front camera";
>>>>
>>>> However using javascript in a browser probably not.
>>>
>>> That's bad. I want to be sure, the camara is always the one for
>>> landscape, not the selfy-cam with low resolution.
>> 
>> So you become sure by reading what I say?
>> 
>> Better rely on arguments than on authority.
>> 
>> What about my code, is that satisfactory?

Your code is a bad joke.  It has to be.

> Are "back camera" and "front camera" the names of Android camaras?
> Can I use these to get a picture or a video?

No and no.  You do have googled before you asked, have you not?

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

[toc] | [prev] | [next] | [standalone]


#27581

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2015-05-10 22:30 +0200
Message-ID<XnsA496E4E57DBAEeejj99@194.109.133.246>
In reply to#27579
Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote on 10 mei 2015 in 
comp.lang.javascript:

>>> What about my code, is that satisfactory?
> 
> Your code is a bad joke.  It has to be.

Perhaps a joke, it sometimes looks like your level of humor is very low 
if any joke "has to be" a bad one, Pointy.

>> Are "back camera" and "front camera" the names of Android camaras?
>> Can I use these to get a picture or a video?
> 
> No and no.  You do have googled before you asked, have you not?

It looks like the OP didn't, but either way, it is off topic. 

Next thing the OP will ask us advice how to use a boyfriend.

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

[toc] | [prev] | [next] | [standalone]


#27595

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2015-05-11 19:43 +0200
Message-ID<4236958.oMh4Ohv8Ha@PointedEars.de>
In reply to#27581
Evertjan. wrote:

> Thomas 'PointedEars' Lahn […]:
>>>> What about my code, is that satisfactory?
>> Your code is a bad joke.  It has to be.
> 
> Perhaps a joke, it sometimes looks like your level of humor is very low
> if any joke "has to be" a bad one, Pointy.

Well, either it was a bad joke, or I must assume that you have either not 
read or not understood the OP.  It was about how to *select* one of the 
cameras of a mobile device as capturing device.

BTW, “Pointy” is not a proper way to address me, Janni-baby.

> Next thing the OP will ask us advice how to use a boyfriend.

Gibberish.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

[toc] | [prev] | [next] | [standalone]


#27598

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2015-05-11 19:51 +0200
Message-ID<XnsA497CA0AC39ACeejj99@194.109.133.246>
In reply to#27595
Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote on 11 mei 2015 in 
comp.lang.javascript:

> Evertjan. wrote:
> 
>> Thomas 'PointedEars' Lahn [ƒ İ]:
>>>>> What about my code, is that satisfactory?
>>> Your code is a bad joke.  It has to be.
>> 
>> Perhaps a joke, it sometimes looks like your level of humor is very low
>> if any joke "has to be" a bad one, Pointy.
> 
> Well, either it was a bad joke, or I must assume that you have either not 
> read or not understood the OP.  

Perhaps you say this because you assume that would hurt me,
because it would hurt you?

Well, you may assume what you like, and may think you must,
so be it.

> It was about how to *select* one of the 
> cameras of a mobile device as capturing device.

Yes?

> BTW, ƒ oPointyƒ   is not a proper way to address me,

Why, and do you decide that?

Janni-baby.

Seems you are getting angry? How interesting.

>> Next thing the OP will ask us advice how to use a boyfriend.
> 
> Gibberish.

You are forgiven if you don't understand something.

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

[toc] | [prev] | [next] | [standalone]


#27600

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2015-05-11 20:17 +0200
Message-ID<18835930.tmzIvYj8iI@PointedEars.de>
In reply to#27598
Evertjan. wrote:

> Thomas 'PointedEars' Lahn […] wrote […]:
>> Evertjan. wrote:
>> It was about how to *select* one of the
>> cameras of a mobile device as capturing device.
> 
> Yes?

Which your code does not.  Not even remotely.

>> BTW, � oPointy�   is not a proper way to address me,
> 
> Why, and do you decide that?
> 
>> Janni-baby.
> 
> Seems you are getting angry? How interesting.

See, that is how far *your* sense of humor *really* goes.

JFYI: <https://www.youtube.com/watch?v=SDLdg4m75AQ>

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

[toc] | [prev] | [next] | [standalone]


#27569

From"Christoph M. Becker" <cmbecker69@arcor.de>
Date2015-05-09 01:51 +0200
Message-ID<miji6j$m6i$1@solani.org>
In reply to#27567
"Jörg W." wrote:

> Hello,
> 
> smart phones and other equipment may have several cameras.

Indeed.

> Is it possible to select the better camara with javascript?

Maybe.

> Thanks in advance.

You're welcome.

SCNR.

*Please* read <http://www.catb.org/esr/faqs/smart-questions.html> and
try to improve your question accordingly – as it's now, it doesn't make
much sense.

-- 
Christoph M. Becker

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web