팬택 베가레이스 사용하다가
겔럭시 와이드로 폰을 바꿨습니다
폰두대로 번갈아 컴파일을 했는데
이상없이컴파일은 되는데
베가레이스에서는 되는기능이
겔럭시와이드에서는 안됩니다 앱이 죽어버립니다
Cursor rawContacts = mCtx.getContentResolver().query(
RawContacts.CONTENT_URI, // the uri for raw contact provider
projection,
null, // selection = null, retrieve all entries
null, // not required because selection does not contain parameters
null); // do not order
이부분에서 앱이 죽어버리고
File files = new File(sPath);
if(files.listFiles().length > 0) {
이부분에서도 앱이 죽습니다
왜 그럴까요???
베가레이스에서는 잘동작합니다
조언부탁합니다