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 mago.android.flickr; import java.io.IOException; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.util.Log; import android.widget.ImageButton; import android.widget.RelativeLayout.LayoutParams; public class LayoutDemo extends Activity { String[] urlList = { "http://farm1.static.flickr.com/23/24760921_bb7d2887d4_s.jpg", "http://farm1.static.flickr.com/9/13482809_ff6b656dda_s.jpg", "http://farm1.static.flickr.com/72/214374494_d34d1ab77c_s.jpg", "http://farm1.static.flickr.com/120/281432030_ec8185d2f4_s.jpg", "http://farm1.static.flickr.com/23/29766757_6417c1c308_s.jpg", "http://farm1.static.flickr.com/10/13340408_9c3c2a7891_s.jpg", "http://farm1.static.flickr.com/12/17668936_203a8690f7_s.jpg", "http://farm1.static.flickr.com/90/276238092_56a09356ee_s.jpg" }; public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.layout_demo); for (int i = 0; i < urlList.length; i++) { addImageButton(urlList[i],(i+1)); } } private void addImageButton(String urlStr, int buttonId) { ImageButton imgButton = new ImageButton(this); imgButton.setId(buttonId); LayoutParams lp = new LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT ); if (buttonId > 0) { lp.addRule( android.widget.RelativeLayout.ALIGN_WITH_PARENT_RIGHT, (buttonId - 1) ); } try { URL url = new URL(urlStr); HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); Bitmap image = BitmapFactory.decodeStream(urlConnection.getInputStream()); imgButton.setImageBitmap(image); addContentView(imgButton, lp); Log.e(LayoutDemo.class.getName(), "add "+ urlStr); } catch (MalformedURLException e) { showAlert("MalformedURLException", e.getMessage() , "Ok", true); } catch (IOException e) { showAlert("IOException", e.getMessage() , "Ok", true); } } }