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 cn.com.child; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import android.app.ListActivity; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.widget.ListView; import android.widget.SimpleAdapter; public class data extends ListActivity { public static final String AUTHORITY="cn.com.provider.child"; public static final Uri CONTENT_URI=Uri.parse("content://"+AUTHORITY+"/station"); private static final String [] PROJECTION=new String []{ "s_id","s_name"}; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); //Return the intent that started this activity. Intent intent=getIntent(); if(intent.getData()==null) intent.setData(CONTENT_URI); Cursor cur=getContentResolver().query(getIntent().getData(),PROJECTION,null,null,null); ArrayList> coll =new ArrayList>(); Mapitem; cur.moveToFirst(); while(!cur.isAfterLast()){ item=new HashMap(); item.put("c1",cur.getString(0)+","+cur.getString(1)); coll.add(item); cur.moveToNext(); } this.setListAdapter(new SimpleAdapter(this,coll,android.R.layout.simple_list_item_1,new String[]{"c1"},new int[]{ android.R.id.text1})); } @Override protected void onListItemClick(ListView l, View v, int position, long id) { // TODO Auto-generated method stub // super.onListItemClick(l, v, position, id); finish(); } }