<div>db=helper.getWritableDatabase();</div> <div><span style="font-size:9pt;line-height:1.5;">db.execSQL("INSERT OR IGNORE INTO install VALUES ("+name+", 0 );");</span></div> <div><span style="font-size:9pt;line-height:1.5;"><br></span></div> <div>이렇게 데이터베이스에 데이터를 저장하는데요</div> <div><br></div> <div>여기서 name은 설치되어있는 어플의 패키지명을 넣는데요 </div> <div><br></div> <div><span style="font-size:9pt;line-height:1.5;"> android.database.sqlite.SQLiteException: near ".": syntax error (code 1): , while compiling: INSERT OR IGNORE INTO install VALUES (co.kr.pluu.appinfo, 0 );</span></div> <div><span style="font-size:9pt;line-height:1.5;"><br></span></div> <div><span style="font-size:9pt;line-height:1.5;">이렇게 에러가 뜨네요...</span></div> <div><span style="font-size:9pt;line-height:1.5;"><br></span></div> <div><span style="font-size:9pt;line-height:1.5;">패키지명에 " . "이 들어가서 그런건가요?</span></div> <div><br></div>
<img src="http://thimg.todayhumor.co.kr/upfile/201306/43678fc43dc079aed0f309079bbce190.jpg" width="400" alt="43678fc43dc079aed0f309079bbce190.jpg">
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.