JoeChu
HomeArchivesLifeC/C++CG/CVInterviewMiscToolWealthResources
  • Tags
  • android
Posted 2025-04-13 Joe Chu misc6 minutes read (About 831 words)

Display Correct Aspect Ratio of Camera Preview in Android

In this post, we’ll dive into the key concepts and techniques for adjusting the size of a SurfaceView to match the camera preview’s aspect ratio and ensure a distortion-free display.

Read more
Posted 2024-10-23 Joe Chu misc5 minutes read (About 683 words)

JNI Registers Native Methods

Register native C++ methods for Java to access them.

Read more
Posted 2024-06-23 Joe Chu CGV4 minutes read (About 638 words)

Rendering Using Native OpenGL on Android - 2

We will load a jpeg file as a texture image and render it on the screen.

Read more
Posted 2024-06-22 Joe Chu misc4 minutes read (About 631 words)

Cross Compile libjpeg for Android

Host machine: MacOS
Target device: Android armv8a

Read more
Posted 2024-06-19 Joe Chu CGV2 minutes read (About 234 words)

Rendering Using Native OpenGL on Android - 1

  1. Use Android SurfaceView for rendering surface.
  2. In native code, create a rendering thread and call OpenGL for rendering in the same thread.
Read more
Joe Chu

Joe Chu

I like to keep knowledge and memories visible and readable.

Fremont, CA

Posts

255

Categories

8

Tags

198

Follow

Advertisement

Recents

2025-12-31

Last Day of 2025

life

2025-12-30

Missing vkCmdBeginRendering and vkCmdEndRendering on MacOS

CGV

2025-12-25

Christmas Road Trip

life

2025-12-14

Taishan Cuisine

life

2025-12-05

Calculate Projection Matrix

CGV

Archives

  • 2025108
  • 2024107
  • 202339
  • 20221
JoeChu

© 2025 Joe Chu  Powered by Hexo & Icarus
uv 0
pv 0

© 2019

×