Q:

can i remove all data set by the previous install of app Android

Is it possible to delete any existing data set by a previous install of same app (databse tables and shared preferences etc) when the app is re-installed? 
I have an app that stores some values in sqlite database, if the app is re-installed without prior properly uninstalling.  I face problems from previous database entries etc. 

A:

If uninstalling the app didn't do the stuff try this :
System Parameters -> Manage Applications -> Your Application -> Clear data

If you click on the button (Clear data) you will see a dialog which shows you what kind of data will be cleared. 
Edit:
If you want to do that programmatically, you can :

Change database version in the super method of the constructor:
super(context, DATABASE_NAME, null, NEW_DB_VERSION);
Add a drop statement before creating tables. 
database.execSQL("DROP TABLE IF EXISTS your_table");
database.execSQL(" CREATE TABLE your_table ...");
Proceed to a hard drop of the database:
this.context.deleteDatabase(YOUR_DATABASE_NAME;

