본문 바로가기

잡동사니

(8)
Unable to add window -- token null is not valid; is your activity running? 에러 해결방법 다이얼로그에 getApplicationContext()를 사용해서 나는 에러 액티비티이름.this로 바꿔주면 해결완료
물류혁신 '쿠팡' 10년만에 매출 10조 돌파 쿠팡이 사업시작한지 10년만에 판매액 10조원 돌파가 확실시 된다고 한다. 이러한 결과에는 쿠팡의 '로켓배송'이 가장큰 몫을 했다. 쿠팡은 '택배'가 아닌 '배송 서비스'라는 차별화된 배송 전략으로 4000명을 직접 고용하는등 새로운 영역을 열었다. 그 결과 작년에 비해 매출규모가 10% 증가하는 결과를 보였다. 소비자 조사 전문기관 컨슈머인사이트에서 2만 6천명을 대상으로 소비자 배송 만족도에 대해서 조사를 하였고, 쿠팡은 당당하게 1등을 차지하게 되었다. 쿠팡은 교환/반품/환불 편리성 부분에서는 낮게 나왔지만, 신속/정확성 , 기사 서비스 부분에서 높은 점수를 받았다. 이러한 조사 결과로 쿠팡은 신속/정확성 부분만 집중 하는것이 아니라, 기사 서비스 부분에도 집중 하는 것을 알 수 있다. 쿠팡의 물류..
안드로이드 이미지의 절대 경로 가져오기 $ 이미지의 절대 경로를 구해주는 메서드 private String getRealPathFromURI(Uri contentURI) { String result; Cursor cursor = getContentResolver().query(contentURI, null, null, null, null); if (cursor == null) { // Source is Dropbox or other similar local file path result = contentURI.getPath(); } else { cursor.moveToFirst(); int idx = cursor.getColumnIndex(MediaStore.Images.ImageColumns.DATA); result = cursor.getS..
[ERROR] ERROR: Failed to build gem native extension apt-get install ruby-dev //Ruby를 설치하는중 sudo gem update 명령어를 친 후 발생한 에러 //apt-get install ruby-dev로 해결
[ERROR] Problem executing scripts APT Update::Post-Invoke-Success error during apt-get update sudo apt-get purge libappstream3 //Ubuntu 에서 apt 패키지를 이용해서 설치할때 발생하는 에러 참고자료 https://askubuntu.com/questions/943463/e-problem-executing-scripts-apt-updatepost-invoke-success-error-during-apt-ge
E: Could not get lock /var/lib/dpkg/lock - 잠금 파일을 얻을 수 없습니다 - open (11: Resource temporarily unavailable)E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? E: Could not get lock /var/lib/dpkg/lock - 잠금 파일을 얻을 수 없습니다 - open (11: Resource temporarily unavailable)E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? 해당 에러는 다른 사용자가 apt-get을 사용할 때 발 생하는 에러임 sudo rm /var/lib/dpkg/lock 를 통해서 lock 파일을 제거하고 다시 진행
[ERROR]android.content.res.Resources$NotFoundException: String resource ID 데이터베이스에서 값을 가져오던 도중 발생한 오류 [ERROR]android.content.res.Resources$NotFoundException: String resource ID chatroom_editText_massage.setText(user_age); 이 오류는 settext에 int형 값을 넣어서 발생하는 오류이다 chatroom_editText_massage.setText(String.valueOf(user_age)); String.valueOf로 변환후 해결
[ERROR]error:android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want 리스트뷰의 아이템 리스트에 클릭이벤트를 주던중 error:android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? 오류가발생 하였다. 이 에러는 액티비티가 아닌곳에서 액티비티를 실행 하려고 할때 나오는 오류라고 한다. Intent image_big_Activity_intent = new Intent(applicationContext,image_big_Activity.class); image_big_Activity_intent.putExtra("image_pict..