public static void putBooleanValue(ContentResolver cr,long providerId,String name,boolean value){
  ContentValues v=new ContentValues(3);
  v.put(PROVIDER,providerId);
  v.put(NAME,name);
  v.put(VALUE,Boolean.toString(value));
  cr.insert(CONTENT_URI,v);
}

public static void putBooleanValue ( ContentResolver cr , long providerId , String name , boolean value ) { ContentValues v = new ContentValues ( 3 ) ; v . put ( PROVIDER , providerId ) ; v . put ( NAME , name ) ; v . put ( VALUE , Boolean . toString ( value ) ) ; cr . insert ( CONTENT_URI , v ) ; }
save a boolean value of setting in the table providersetting .
