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 de.padde.DBtest; import android.app.Activity; import android.graphics.BitmapFactory; import android.os.Bundle; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; public class DBtest extends Activity { private DBhelper DbHelper; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); LinearLayout layout = new LinearLayout(this); ImageView image = new ImageView(this); TextView text = new TextView(this); DbHelper = new DBhelper(this); Fruit testFruit = new Fruit( BitmapFactory.decodeResource(getResources(), R.drawable.icon), "Icon", 100, 0); DbHelper.open(); DbHelper.createFruitEntry(testFruit); DbHelper.close(); testFruit = null; DbHelper.open(); testFruit = DbHelper.getFirstFruitFromDB(); DbHelper.close(); image.setImageBitmap(testFruit.getBitmap()); text.setText("Name: "+testFruit.getName()+", " +testFruit.getKcal()+"kcal, " +testFruit.getVitaminC()+"mg Vitamin C"); ViewGroup.LayoutParams params = new ViewGroup.LayoutParams( LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT); setContentView(layout); addContentView(image, params); addContentView(text, params); } }