일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- RecyclerView
- 자기장 센서
- Exoplayer
- 걸음 감지 센서
- BottomSheetDialog
- phpstorm
- 온라인에디터
- Android
- Kotlin
- mysql 5.7
- powercfg
- 온라인코딩
- 온라인무료코딩사이트
- 자격증
- utf8mb4
- Aplha
- 온라인IDE
- 걸음수 감지 센서
- LayoutParmas
- 웹코드빌드
- 코틀린
- 동영상 실행
- 회전 센서
- 광 센서
- setBackgroundResource
- ARGB
- 금속 탐지기 센서
- Android Studio 3.6
- lateinit
- Today
- Total
목록IT (27)
Memory
2021/01/12 - [IT/ANDROID] - [ANDROID/KOTLIN] ExoPlayer로 동영상 실행하기 (r2.12.2) [ANDROID/KOTLIN] ExoPlayer로 동영상 실행하기 (r2.12.2) ExoPlayer 공식 홈페이지 exoplayer.dev/hello-world.html Hello world! - ExoPlayer exoplayer.dev XML ... CODE ( ViewBinding 사용중 ) class VideoDetailActivity : A.. jinha3211.tistory.com override fun onStart() { super.onStart() // 유튜브 링크 val youtubeLink = "https://www.youtube.com/watch?v..
ExoPlayer 공식 홈페이지 exoplayer.dev/hello-world.html Hello world! - ExoPlayer exoplayer.dev XML ... = 24) { initializePlayer() } } override fun onResume() { super.onResume() // hideSystemUi() -> 전체화면 환경으로 만들기 hideSystemUi() if ((Util.SDK_INT < 24 || player == null)) { initializePlayer() } } override fun onPause() { super.onPause() if (Util.SDK_INT < 24) { releasePlayer() } } override fun onStop() { ..
ExoPlayer 테스트를 위해 참고할 샘플 동영상 Uri가 필요해 검색해보다 알게되어 공유합니다. http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4 http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4 http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/BigBuckBunny.jpg ht..
fun setBackground(data: ItemListMonitoring_Data){ // 배경 색상 코드로 설정하는 방법 // 변수명.setBackgroundResource(R.drawable.파일명) when (data.status){ "이탈" -> { constraintL_item_list_monitoring.setBackgroundResource(R.drawable.draw_f8420b_ba3710_8dp_rounded_border) } "정상" -> { constraintL_item_list_monitoring.setBackgroundResource(R.drawable.draw_5bc63a_3daa2f_8dp_rounded_border) } "종료" -> { constraintL_item_l..
fun setWeight(data: ItemListTop_Data){ // LinearLayout layout_weight 코드 설정 방법 // val layoutParams = 변수명.layoutParams as LayoutParams // layoutParams.weight = 2f val layoutParams = linearL_item_list_top.layoutParams as LayoutParams layoutParams.weight = data.layout_weight } [참고] 출처 : stackoverflow.com/questions/3224193/set-the-layout-weight-of-a-textview-programmatically Set the layout weight of ..
private lateinit var mContext: Context // 초기화 되었는지 확인하는 방법 // ::변수명.isInitialized if (::mContext.isInitialized){ // 초기화 되어있을 경우 } [참고] 출처 : stackoverflow.com/questions/57182703/uninitializedpropertyaccessexception-lateinit-property-has-not-been-initialized UninitializedPropertyAccessException: lateinit property has not been initialized I have a class which i inject into a ViewModel + ViewModel f..
회사 책임님이 기기의 고유 기능에 대해 공부해보라고 말씀해주셔서 여유가 있을 때 센서 기능 테스트를 진행해봤다. 실제로 일상 속에서 화면 회전, 캐시워크, 캐시슬라이드, 전화 중일 때 화면 절전 모드, 밝기 자동 조절 등 다양한 센서 기능을 사용해왔는데 한 번도 센서에 대해 공부해보려고 하지 않았다는 것에서 아차 싶었다. 생각보다 기기에 들어가 있는 센서의 종류도 많다는 것에 놀랐고, 테스트하면서도 신기했다! 취미로 만들 애플리케이션을 생각할 때마다 SNS, 메모, 계산기 등만 생각해오다가 센서를 활용한 애플리케이션을 만들어보는 것도 재미있을 것 같다고 느꼈다. GPS를 이용한 속도 측정은 아직 진행 중이지만, 혹시 센서 기능 테스트를 하고 싶으신 분들이 있을까 싶어 테스트 코드를 공유하고자 올려둡니다!..

MySQL 설치 후 기본 문자값을 utf8로 설정해줬던 것으로 기억하는데, 다시 봐보니 변경이 덜 된 부분이 있어 기본 문자 값 설정을 다시 진행했다. (이모티콘 저장 등이 필요할 지 몰라 utf8 말고 utf8mb4로 설정했다!) 1. MySQL 접속 진행 후, 기본 문자 값 확인 // MySQL 접속 mysql -u root -p // 설정된 기본 문자 값 확인 SHOW VARIABLES LIKE 'c%'; 2. 하단 코드 실행 vi /etc/my.conf 3. 하단 코드 추가 (나의 경우는 이모티콘 저장을 위해 utf8 대신 utf8mb4로 설정을 진행했다!) [mysqld] collation-server = utf8mb4_unicode_ci character-set-server = utf8mb4 ..

1. catalog-education.oracle.com/pls/apex/f?p=1010:26:11030546399040 2. Login to CertView 클릭 3. 프로필 설정 진행 4. Credential Management - Review Certification History - Print eCertificate - Print 클릭 5. 파일 저장 또는 프린트 진행 [참고] blog.naver.com/dkfka6225/10184939662