Download ThreadPool Demo APK latest version Free for Android
Version | 1.1 |
Update | 6 years ago |
Size | 1.73 MB (1,811,924 bytes) |
Developer | Ali Muzaffar |
Category | Apps, Libraries & Demo |
Package Name | au.com.alphamu.camerapreviewcaptureimage |
OS | 4.0.3 and up |
ThreadPool Demo APPLICATION description
Demo of burst capturing images with camera API using CameraPreview.
Demo of burst capturing images with camera API using CameraPreview.
The app captures the Camera Preview on a background handler thread.
It then performs the following actions in a threadpool.
* Converted from YUV `byte[]` to RGB `int[]`.
* Converted from RGB `int[]` to `Bitmap`.
* Bitmap is rotated if needed to fix orientation.
* A Thumbnail size Bitmap is made for displaying.
* Full size bitmap is written to disk as a Jpeg.
* JPEG image is uploaded to a server (mock upload, does not really upload anything).
Source code for the app available at: https://github.com/alphamu/ThreadPoolWithCameraPreview
Write-up on the code available at: https://medium.com/@ali.muzaffar/using-concurrency-and-speed-and-performance-on-android-d00ab4c5c8e3
The app captures the Camera Preview on a background handler thread.
It then performs the following actions in a threadpool.
* Converted from YUV `byte[]` to RGB `int[]`.
* Converted from RGB `int[]` to `Bitmap`.
* Bitmap is rotated if needed to fix orientation.
* A Thumbnail size Bitmap is made for displaying.
* Full size bitmap is written to disk as a Jpeg.
* JPEG image is uploaded to a server (mock upload, does not really upload anything).
Source code for the app available at: https://github.com/alphamu/ThreadPoolWithCameraPreview
Write-up on the code available at: https://medium.com/@ali.muzaffar/using-concurrency-and-speed-and-performance-on-android-d00ab4c5c8e3
↓ Read more
Old versions
Version | Size | Update |
---|---|---|
⇢ 1.1 (1 variants) | ↓ 1.73 MB | ◴ 6 years ago |
⇢ 1.0 (1 variants) | ↓ 1.42 MB | ◴ 7 years ago |