Android/Technic51 Fragment의 EditText가 Clear 안될 때 Fragment의 onResume에 EditText.getText().clear(); 2022. 7. 12. WebView에서 엑박 뜰 때 웹뷰에서 엑스박스 뜰 때가 있다.. 이게 HTTP를 로딩해서 생기는 이슈인데.. 두가지 해결법 1. HTTP를 HTTPS로 변경해서 로딩한다. 2. 아래의 코드를 입력한다. if(Build.VERSION.SDK_INT >= 21) { webView.getSettings().setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW); } 2022. 7. 12. VideoView의 소리가 재생 되지 않게 하는 방법 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { videoView.setAudioFocusRequest(AudioManager.AUDIOFOCUS_NONE); } 2022. 6. 3. Retrofit2에서 POST로 값 태울 때 parameters can only be used with form encoding에러 Retrofit2에서 POST로 값 태울 때 parameters can only be used with form encoding에러가 발생한다면 아래와 같이 @FormUrlEncoded를 붙여준다. @FormUrlEncoded @POST("testsetset") Call tetete 2022. 5. 9. 이전 1 2 3 4 5 6 ··· 13 다음