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)
import java.util.ArrayList; import android.app.ListActivity; import android.content.Context; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.TextView; public class LineUserList extends ListActivity { ArrayList mUsers; UserAdapter mAdapter; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mUsers = new ArrayList(); for(int i = 1; i <= 50; i++){ User user = new User("user" + i, "no status available yet"); mUsers.add(user); } mAdapter = new UserAdapter(this, R.layout.user_list_item, mUsers); setListAdapter(mAdapter); } class User { private String mName; private String mStatus; public User(String name, String status) { mName = name; mStatus = status; } public String getName() { return mName; } public String getStatus() { return mStatus; } }// user private class UserAdapter extends ArrayAdapter { public UserAdapter(Context context, int textViewResourceId, ArrayList objects) { super(context, textViewResourceId, objects); } @Override public View getView(final int position, View convertView, ViewGroup parent) { View workView = convertView; if(workView == null) { LayoutInflater vi = (LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE); workView = vi.inflate(R.layout.online_user_list_item, null); } final User user = getItem(position); if(user != null) { TextView name = (TextView)workView.findViewById(R.id.user_name); if(name != null) { name.setText(user.getName()); } TextView status = (TextView)workView.findViewById(R.id.user_status); if(status != null) { status.setText(user.getStatus()); } } final Button button = (Button)workView.findViewById(R.id.list_button); button.setOnClickListener( new View.OnClickListener() { @Override public void onClick(View v) { button.setText(String.valueOf(position)); } }); return workView; }// getView }// UserAdapter }// OnLineUserList