Tag Archives: create

5,831 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
11,847 views

Create TextView dynamically Android sample

Example source code for Android Developers // clickable TextView public TextView createTextView(String sText, Context con){ TextView b = null; try { b = new TextView (con); b.setTextSize(15.0f); b.setTextColor(Color.rgb( 0, 0, 200)); b.setOnClickListener(this); b.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); b.setText(sText); //tr.addView(b, 60,30); } catch … Continue reading

Posted in Android Examples Code | Tagged , , , , | Comments Off on Create TextView dynamically Android sample