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

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 - Image in a SurfaceView

Image in a SurfaceView

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Image in a SurfaceView

Postby pcmaster160 » Fri Jul 16, 2010 8:23 pm

I have a simple question but I haven't figured out how to do it yet. How can I put a image in a SurfaceView? I tried google, the android dev site and the lunar lander example but I can't find anything simple enough.

Thanks in advance
pcmaster160
Freshman
Freshman
 
Posts: 2
Joined: Fri Jul 16, 2010 8:03 pm

Top

Re: Image in a SurfaceView

Postby blundell » Sat Jul 17, 2010 12:14 pm

Is this what you were looking for?:
http://developer.android.com/guide/topi ... rom-images
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Image in a SurfaceView

Postby pcmaster160 » Sat Jul 17, 2010 8:55 pm

I guess that works but i need a way to set its its x and y axis and set the width and height. How would i do that. Sorry i'm a noob. and thanks for your response.
pcmaster160
Freshman
Freshman
 
Posts: 2
Joined: Fri Jul 16, 2010 8:03 pm

Top

Return to General

Who is online

Users browsing this forum: No registered users and 5 guests