title: Function drawImage don't work on real device
body: <p>I'm trying to draw an image in paint function of my component. It's worked in emulator very well, but after compiling for real device function drawImage(Image img, int x, int y, int w, int h) doesn't work. For example:</p>
  
  <p>Emulator:</p>
  
  <p><img src="https://i.stack.imgur.com/vuiFo.jpg" alt="Emulator screenshot"></p>
  
  <p>Real device:</p>
  
  <p><img src="https://i.stack.imgur.com/6SS9T.jpg" alt="Real device screenshot"></p>
  
  <p>For this example was used this code:</p>
  
  <pre><code>g.setColor(0x1E7FCA);
  g.fillRect(getX(), getY(), getWidth(), getHeight());
  g.setColor(0xF91631);
  g.fillRect(getX() + mapX, getY() + mapY, mapWidth, mapHeight);
  g.drawImage(map, getX() + mapX, getY() + mapY, mapWidth, mapHeight);
  g.drawString(
  Integer.toString(getX() + mapX)+";"+
  Integer.toString(getY() + mapY)+"-"+
  Integer.toString(mapWidth)+";"+
  Integer.toString(mapHeight)+";", 0, 0);
  </code></pre>