이상하다! 분명 개발할 때 앱에 딥링크를 설정하였고, 잘 열리는 것을 확인하였는데 웹 브라우저에 딥링크 URL을 입력하여 앱을 실행하려니까 실행이 안된다! 뭔가 잘못한 것이 있는 것인가... 이미 배포는 되었는데... 등골이 오싹해진다 급한대로 adb를 사용하여 딥링크를 테스트해보자... ./adb shell am start -d myApp://main 딥링크가 잘 동작한다! 음..! 브라우저에서는 왜 동작하지않는 것일까...! 결론부터 얘기하자면, 웹 브라우저에 딥링크를 바로 입력하여 앱을 실행 시킬 수 없으며, HTML 태그를 사용하여 실행시켜야한다. Web Browser에서 DeepLink로 앱 실행하기 1. 링크 설정 앱에 설정한 딥 링크는 아래와 같은 포맷으로 되어있을 것이다. :// ex) m..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/Dtfsk/btqE1Dyfnv6/hClVXACkkAudvBL7DL74eK/img.png)
최근 클라이언트팀의 안드로이드 제품에 대한 CI / CD 파이프라인을 구성하면서 우리가 만든 제품에 대한 Unit Test Code Coverage를 알 수 있도록 하자는 요구사항이 있었고, 그것을 실현시키기 위한 조사에 들어갔다. 회사의 안드로이드 프로젝트는 단일 레포지토리, 멀티 모듈 구조를 가지고 있으며, Java와 Kotlin 언어를 모두 사용하고, Gradle 빌드 툴을 사용하고 있다. 구글에 Android Project Code Coverage 측정 방법을 검색하기 시작했고, Gradle 프로젝트에 JaCoCo를 사용하면 측정할 수 있다는 정보를 얻어 회사의 안드로이드 프로젝트에 적용을 시도하였다. 여기서부터 고난과 역경의 시간이 시작되었다. 구글 검색을 통해 얻은 Gradle 프로젝트에 Ja..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/dyMNVz/btqvW0PQQhw/g3CbjTy6LsM0zh0unoTui1/img.png)
https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal/ Construct Binary Search Tree from Preorder Traversal - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Return the root node of a binary search tree that matches the given preorder traversal. (Recall..
https://leetcode.com/problems/unique-morse-code-words/ Unique Morse Code Words - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a" maps to ".-", "b" maps t..
https://leetcode.com/problems/remove-outermost-parentheses/ Remove Outermost Parentheses - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com A valid parentheses string is either empty (""), "(" + A + ")", or A + B, where A and B are valid parentheses strings, and + represents string ..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/YnS3q/btqvLQNeDpK/GcWfhqIscJsXwudi1HYd9K/img.png)
https://leetcode.com/problems/range-sum-of-bst/ Range Sum of BST - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Given the root node of a binary search tree, return the sum of values of all nodes with value between L and R (inclusive). The binary search tree is guaranteed to have..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/bf0eql/btqu6N5UH35/6ZHpPksorGxBeHFh0QECBk/img.png)
위 그림과 같이 앱이나 웹사이트에 로그인할 때, '구글로 로그인' 혹은 '페이스북으로 로그인'이라는 버튼을 자주 아니 매번 목격했을 것이다. 위와 같은 기능을 통해 사용자는 복잡하고 귀찮은 계정 생성 과정을 거치지 않고 구글, 페이스북 같은 서드파티 계정을 통해 간단하게 새로운 앱이나 서비스를 사용할 수 있게 되었다. '서드파티 계정을 사용한 로그인'의 장점은 아래와 같다. 사용자 입장 1. 단일 계정으로 여러 가지 서비스 사용 가능 2. 계정, 비밀번호 파편화 없이 하나의 계정 정보만 기억하면 됨 3. 제 3서비스 간편가입 가능 앱, 웹사이트 개발자 입장 1. 복잡한 인증과정 구현 불필요 2. 그로 인한 서비스 비용 절감 3. 사용자 편의성 증대 사용자 편의성을 증대시켜줄 뿐만 아니라 서비스 비용까지 ..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/bnYzGz/btquXu4U8SR/3wHJQIDitJhn4tGNxCEXa0/img.png)
1. 프로젝트 다운로드 Github 바로가기 - https://github.com/rohjk/UrlOpener rohjk/UrlOpener Do Action by Url for Unity. Contribute to rohjk/UrlOpener development by creating an account on GitHub. github.com 2. 프로젝트 Import 및 플러그인 속성 수정 build.gradle(Module:activityopener) 설정을 본인 프로젝트 Target 버전으로 변경합니다 3. 플러그인 빌드 및 jar 생성 a. View - Tool Windows - Gradle - activityopener - opener_plugin - build_jar 더블 클릭 b. 빌드 결과..
- Total
- Today
- Yesterday
- unit test
- 안드로이드 테스트
- 커스텀 버튼
- android unit test
- ViewCompositionStrategy
- 유닛테스트
- 코딩테스트
- 테스트
- 구글
- 안드로이드 커스텀 버튼
- 알고리즘
- 안드로이드 컴포즈
- 안드로이드
- button padding
- 유닛 테스트
- 알고리즘 풀이
- AOS
- androud hilt
- compose ui
- android custom button
- 컴포즈 초기화
- Unit
- 안드로이드 종속성 주입
- Android
- Leetcode
- 안드로이드 단위 테스트
- android test
- android compose
- 안드로이드 유닛 테스트
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |