Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1092933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:45:22+00:00 2026-05-16T23:45:22+00:00

I am trying to merge two examples from the ApiDemos so one overlay over

  • 0

I am trying to merge two examples from the ApiDemos so one overlay over the other.
1. CameraPreview.java
2. TranslucentGLSurfaceViewActivity.java

I guess GLSurfaceView is not really necessary, I saw demos that uses a GL layer as a Camera PreviewCallback, but since I am such a noob at OpenGL, I am kind of lost. Can someone points me toward the light (figuratively speaking)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T23:45:23+00:00Added an answer on May 16, 2026 at 11:45 pm

    Instead of using the setContentView function only use the addContentView function. If you create both views in code you can just pass them as an argument. If a view is created in an xml file, create a View object by inflating the xml with:

     View.inflate(this, R.layout.XMLname, null);
    

    Then you can just add both views and you are done. The trick here is however to add them in the right order. If I recall correctly, even though the logical order might be to first add the camera preview and then the GL surfacview, you need to do it the other way around. In case I am mistaking here, it should be easy to find out the correct order with your two possible options.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to merge the data from two tables into one result but
I'm trying to merge two docx-documents into one docx-document using OpenXML SDK 2.0. The
I'm trying to merge\combine two datatables. I've looked at various examples and answers but
I am trying to merge two similar tables (not exact) to one table. Getting
I'm trying to merge two XML documents. The first one is a kind of
I am trying to merge two .net regular expressions into one. The following expressions
I am trying to merge two sets of analytical data from two different providers.
Im trying to find simplest way to merge two arrays into the third one,
I am trying to merge two ggplot2 plots into one based on this table:
I am trying to merge the elements from two separate web.xml files using XSLT.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.