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.PrinterStatus.AppLab; import java.util.ArrayList; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.example.printerstatus.R; import com.sonyericsson.extras.liveware.extension.controlsample.ControlWatch; public class ActivityToSmartWatch extends Activity { private Activity activity; private ArrayList data; private static LayoutInflater inflater = null; public String[] inkLevels = new String[5]; public final String EXTRA_MESSAGE = "com.PrinterStatus.Lab.MESSAGE"; View message; String [][] storePrintIMC= new String [4][4]; public static final String ARRAYS_COUNT = "com.PrinterStatus.Lab.ARRAYS_COUNT"; public static final String ARRAY_INDEX = "com.PrinterStatus.Lab.ARRAY_INDEX"; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Bundle bundle = new Bundle(); final String data[][] = storePrintIMC; int count = data.length; bundle.putInt(ARRAYS_COUNT, count); for (int i = 0; i < count; i++) { bundle.putStringArray(ARRAY_INDEX + i, data[i]); } Intent intent = new Intent(ActivityToSmartWatch.this, ControlWatch.class); intent.putExtras(bundle); startActivity(intent); } public ActivityToSmartWatch(Activity a, ArrayList inkLevels) { activity = a; data = inkLevels; inflater = (LayoutInflater) activity .getSystemService(Context.LAYOUT_INFLATER_SERVICE); } public int getCount() { return data.size(); } public Object getItem(int position) { return position; } public long getItemId(int position) { return position; } public String[] getPrintIMC (int position) { System.arraycopy(data.get(position), 0, inkLevels, 0, data.get(position).length); data.get(position); //sendMessage(message); if (position == 0 ) { storePrintIMC[0][0]=inkLevels[0]; storePrintIMC[0][1]=inkLevels[1]; storePrintIMC[0][2]=inkLevels[2]; storePrintIMC[0][3]=inkLevels[3]; } if (position == 1 ) { storePrintIMC[1][0]=inkLevels[0]; storePrintIMC[1][1]=inkLevels[1]; storePrintIMC[1][2]=inkLevels[2]; storePrintIMC[1][3]=inkLevels[3]; } if (position == 2 ) { storePrintIMC[2][0]=inkLevels[0]; storePrintIMC[2][1]=inkLevels[1]; storePrintIMC[2][2]=inkLevels[2]; storePrintIMC[2][3]=inkLevels[3]; } if (position == 3 ) { storePrintIMC[3][0]=inkLevels[0]; storePrintIMC[3][1]=inkLevels[1]; storePrintIMC[3][2]=inkLevels[2]; storePrintIMC[3][3]=inkLevels[3]; } return inkLevels; } }