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 /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
package teste.camera; import java.io.BufferedOutputStream; import java.io.FileOutputStream; import java.io.IOException; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.provider.MediaStore.Images; import android.util.Log; import android.widget.ImageView; public class TesteIntent extends Activity { private static final String CATEGORIA = "livro"; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { Intent i = new Intent("android.media.action.IMAGE_CAPTURE"); startActivityForResult(i, 5); } catch (Exception e) { Log.e(CATEGORIA, e.getMessage()); } } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); Bundle extras = data.getExtras(); Bitmap b = (Bitmap) extras.get("data"); System.out.println(b.getWidth() + ", " + b.getHeight()); ImageView img = new ImageView(this); img.setImageBitmap(b); setContentView(img); try { FileOutputStream out = openFileOutput("camera.jpg", MODE_APPEND); BufferedOutputStream bos = new BufferedOutputStream(out); b.compress(Bitmap.CompressFormat.JPEG, 100, out); bos.flush(); bos.close(); } catch (IOException ex) { Log.e(CATEGORIA, ex.getMessage()); } } }