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 - Drawable to imageView

Drawable to imageView

Put your problem here if it does not fit any of the other categories.

Drawable to imageView

Postby rouxette » Thu May 15, 2008 1:48 pm

Hi,

I need some ImageView in order to move my penguin.
my code was :
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. eq = (Equipe) tabEquipe.get(i);
  2.  
  3. ((Drawable)eq.getPions().get(0).getImage()).setBounds(x,y,x+28,y+28);
  4.  
  5. ((Drawable)eq.getPions().get(0).getImage()).draw(canvas);
Parsed in 0.013 seconds, using GeSHi 1.0.8.4

(-> it was working)

and i have changed that by :
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. ((ImageView)eq.getPions().get(0).getImage()).getDrawable().setBounds(x,y,x+28,y+28);
  2.  
  3. ((ImageView)eq.getPions().get(0).getImage()).draw(canvas);
Parsed in 0.010 seconds, using GeSHi 1.0.8.4


but i obtain : null pointer execption

Please, can you help me to transform my drawable into an ImageView. thx
rouxette
Once Poster
Once Poster
 
Posts: 1
Joined: Thu May 15, 2008 1:38 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 11 guests