Tag Archives: moveToNext

CRUD Operations in SQLite using SQLiteOpenHelper – Android

By | June 26, 2016

We do SQLite operations in Android by extending the SQLiteOpenHelper Class. I will create an Employee table with three fields id name company. I have a model class same as the database table Employee. Employee.java [java] public class Employee { public int id; public String name, company; public void setAll(int id, String name, String company) { this.id =… Read More »

How to delete a contact in android?

By | June 23, 2012

Hello all previously I have shown how to list all contacts in your phone and in another post I showed how to programatically create a contact in android. In today’s tutorial I will show you how to delete a contact in android programatically. This simple code does that. [java] public static boolean deleteContact(Context ctx, String phone, String name)… Read More »