Help:GLSurface View on top of camera preview

by mudit » Fri, 05 Jun 2009 03:12:06 GMT

Sponsored Links

How can we display GL surface view on the top of camera preview?


Other Threads

1. SurfaceView transparent through to its parent?

I have a SurfaceView that is covering a portion of its parent, a
RelativeLayout.  I have a background image covering the full
RelativeLayout area, and this is my Activity's main layout.

I would like to have the SurfaceView be transparent so that I can see
through to the background image on its parent RelativeLayout.  I have
tried the approach shown in the API Demos example
TranslucentGLSurfaceViewActivity, but this succeeds in making the
transparency go all the way through my Activity to my desktop!

I'm using the "style/Theme.Translucent" theme on my activity, and
setting this on my SurfaceView:

The transparency to the desktop it kinda cool, but not what I'm trying
to do!  Is it possible to make a SurfaceView transparent only through
to its parent?


2. How to bring a existing activity to foregroung when the application icon in program list is clicked

When the application icon in program list is clicked, create a new activity if 
the activity does not exist, or bring the existing activity to foreground. I 
tried to add add launchMode to manifest but that does not take effect, The 
related part of manifest like:
      <activity android:name=".MyActivity"
                <action android:name="android.intent.action.MAIN" />
android:name="android.intent.category.LAUNCHER" />

How can I implement it? Thanks in advance!



3. wifi signal question

4. Market numbers are weird the last few days

5. listview lose focus when touch

6. - 5 day Android Bootcamp - GIVEAWAY!

7. Size of data type "enum"