How Can I block meetings via Android calendar and save the result in the database? I am beginner and can anyone share their knowledge please ?
For storing data in the database please go through this http://www.vogella.com/articles/AndroidSQLite/article.html. For getting date and time you can achieve in the following manner.
Calendar calender = Calendar.getInstance();
SimpleDateFormat dateFoamat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String dateandTime = dateFoamat.format(calender.getTime());
Toast.makeText(this, dateandTime , Toast.LENGTH_SHORT).show();
dateandTime String will show you current date and time.