相机像素Android Studio

时间:2015-11-30 07:37:49

标签: camera android-camera

我们可以在Android Studio中显示相机像素(主要和次要)吗?如果是,如何显示?

val hdfs: org.apache.hadoop.fs.FileSystem =
  org.apache.hadoop.fs.FileSystem.get(
    new org.apache.hadoop.conf.Configuration())

val hadoopPath= new org.apache.hadoop.fs.Path("hdfs://localhost:9000/tmp")
val recursive = false
val ri = hdfs.listFiles(hadoopPath, recursive)
val it = new Iterator[org.apache.hadoop.fs.LocatedFileStatus]() {
  override def hasNext = ri.hasNext
  override def next() = ri.next()
}

// Materialize iterator
val files = it.toList
println(files.size)
println(files.map(_.getLen).sum)

我将“getCameraCharacteristics()”留空了。请帮帮我。

1 个答案:

答案 0 :(得分:1)

您可以查看此来源: Camera2Raw