게임이종료되면 스코어를 저장해서 DB에 저장해서 listactivity로 보여주려고 하는데 


최종 스코어가 view 안에서 나와서요..


if (newMode == BBConstants.PAUSE)

{

str = res.getText(R.string.mode_pause);

}

if (newMode == BBConstants.READY)

{

str = res.getText(R.string.mode_ready);

}

if (newMode == BBConstants.LOSE)

{

dbHandler = DBHandler.open(BBView.this);

str = res.getString(R.string.mode_lose_prefix) + mScore

+ res.getString(R.string.mode_lose_suffix);

}


....

public static int mScore;

mScore 가 최종점수라 이거를 dbHandler를 만들어서 open 해서 점수를 삽입하려고했는데


The method open in the type DBHandler is not applicable for the argument 라면서 오류가 나네요 어떻게 해야 할까요?


아니면 게임종료직후 나온점수만 따로 저장해서 보여주면되는데 DB 안쓰고 할 방법이라도 있을까요?


잘아시는분 꼭알려 주셨으면 좋겠어요!