본문 바로가기 메뉴 바로가기

개발 노트

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

개발 노트

검색하기 폼
  • 분류 전체보기 (65)
    • android (38)
    • linux (4)
    • React Native (8)
    • Mongo DB (2)
    • Mac (1)
    • javascript (1)
    • algorithm (1)
    • kotlin (7)
  • 방명록

분류 전체보기 (65)
ubuntu 18.04 로그인창에서만 마우스가 동작할 때

로그인 창에서는 마우스가 동작하고 로그인 이후엔 미동작하는 현상 발생, logiteck 무선 키보드 + 무선 마우스 둘다 미동작 다른 컴퓨터로 ssh접근해서 sudo apt-get install xserver-xorg-input-all startx reboot 이후 컴퓨터 부팅이 완료되면 정상 동작...

linux 2020. 6. 17. 15:28
linux(ubuntu20.04)에서 android full build하는데 필요한 package 목록

sudo apt install openssh-server screen python git openjdk-8-jdk android-tools-adb bc bison \ build-essential curl flex g++-multilib gcc-multilib gnupg gperf imagemagick lib32ncurses-dev \ lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev \ libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc yasm zip zlib1g-dev \ libtinfo5 libncurses5 보너스 s..

linux 2020. 6. 15. 17:29
linux(ubuntu) adb 환경변수 설정하기

nano ~/.bashrc - 명령어로 bashrc파일을 연 뒤 * .bashrc 파일은 "HOME/{사용자이름}/"경로에서 ls -al 하면 있음 export Android_HOME=$HOME/Android/Sdk export PATH=$PATH:$Android_HOME/tools export PATH=$PATH:$Android_HOME/platform-tools - 해당 경로를 bashrc파일에 적용 * 이후 확인은 터미널을 재시작 후 테스트 해야 함.

linux 2020. 6. 15. 11:33
android Frame Animation, Animation Drawable 사용 방법

2가지 방법, 1. xml 사용 한 구현 방법 1). xml 생성 res\drawable\ 안에 xml 생성 2). imageView에 위에서 생성한 animation src로 적용 3). activity java 로 구현 ImageView animation = findViewById(R.id.imsi_animation); AnimationDrawable animationDrawable = (AnimationDrawable) imsi_animation.getDrawable(); animationDrawable.start(); -----------------------------------------------------------------------------------------------------..

android 2020. 4. 27. 10:22
AnimationDrawable memory 문제.

AnimationDrawable 사용 시 메모리 해제가 되지 않는 이슈 생명주기에 따라 아래 코드를 호출. animationDrawable.stop(); for (int i = 0; i < animationDrawable.getNumberOfFrames(); ++i){ Drawable frame = animationDrawable.getFrame(i); if (frame instanceof BitmapDrawable) { ((BitmapDrawable)frame).getBitmap().recycle(); } frame.setCallback(null); } animationDrawable.setCallback(null); Heap Alloc 과 Heap Free에 대한 내용은 좀 더 공부가 필요할 듯 하지..

android 2020. 4. 27. 10:09
안드로이드 SurfaceView Video 예제

* xml * activity onCreate mSurfaceView1 = (SurfaceView)findViewById(R.id.surfaceView1); mSurfaceHolder1 = mSurfaceView1.getHolder(); mMediaPlayer1 = new MediaPlayer(); mSurfaceHolder1.addCallback(new SurfaceHolder.Callback() { @Override public void surfaceCreated(SurfaceHolder holder) { mMediaPlayer1.setDisplay(holder); } @Override public void surfaceChanged(SurfaceHolder holder, int format, int..

android 2020. 1. 31. 17:12
ExoPlayer 사용 법.

exoPlayer 장점 - 빠르다. 버벅임이 적다. 가볍다 등등. MediaPlayer보다 훨신 기능도 많고 좋은것 같음. 실제 상용 프로젝트에선 MediaPlayer를 사용한 SurfaceView보다 ExoPlayer가 훨신 좋아보임.. 타겟 환경 compileSdkVersion 22 buildToolsVersion "28.0.3" minSdkVersion 17 * build.gradle(Module:app) - android compileOptions { sourceCompatibility 1.8 targetCompatibility 1.8 } * build.gradle(Module:app) - dependencies implementation "com.google.android.exoplayer:ex..

android 2020. 1. 31. 17:05
custom frameWork 빌드 방법.

그래들에 디펜던시 설정 dependencies { compileonly files('libs/framework.jar') } 안드로이드 {} 외부에 .. 디펜던시 위에 빌드 속성 추가 preBuild { doLast { def imlFile = file(project.name + ".iml") println 'Change ' + project.name + '.iml order' try { def parsedXml = (new XmlParser()).parse(imlFile) def jdkNode = parsedXml.component[1].orderEntry.find { it.'@type' == 'jdk' } parsedXml.component[1].remove(jdkNode) def sdkString ..

android 2020. 1. 21. 16:33
타이틀, 하단 홈 백버튼 등 안보이게 처리하기

private void noTitleNoSystemUi() { requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().takeSurface(null); setTheme(android.R.style.Theme_NoTitleBar_Fullscreen); getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); View decorView = getWindow().getDecorView(); int uiOption = getWindow().getDecorView().getSystemUiVisibility(); uiO..

android 2020. 1. 21. 15:33
인텐트 oem 연동 리스트

1. 웹페이지 띄우기 Uri uri = Uri.parse("http://m.naver.com"); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); 2. 이미지 갤러리 Intent intent = new Intent(); intent.setAction(Intent.ACTION_GET_CONTENT); intent.setType("image/*"); startActivityForResult(intent, RESULT_CODE1); 3. 카메라 사진용 Intent intent = new Intent(); intent.setAction("android.media.action.IMAGE_CAPTURE"); startActivi..

android 2019. 9. 23. 10:43
이전 1 2 3 4 5 6 7 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 자바
  • 차번호 정규표현식
  • MongoDB
  • not starting .bash_profile
  • adb 환경변수
  • react native state
  • 클래스형 코드
  • ubunut android
  • nosql
  • insert
  • spannableText
  • 차번호 정규식
  • text 부분 색 칠하기
  • mongo db
  • 구글 맵 경로 그리기
  • rn
  • 데이터베이스
  • Android
  • 함수형 코드
  • 구글 맵 선그리기
  • https://hwan-shell.tistory.com/244
  • not working adb
  • not found adb
  • 귀찮아;;
  • ubunut 설치 link
  • 안드로이드
  • https://medium.com/@limgyumin/%EC%BD%94%ED%8B%80%EB%A6%B0-%EC%9D%98-apply-with-let-also-run-%EC%9D%80-%EC%96%B8%EC%A0%9C-%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94%EA%B0%80-4a517292df29
  • 명령어
  • mac android
  • React Native
more
«   2025/05   »
일 월 화 수 목 금 토
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 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바