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.simetex; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import android.app.DatePickerDialog; import android.widget.DatePicker; import android.widget.TimePicker; import android.app.TimePickerDialog; import android.widget.Button; import android.view.View; import java.util.Calendar; public class MyThirdAndroid extends Activity { /** Called when the activity is first created. */ private TextView tvDisplay; private int mYears; private int mMonths; private int mDates; private int mHours; private int mMinute; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); tvDisplay = (TextView) findViewById(R.id.display); Button pickTime = (Button) findViewById(R.id.pickTime); pickTime.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { new DatePickerDialog(MyThirdAndroid.this, mDateListener, mYears, mMonths, mDates, Calendar.SUNDAY).show(); } }); Button pickDate = (Button) findViewById(R.id.pickDate); pickDate.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { new TimePickerDialog(MyThirdAndroid.this, mTimeListener, "setTime", mHours, mMinute, false).show(); } }); final Calendar c = Calendar.getInstance(); mYears = c.get(Calendar.YEAR); mMonths = c.get(Calendar.MONTH); mDates = c.get(Calendar.DAY_OF_MONTH); mHours = c.get(Calendar.HOUR_OF_DAY); mMinute = c.get(Calendar.MINUTE); updateDisplay(); } private void updateDisplay() { tvDisplay.setText(new StringBuilder().append(mMonths).append("-") .append(mDates).append("-").append(mYears).append("").append( pad(mHours)).append(":").append(pad(mMinute))); } private DatePicker.OnDateSetListener mDateListener = new DatePicker.OnDateSetListener() { public void dateSet(DatePicker view, int yearx, int monthOfYear, int dateOfMonth) { mYears = yearx; mMonths = monthOfYear; mDates = dateOfMonth; updateDisplay(); } }; private TimePicker.OnTimeSetListener mTimeListener = new TimePicker.OnTimeSetListener() { public void timeSet(TimePicker view, int hoursx, int minutex) { mHours = hoursx; mMinute = minutex; updateDisplay(); } }; private static String pad(int c) { if (c > 10) { return String.valueOf(c); } else { return "0".concat(String.valueOf(c)); } } }