getWritableDatabase()<br /> Error- getWritableDatabase is undefined under myclass
public void editjob(String m1,String curTime) { String sql="UPDATE memories SET mem=? WHERE date=?;"; Object[] bA=new Object[]{m1,curTime}; try{ getWritableDatabase().execSQL(sql,bA);//db.setLocale(Locale.getDefault()); }catch(SQLException e){ Log.e("Error Writing New Job",e.toString()); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)