Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

MSDOS is not dead, it just smells that way. -- Henry Spencer


computers / comp.mobile.android / Re: How to check aspect ratio?

SubjectAuthor
* How to check aspect ratio?Jakub
`- Re: How to check aspect ratio?J.B. Wood

1
How to check aspect ratio?

<63860263$0$549$65785112@news.neostrada.pl>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=35415&group=comp.mobile.android#35415

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Date: Tue, 29 Nov 2022 14:00:43 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.5.0
Newsgroups: comp.mobile.android
Content-Language: pl
From: jak...@interia.pl (Jakub)
Subject: How to check aspect ratio?
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 29
Message-ID: <63860263$0$549$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 37.47.235.206
X-Trace: 1669726819 unt-rea-b-01.news.neostrada.pl 549 37.47.235.206:20432
X-Complaints-To: abuse@news.neostrada.pl
X-Received-Bytes: 1481
 by: Jakub - Tue, 29 Nov 2022 13:00 UTC

If i want check Resolution what camera have.
I use this:

val manager = ctivity.getSystemService(AppCompatActivity.CAMERA_SERVICE)
as CameraManager

try {
for ( element in manager.cameraIdList ) {
val characteristics = manager.getCameraCharacteristics(element)
//characteristics.

val map =
characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)
val imageDimensionList: ArrayList<Size> = ArrayList()

for (size in map!!.getOutputSizes(ImageFormat.JPEG)) {
imageDimensionList.add(size)
}

}
} catch ( _ : CameraAccessException ) {
}

how to check aspect ratio ?

Greet Jakub

Re: How to check aspect ratio?

<tm5u1g$ms2$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=35437&group=comp.mobile.android#35437

  copy link   Newsgroups: comp.mobile.android
Path: i2pn2.org!i2pn.org!aioe.org!bHGpgPurfxMrDE6tgRZ9iQ.user.46.165.242.75.POSTED!not-for-mail
From: arl_123...@hotmail.com (J.B. Wood)
Newsgroups: comp.mobile.android
Subject: Re: How to check aspect ratio?
Date: Tue, 29 Nov 2022 16:37:01 -0500
Organization: Aioe.org NNTP Server
Message-ID: <tm5u1g$ms2$1@gioia.aioe.org>
References: <63860263$0$549$65785112@news.neostrada.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="23426"; posting-host="bHGpgPurfxMrDE6tgRZ9iQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Thunderbird/78.6.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: J.B. Wood - Tue, 29 Nov 2022 21:37 UTC

On 11/29/2022 8:00 AM, Jakub wrote:

> how to check aspect ratio ?

I don't know how to do it programmatically but any user can get that
information from an open source app which you can look at their code.

https://play.google.com/store/apps/details?id=com.airbeat.device.inspector
--
J. B. Wood e-mail: arl_123234@hotmail.com


computers / comp.mobile.android / Re: How to check aspect ratio?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor