public final Uri storeLogFile(final LogFile logFile,final int sessionId){
  final ContentValues values=new ContentValues();
  values.put(Schema.COL_MANUFACTURER,logFile.getManufacturer());
  values.put(Schema.COL_MODEL,logFile.getModel());
  values.put(Schema.COL_REVISION,logFile.getRevision());
  values.put(Schema.COL_SWID,logFile.getSwid());
  values.put(Schema.COL_SWVER,logFile.getSwVersion());
  values.put(Schema.COL_TIMESTAMP,System.currentTimeMillis());
  values.put(Schema.COL_SESSION_ID,sessionId);
  return contentResolver.insert(ContentProvider.CONTENT_URI_LOGFILE,values);
}

public final Uri storeLogFile ( final LogFile logFile , final int sessionId ) { final ContentValues values = new ContentValues ( ) ; values . put ( Schema . COL_MANUFACTURER , logFile . getManufacturer ( ) ) ; values . put ( Schema . COL_MODEL , logFile . getModel ( ) ) ; values . put ( Schema . COL_REVISION , logFile . getRevision ( ) ) ; values . put ( Schema . COL_SWID , logFile . getSwid ( ) ) ; values . put ( Schema . COL_SWVER , logFile . getSwVersion ( ) ) ; values . put ( Schema . COL_TIMESTAMP , System . currentTimeMillis ( ) ) ; values . put ( Schema . COL_SESSION_ID , sessionId ) ; return contentResolver . insert ( ContentProvider . CONTENT_URI_LOGFILE , values ) ; }
persists logfile in database .
