Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Discussion > Android Applications

Android Applications All the information you could ever want about Android Applications. Learn about apps and get help with them... all here! New apps can be found and announced in the Applications Announcements forum linked below.



Reply
 
LinkBack Thread Tools
Old May 17th, 2010, 05:51 AM   #1 (permalink)
New Member
 
Join Date: May 2010
Location: Dhaka
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Getting double opengl object when try to draw an opengl object infront of camera

Hi,
I am pritom. I am new in android development. I am trying to drwa an object in top of the camera view....
Here is my code

Code:
   mPreview = new Preview(this);    
        mGLSurfaceView = new TouchSurfaceView(this);
        mGLSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT);
        mGLSurfaceView.setKeepScreenOn(true);      
          setContentView( mGLSurfaceView);         
          addContentView( mPreview, new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
I am getting 2 object and the position of the object not perfect....
Anybody have any idea..
Thanks In advance

Pritom Kushtia.

pritom057 is offline  
Reply With Quote
Sponsors
Reply

Bookmarks


Go Back   Android Forums > Android Discussion > Android Applications User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get Position of an object ????? aryaxt Application Development 0 June 14th, 2010 06:19 PM
Create object for ActivityManager saranya Application Development 1 May 7th, 2010 01:11 AM
OpenGL select object MaSTIK Application Development 0 April 23rd, 2010 07:01 AM
OpenGL 2.0 and android? spottyelephant Android Lounge 5 March 9th, 2010 04:12 PM



All times are GMT -5. The time now is 09:26 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo