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 - how to draw a simple 2D shape according to compass data

how to draw a simple 2D shape according to compass data

Tutorials concerning the OpenGL® ES cross-platform API for full-function 2D and 3D graphics on the Google-Android platform.

how to draw a simple 2D shape according to compass data

Postby vudin » Sun May 16, 2010 1:09 am

Hello to everyone;

I am trying to develop an application based on compass and camera surface. In the application there will be a camera preview and I want to draw a rectangle and text on this preview. When user turns the device aroun him, there will be rectangles showing the main directions. In other words; there must be 4 rectangles on North, West, South and East. When user turns the camera, he can see the rectangles in their directions (according to azimuth value).

Now I am able to get the azimuth value and I am able to draw a rectangle. But how can I make this rectangle moving according to azimuth value?

Can anyone help me?

I hope I could explain my problem in a good way, sorry about my English..
vudin
Freshman
Freshman
 
Posts: 2
Joined: Sun May 09, 2010 11:55 am

Top

Return to Android 2D/3D Graphics - OpenGL Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests