일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- kakao
- NGINX
- 안드로이드
- centOS7
- C lanuage
- 한글
- server
- MySQL
- 컴퓨터과학총론
- C
- error
- 구글
- 자바
- techEmpower
- 개발자
- android
- it
- java
- ubuntu
- php
- 개발
- 번역
- 해석
- 프래그먼트
- caddy
- H2O
- javascript
- unity
- mariadb
- Portfolio
- Today
- Total
목록전체 글 (395)
개발모음집
https://stackoverflow.com/questions/7606077/how-to-display-long-messages-in-logcat public void logLargeString(String str) { if (str.length() > 3000) { Log.i("e", str.substring(0, 3000)); logLargeString(str.substring(3000)); } else { Log.i("e", str); // continuation } } 이 메서드에 날리면 됨
https://maps.googleapis.com/maps/api/directions/json?origin=Brooklyn&destination=Queens&mode=transit&key=YOUR_API_KEY https://maps.googleapis.com/maps/api/directions/json?origin=Brooklyn&destination=Queens&mode=transit&key=YOUR_API_KEYhttps://maps.googleapis.com/maps/api/directions/json?origin=Brooklyn&destination=Queens&mode=transit&key=YOUR_API_KEYhttps://maps.googleapis.com/maps/api/direction..
참고블로그를 보고 fcm을 구현하였다.알람이 오지않았다. "소스가 문제인가?"라는 생각에 새로운 프로젝트를 생성하여 구현하였더니잘되었다. 문제를 전혀 찾지 못하다가 4일만에 문제를 찾았다.나는 구글 아이디가 두 개있다.개발을 시작하고 나서 구글에 개발용 아이디를 만들었다.firebase에 로그인된 닉네임이 눈에 보였다. 개인용 아이디의 닉네임이었다. 나는 이미 구글로그인api를 개발용아이디를 이용하여 현재 앱프로젝트를 등록하였고개인용아이디에서 프로젝트를 등록하려하니 동일한 패키지값이라도같은 것으로 인식하지 못하였던 것! 즉, 개발용 아이디바꿔서 firebase에 프로젝트를 생성하니 됨.. 후 어이없는 삽질. 이걸로 2일이나 버리다니 ㅠㅠ
// 사진 AlertDialog.Builder ab = new AlertDialog.Builder(getActivity()); ab.setMessage(R.string.register_content_dialog_text); ab.setNeutralButton("취소", new DialogInterface.OnClickListener() { public void onClick( DialogInterface dialog, int id) { // 다이얼로그를 취소한다 dialog.cancel(); } }).setNegativeButton("앨범선택", new DialogInterface.OnClickListener() { public void onClick( DialogInterface dialog, int ..
1. 참고 구글 개발자센터 이걸 보면서 장소자동완성텍스트를 만드려하는데 에서 Unresolved class 'PlaceAutocompleteFragment' 에러가 뜬다. 참고 스택오버플로우를 보니 ' compile 'com.google.android.gms:play-services-places:10.2.6'를 해준다고 나온다. 에러해결! 2. Inconvertible types; cannot cast 'android.support.v4.app.Fragment' to 'com.google.android.gms.location.places.ui.PlaceAutocompleteFragment PlaceAutocompleteFragment autocompleteFragment = (PlaceAutocomple..
LocationManager locationManager = (LocationManager) getContext().getSystemService(Context.LOCATION_SERVICE); Criteria criteria = new Criteria(); Location location = locationManager.getLastKnownLocation(); LatLng userLocation = new LatLng(location.getLatitude(),location.getLongitude());이런식으로 위도, 경도 받아오려했다.Attempt invoke virtual method 'double android.location.Location.getLatitude()' on a null obj..
참고 URL : 구글 공홈멈춤보단 천천히라도프래그먼트에서 MapView : 쎄미 key 발급받는 두 가지 방법 1. 멈춤보다 천천히라도 "C:\Program Files\Android\Android Studio\jre\bin\keytool" -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android를 cmd에서 입력하라고 했는데 되지않음. 2. debug.keystore : https://linsoo.co.kr/archives/13740 keytool -list -v -keystore %USERPROFILE%\.android\debug.keystore위와같..