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)
public class ImageThumbnailsActivity extends Activity { /** Called when the activity is first created. */ private Cursor imagecursor, actualimagecursor; private int image_column_index, actual_image_column_index; private GridView imagegrid; private int count; private static final String TAG = "ImageThumbnailsActivity"; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); init_phone_image_grid(); } private void init_phone_image_grid() { String[] img = { MediaStore.Images.Thumbnails._ID }; imagecursor = managedQuery( MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, img, null, null, MediaStore.Images.Thumbnails.IMAGE_ID); Log.v(TAG, "EXTERNAL_C "+MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI); image_column_index = imagecursor.getColumnIndexOrThrow(MediaStore.Images.Thumbnails._ID); Log.v(TAG, "COUNT= " + count); imagegrid = (GridView) findViewById(R.id.PhoneImageGrid); imagegrid.setAdapter(new ImageAdapter(this)); } public class ImageAdapter extends BaseAdapter { private Context mContext; public ImageAdapter(Context c) { mContext = c; } public int getCount() { return imagecursor.getCount(); } public Object getItem(int position) { return position; } public long getItemId(int position) { return position; } public View getView(int position, View convertView, ViewGroup parent) { imagecursor.moveToPosition(position); int id = imagecursor.getInt(image_column_index); ImageView i; if (convertView == null){ i = new ImageView(mContext); i.setLayoutParams(new GridView.LayoutParams(92, 92)); i.setAdjustViewBounds(false); i.setScaleType(ImageView.ScaleType.CENTER_CROP); i.setPadding(2, 2, 2, 2); Log.v(TAG, "image1"); }else { i = (ImageView) convertView; Log.v(TAG, "image2"); } i.setImageURI(Uri.withAppendedPath( MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, "" + id)); return i; } } }