본문 바로가기

ANDROID13

Android install referrer Library test 가. refer를 정의하고 설치 링크를 생성한다., https://play.google.com/store/apps/details?id=&referrer= 나. 플레이스토어가 동작하면 절대로 install 버튼을 누르면 안됩니다. ( 이미 배포하셨다면 상관없음. ) 다. adb 명령어가 있는 디렉토리로 apk 파일을 복사합니다. (C:\Users\사용자명\AppData\Local\Android\Sdk\platform-tools ) adb install -r app-debug.apk 라. 플레이 스토어에 열기 버튼을 클릭합니다. 2021. 8. 8.
Android 공유하기 개발 1. 기본 공유하기 부분 public void shareLinkToSharedApp() { Intent intentshare = new Intent(android.content.Intent.ACTION_SEND); intentshare.setType("text/plain"); intentshare.putExtra(Intent.EXTRA_TEXT, "공유할 글자 입력"); Intent chooser = Intent.createChooser(intentshare, "공유하기 타이틀 입력"); startActivity(chooser); } 2. 특정 어플 조회 기능 추가 void shareLinkToSelectedSharedApp() { Intent intent = new Intent(android.conte.. 2020. 7. 2.
Android Youtube 관련 개발자 오류 이의 제기 요청을 검토한 결과, 앱이 여전히 Google Play 정책을 위반하는 것으로 확인되었습니다. 다음은 앱의 구체적인 문제 및 Google Play에 앱을 다시 게시하기 위해 어떤 조치를 취할 수 있는지에 관한 자세한 내용입니다. 1단계: 앱의 정책 위반사항 수정 검토 과정에서 앱이 YouTube 동영상의 백그라운드 재생을 사용 설정함으로써 기기 및 네트워크 남용 정책을 위반하는 것으로 확인되었습니다. Google에서는 앱이 사용자의 기기, 기타 기기 또는 컴퓨터, 서버, 네트워크, 애플리케이션 프로그래밍 인터페이스(API), 서비스 등(기기에 있는 기타 앱, Google 서비스, 승인받은 이동통신사 네트워크를 포함하나 이에 국한되지 않음)을 방해하거나 중단시키거나 손상시키거나 무단으로 액세스하.. 2019. 10. 17.
Chrome 에서 Remote Device 가 연결되지 않을때 adb 의 설치된 폴더 \사용자\Appdata\android\sdk\platform-tools\adb kill-server \사용자\Appdata\android\sdk\platform-tools\adb start-server adb 가 없는 경우 android-studio 설치 할것... 2019. 6. 17.
Web View Debugging 하기 Android WebView를 데스크톱 크롬으로 원격 디버깅해보자Android 4.4버전부터 데스크톱 크롬을 통한 원격 디버깅이 가능해졌다. https://developers.google.com/chrome-developer-tools/docs/remote-debugging#debugging-webviews 우선 원격 디버깅을 하기 위해 다음과 같은 준비가 필요하다. - Android 기기에 Chrome for Android 32이상의 버전 - USB cable - 데스크톱 Chrome 32이상 버전 디버깅하는 방법은 생각보다 간단하다. 1. 우선 안드로이드 기기의 개발자 옵션에서 USB디버깅을 체크한다. 2. 데스크톱의 크롬을 실행해서 주소창에 about:inspect를 입력한다. 그럼 아래와 같은 화.. 2018. 10. 17.
.android 디렉토리 위치 변경 시스템 변수에ANDROID_SDK_HOME 을 선언하고, 옮기고자 하는 디렉토리를 선택한다. android studio 재기동하면 끝.. 2018. 5. 17.
Android Studio SVN ignore (1) Enable VCS integration (under the VCS)(2) Settings -> Version Control -> Ignored Files (add the files, folders in your .gitignore file here) - It should be like below image. After this you can see the ignored files in separate color(like yellow) and other files that need to add to subversion in another color(red)https://www.gitignore.io/ 사이트에 접속하면 해당 gitignore 파일을 생성할수 있다. project 하단의 .gitig.. 2018. 4. 26.
Listview 한 row 만 reload private void updateItemAtPosition(int position) { int visiblePosition = mListView.getFirstVisiblePosition(); View view = mListView.getChildAt(position - visiblePosition); mListView.getAdapter().getView(position, view, mListView); } 2015. 12. 4.
현재 Heap 사이즈 얻어오기 Debug.getNativeHeapSize() Debug.getNativeHeapFreeSize() Debug.getNativeHeapAllocatedSize() 2015. 11. 6.
RecycleView Adapter => RecycleView Adapter 예제 /** * Created by cscho on 2015-08-21. */ public class ThemeListAdapter extends RecyclerView.Adapter { private static final String TAG = "ThemeListAdapter"; private final LayoutInflater mLayoutInflater; private DisplayImageOptions options; private Context mContext; private String mSystemClock; private ArrayList mThemeList = null; private SimpleImageLoadingListener mImage.. 2015. 10. 15.