Tag Archives: table

22,172 views

Change background color dynamically View TableRow setBackgroundColor Android example

How change background color of View Android sample. MainActivity.java public class MainActivity extends Activity { TextView hTextView; TableRow hTableRow; Button hButton, hButtonStop; private Handler mHandler = new Handler(); private int nCounter = 0; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); … Continue reading

Posted in Android Examples Code | Tagged , , , , , , | Comments Off on Change background color dynamically View TableRow setBackgroundColor Android example
20,098 views

Adding TableRow add row with a View TextView dynamically to TableLayout Android sample example

Adding TableRow with a View TextView (EditText Button) programmically dynamically to TableLayout Android sample basic example. MainClass.java public class MainClass extends Activity {   @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);   TableLayout tl = (TableLayout)findViewById(R.id.tableLayout1); TableRow row = … Continue reading

Posted in Android Examples Code | Tagged , , , , | Comments Off on Adding TableRow add row with a View TextView dynamically to TableLayout Android sample example
6,196 views

Sqlite create database and table with BAT file for Android

Sqlite3 create database and table with load.bat file and fill data to table example. Create folder for your project: my_sqlite_project Open folder and create file load.bat and paste to load.bat this text and save to project folder:   sqlite3 my_database.s3db … Continue reading

Posted in SQLite database | Tagged , , , , , | Comments Off on Sqlite create database and table with BAT file for Android