openframeworks / openframeworks/openFrameworks

Android camera example doesn't display image on some devices

Open
#2,923 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

addon android bug section-hardware section-video
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

I copied the Android camera example (it's basically identical besides the names) and I can't get it to display the camera image on my Note II; on the Note 10.1 it works just fine. Killing and relaunching the app doesn't work. All I can see is empty white space or occasionally a completely white image (whiter than the background so it stands out) where the camera image is supposed to be.

The Note II LTE (GT-N7105) has Cyanogenmod 10.2.0-t0lte on it (based on Android 4.3.1). It has a Mali-400MP4 GPU with GLES 2.0 support.

The Note 10.1 (SM-P600) has the official Samsung rom (based on Android 4.3). It has a Mali-T628 GPU with GLES 3.0 support.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The payload names the Android camera example but no file or test. Start by locating that example and reproducing the blank or white camera image on the Note II configuration, then compare it with the working Note 10.1 setup and their GLES versions. Done means the camera image displays reliably on the affected device.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp
Domain
computer-graphics, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.