Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Trying to display OpenGL in a Tab

Trying to display OpenGL in a Tab

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Trying to display OpenGL in a Tab

Postby sentient » Fri Apr 03, 2009 12:14 pm

Hi guys
I'm using the IconifiedTextList example and extending it to try out the other android features in separate tabs
I'm using the OpenGL SurfaceViewActivity example in one of the tabs

This is how im calling the activity:

Code: Select all
tabHost.addTab(tabHost.newTabSpec("tabOpenGLViewLayout")
                .setIndicator("", getResources().getDrawable(R.drawable.icon))
                .setContent(new Intent(this, GLSurfaceViewActivity.class)));


However, it just displays a blank tab with a black background.

I'm guessing this is to do with the fact that it is a surface view - not sure though

can anyone give me any pointers?

cheers!
Do or do not, there is no try!
sentient
Freshman
Freshman
 
Posts: 8
Joined: Mon Feb 16, 2009 11:57 am
Location: London

Top

Postby sentient » Fri Apr 03, 2009 4:35 pm

got it to work, just placed the OpenGL tab at the top above the other tabs :)
still getting used to the layout file
Do or do not, there is no try!
sentient
Freshman
Freshman
 
Posts: 8
Joined: Mon Feb 16, 2009 11:57 am
Location: London

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 3 guests