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 org.kmad; import android.app.ListActivity; import android.content.Context; import android.database.DataSetObserver; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.view.*; import android.view.animation.Animation; import android.widget.*; import android.widget.AbsListView.OnScrollListener; import org.kmad.R; import org.kmad.R.id; import org.kmad.R.layout; public class MultiCityView extends ListActivity implements ListView.OnScrollListener, Adapter { private TextView mStatus; private SuchAbfrage sa = TabSuche.getSuchAbfrageObjekt(); //Übergibt das Objekt der Suchabfrage von TabSuche auf MultiCityView private boolean mBusy = false; private Context mContext; private int k = 1; private ListView ls; private TextView text; private class SlowAdapter extends BaseAdapter { private LayoutInflater mInflater; public SlowAdapter(Context context) { // Spreicher die schon geladenten Cities mContext = context; mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); } // getCont, getItem, getItemId müssen drin sein, weil sie abstrakt sind von den ListView Interface public int getCount() { return sa.getTotalCityNumber(); } public Object getItem(int position) { return position; } public long getItemId(int position) { return position; } public View getView(int i, View convertView, ViewGroup parent) { //Speicher das wir schon drin hatte TextView text; if (convertView == null) { text = (TextView)mInflater.inflate(android.R.layout.simple_list_item_1, parent, false); } else { text = (TextView)convertView; } if (!mBusy) { if (k <= 5){ text.setText(sa.getCityName(i)+", "+ sa.getLocation_Information(i)); // Null tag means the view has the correct data text.setTag(null); k++; } } else { text.setText("Loading..."); sa.reloadCities(); // Non-null tag means the view still needs to load it's data text.setTag(this); } return text; } } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.multicityview); mStatus = (TextView) findViewById(R.id.status); //Objekt der SuchAbfrage Übergeben lassen; mStatus.setText((String) getResources().getText(R.string.MultiCityView_String_ZahlderCity)+" "+ sa.getTotalCityNumber()); // Use an existing ListAdapter that will map an array // of strings to TextViews setListAdapter(new SlowAdapter(this)); getListView().setOnScrollListener(this); // Mein Close bzw. zurück Button Button close = (Button) findViewById(R.id.MulitCityView_CityButton_Close); close.setOnClickListener(new View.OnClickListener(){ public void onClick(View v){ finish(); } }); } public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount){} public void onScrollStateChanged(AbsListView view, int scrollState) { switch (scrollState) { case OnScrollListener.SCROLL_STATE_IDLE: mBusy = false; int first = view.getFirstVisiblePosition(); int count = view.getChildCount(); for (int i=0; i