전체 글(31)
-
[Android] MediaBrowserServiceCompat 이용하여 Bluetooth Earbuds Button Click Event 받기
VR 특성상 사용자 입력을 받아 이벤트를 처리하는 것이 2D Display에 비해 제한적이기 때문에 어떻게 컨트롤러의 버튼 onClick 이벤트를 받을 것인지 고민이 되었다. 모바일 디바이스에서 VR 앱이라 오큘러스나 VIVE와 같은 standalone 디바이스와는 다르게 사용자가 별도의 컨트롤러를 구비하고 있지 않은 상태인 것이 한계점이었다. 지금까지는 모바일 디바이스에 부착되어 있는 자이로 센서를 이용하여 입력을 받았다. HMD에 휴대전화를 끼운 상태로 옆면을 더블 탭하면 그 행위를 센서를 통해 입력 신호로 활용하는 것이다. 그러나 움직임을 감지하는 센서를 통해 구현한 이벤트가 항상 사용자의 의도를 반영하고 있지는 않다. HMD에 끼우다가 혹은 움직이다가 센서가 더블 탭으로 인지하는 경우가 종종 있었..
2022.06.27 -
[React Native] Implement GoogleSignIn with Firebase in iOS
1. Create Firebase project in Firebase console Apple bundle ID 입력 (Xocode - Show the project navigator - project - General - Identity - Bundle Identifier) @import UIKit; @import Firebase; FirebaseApp.configure() ⬇️ static void InitializeFlipper(UIApplication *application) { ... } #endif @import UIKit; @import Firebase; @implementation AppDelegate - (BOOL)application:(UIApplication *)application ..
2022.03.18 -
[React Native] BUILD ERROR) IllegalMonitorStateException
> Task :app:stripDebugDebugSymbols FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:stripDebugDebugSymbols'. > 17 exceptions were raised by workers: java.lang.IllegalMonitorStateException Solution: Change the location of the [Contents] folder from /Applications/Android Studio/Contents/jre/Contents to /Applications/Android Studio/Contents/jre/jdk/..
2022.02.25 -
[Kotlin] Android에서 Kotlin과 JAVA연결
build.gradle(app)에 추가 apply plugin: 'kotlin-android' sourceSets { main.java.srcDirs += 'src/main/kotlin' } implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" apply plugin: 'com.android.library' apply plugin: 'com.google.protobuf' apply plugin: 'kotlin-android' android { compileSdkVersion 30 buildToolsVersion "30.0.3" ... sourceSets { main.java.srcDirs += 'src/main/kotlin' }..
2022.01.24 -
[Android] Exoplayer with Seekbar example in VR Player / VR에서 ExoPlayer 영상 재생 시간 SeekBar로 컨트롤
ControlPanel을 통해 VR Player를 컨트롤 하는 기능을 구현하고 있다. 이제 VR Player로 재생되고 있는 미디어 영상과 VR Player 위에 Exo Player를 통해 띄운 영상의 시간을 XML로 만든 Control Panel 하단의 Seekbar를 이용하여 동시에 컨트롤 할 수 있도록 하는 것이 목표이다. 유튜브나 넷플릭스 등 기존 2D 영상은 하단의 Progress bar를 통해 Video 시간을 조정할 수 있다. 그러나 HMD에 들어가 있는 핸드폰으로 VR 영상을 시청하고 있을 때는 직접적인 손가락 터치로 제어를 하는 것은 매우 불편하기 때문에 물리적인 터치가 아닌 하단의 Seekbar를 탭함으로써 영상의 시간을 조절하도록 한다. VR 영상의 화면은 360도로 굴곡진 화면이기 ..
2022.01.11 -
[iOS] App store app not found / mobile app disappeared 앱스토어 앱 검색 안됨 / 모바일 앱 사라짐
Developer Program Membership has expired. 원인은 애플 개발자 계정이 만료되었기 때문. It cased by expiration of your Apple developer account. 앱스토어에 올라와있는 앱을 유지하기 위해서는 애플 개발자 멤버십 비용을 1년에 한번씩 갱신하여 결제해야 한다. To keep your apps on the App Store, you must renew your Apple Developer Program membership every singe year and pay for it. 멤버십이 해지 되기 약 한달 정도 전 부터 이런 메일 이 지속적으로 날라와 갱신을 하라고 알려준다. You will receive this e-mail aski..
2022.01.07