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 android.content.Intent; import android.os.Bundle; import android.widget.TextView; import android.widget.Toast; import com.actionbarsherlock.app.SherlockActivity; import com.actionbarsherlock.view.ActionMode; import com.actionbarsherlock.view.ActionMode.Callback; import com.actionbarsherlock.view.Menu; import com.actionbarsherlock.view.MenuItem; public class SQLVIEWCAT extends SherlockActivity { Intent intent; com.actionbarsherlock.view.ActionMode mMode; com.actionbarsherlock.view.ActionMode.Callback mCallback; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.sqlviewcat); TextView tv = (TextView)findViewById(R.id.tvSQLinfo); DbCat info = new DbCat(this); info.open(); String data = info.getDados(); info.close(); tv.setText(data); mCallback = new Callback() { /** Invoked whenever the action mode is shown. This is invoked immediately after onCreateActionMode */ @Override public boolean onPrepareActionMode(ActionMode mode, Menu menu) { return false; } /** Called when user exits action mode */ @Override public void onDestroyActionMode(ActionMode mode) { finish(); } /** This is called when the action mode is created. This is called by startActionMode() */ @Override public boolean onCreateActionMode(ActionMode mode, Menu menu) { mode.setTitle("Categorias"); getSupportMenuInflater().inflate(R.menu.sherlock_m_normal, menu); return true; } /** This is called when an item in the context menu is selected */ @Override public boolean onActionItemClicked(ActionMode mode, MenuItem item) { switch(item.getItemId()){ case R.id.novo: Intent cat = new Intent(SQLVIEWCAT.this, SQLINSERTCAT.class); startActivity(cat); mode.finish(); // Automatically exists the action mode, when the user selects this action break; case R.id.editar: Toast.makeText(getBaseContext(), "Escolheu editar ", Toast.LENGTH_LONG).show(); break; case R.id.apagar: Toast.makeText(getBaseContext(), "Escolheu apagar ", Toast.LENGTH_LONG).show(); break; } return false; } }; mMode = startActionMode(mCallback); } @Override public boolean onCreateOptionsMenu(com.actionbarsherlock.view.Menu menu) { getSupportMenuInflater().inflate(R.menu.sherlock_m_normal, menu); return super.onCreateOptionsMenu(menu); } }