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 com.gpsdroid; import java.util.List; import android.database.Cursor; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView; import android.widget.ZoomControls; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity; import com.google.android.maps.MapView; import com.google.android.maps.Overlay; import com.google.android.maps.OverlayItem; public class MapsActivity extends MapActivity { private Animation animShow, animHide; List mapOverlays; Drawable drawable; HelloItemizedOverlay itemizedOverlay; LinearLayout linearLayout; MapView mapView; ZoomControls mZoom; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); linearLayout = (LinearLayout) findViewById(R.id.zoom); mapView = (MapView) findViewById(R.id.mapView); mZoom = (ZoomControls) mapView.getZoomControls(); linearLayout.addView(mZoom); mapOverlays = mapView.getOverlays(); drawable = this.getResources().getDrawable(R.drawable.pushpin); itemizedOverlay = new HelloItemizedOverlay(drawable); GeoPoint point = new GeoPoint(19240000, -99120000); OverlayItem overlayitem = new OverlayItem(point, "", ""); GeoPoint point2 = new GeoPoint(35410000, 139460000); OverlayItem overlayitem2 = new OverlayItem(point2, "", ""); // GeoPoint point3 = new GeoPoint(latitudeE6, longitudeE6); // OverlayItem overlayItem3 = new OverlayItem(point3, "", ""); itemizedOverlay.addOverlay(overlayitem2); itemizedOverlay.addOverlay(overlayitem); mapOverlays.add(itemizedOverlay); dbOperator(); } private void dbOperator() { DatabaseHandler handler = new DatabaseHandler(this); handler.open(); handler.insertInTodo((long)1, "Rahul", "project", null, "todo", null); Cursor cursor= handler.fetchAllRowsFromTodo(); handler.close(); System.out.println("success"); } @Override protected boolean isRouteDisplayed() { return false; } private void initPopup() { final TransparentPanel popup = (TransparentPanel) findViewById(R.id.popup_window); setContentView(popup ); // Start out with the popup initially hidden. popup.setVisibility(View.VISIBLE); popup.startAnimation( animShow ); final Object animShow = AnimationUtils.loadAnimation( this, R.anim.popup_show); animHide = AnimationUtils.loadAnimation( this, R.anim.popup_hide); final Button hideButton = (Button) findViewById(R.id.hide_popup_button); final Button showButton = (Button) findViewById(R.id.show_popup_button); showButton.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { popup.setVisibility(View.VISIBLE); popup.startAnimation( (Animation) animShow ); showButton.setEnabled(false); hideButton.setEnabled(true); }}); hideButton.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { popup.startAnimation( animHide ); showButton.setEnabled(true); hideButton.setEnabled(false); popup.setVisibility(View.GONE); }}); final TextView locationName = (TextView) findViewById(R.id.location_name); final TextView locationDescription = (TextView) findViewById(R.id.location_description); locationName.setText("dummyName"); locationDescription.setText("foobarbaz"); } public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.menu, menu); return true; } public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case (R.id.show_popup_button): //initPopup(); System.out.println("initPopup is success"); return true; case (R.id.quit): finish(); return true; } return false; } }