본문 바로가기
[android] VideoView 를 사용하는 경우 progress hide timing. [android] VideoView 를 사용하는 경우 progress hide timing. 참조 : https://plus.google.com/+ArneStockmans/posts/FFE8PrWiPyq -API Level 1 부터 사용할 수 있는 VideoView 라는 녀석이 있다.http://developer.android.com/reference/android/widget/VideoView.html -MediaPlayer 의 내용물을 Rendering 시키는 SurfaceView 를 상속한 녀석이다. -SDK 17 부터는 OnInfoListener 를 달아놓으면, 실제 Rendering 이 시작될 때 What 으로 MediaPlayer.MEDIA_INFO_VIDEO_RENDERING_START 가 .. 2015. 12. 10.
[android] webview 에서 파일 업로드하기 -아래 input type 이 file 인 html 코드는 안드로이드 webview 에서 제대로 작동을 안 한다. 즉 해당 button 을 눌러도 파일 선택 창이 뜨지 않는다는 것. - 이 경우 webview 에 WebChromeClient 를 set 해주면서 필요한 함수를 구현해주면 된다.private static final int RC_FILE_CHOOSE = 2833;private ValueCallback mUploadMsg = null; ...webView.setWebChromeClient(new WebChromeClient() {// ICS 에서도 동작하기 위해서는 아래메소드도 넣어줘야함.public void openFileChooser(ValueCallback uploadFile, String.. 2015. 12. 7.
Android Transition Framework (TransitionManager, Transition, Scene) 의 작동 원리 Android Transition Framework (TransitionManager, Transition, Scene) 의 작동 원리 참조 : http://lucasr.org/2014/03/13/how-android-transitions-work/ Transition Framework Transition 은 layout change 에 대한 animation 을 지원한다.layout change 는 add, remove, move, resize, show, hide 등을 이야기한다. Transition Framework 는 3개의 핵심으로 구성된다. Scene Root, Scene, Transition. Scene Root 는 ViewGroup 으로 Transition 이 일어나는 배경이 되는 Cont.. 2014. 4. 30.
Android Transition Animation (TransitionManager, Transition, Scene) Tutorial Android Transition Animation (TransitionManager, Transition, Scene) Tutorial 기본 참조 : http://blog.stylingandroid.com/archives/2143 Layout 의 변화에 대한 animation 을 지원한다.Layout 에 add, remove, move, resize, show, hide 등에 대한 기본 animation 을 지원한다. private ViewGroup mLayout1; @Overridepublic View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.in.. 2014. 4. 8.
[android] actionbar 어떻게 사용하고, 왜 사용하는가? 안드로이드 actionbar 어떻게 사용하고, 왜 사용하는가? 필자는 왜 그냥 간단히 View 로 구현하면 되는걸 ActionBar 로 구현하는가 했다.그것은 ActionBar 에 대해서 잘 모르기 때문에 한 이야기..ActionBarSherlock 이라는 libary 를 사용하면서 actionbar 에 대해 재조명하게 되었다. actionbar 의 기능들과 사용방법에 대해 간단하게 정리해본다. onCreateOptionsMenu onCreateOptionsMenu 에서 menu 를 add하면 그것이 ActionBar 의 우상단에 list 형태로 붙게 된다. MenuItem.setShowAsAction( int actionEnum ) 해당 Menu Item 이 ActionBar 에 어떤 형태로 displ.. 2013. 7. 15.
[VB6] Form(Component) 관련 Event 와 Function들 Form(Component) 관련 Event 와 Function들 [이전강좌] VB의 특징과 장점에 대해 알고 싶나요? 이곳을 클릭 VB6 Form ( Component ) 관련 대표 Event 들 ClickDblClick : 더블클릭DragDropGetFocusKeyDownKeyPressKeyUpLostFocusMouseDownMouseUp LoadUnload VB6 Form ( Component ) 관련 대표 Function 들 AddItemList 나 Combobox 에 Item 을 추가할 때 사용된다. DragDrag & Drop Action 에 대한 Callback HideForm 을 숨긴다. MoveForm 의 위치를 이동한다. PrintForm 에 Text 를 쓴다. SetFocusForm .. 2013. 5. 28.
[jQuery/Tutorial] CSS 에서 정의한 class 적용하기 & Effect 주기. 출처 : jQuery 공식 홈페이지 jQuery ( JavaScript ) 와 CSS 는 뗄 수 없는 관계. 태그를 통해서 class 정의를 하고,addClass( "className" ) 과 removeClass( "className" ) 을 통해정의된 class 를 추가 및 제거할 수 있다. jQuery jQuery 를 통해서는 effect 를 주는 것도 쉬운데,이 예제에서 사용된 것은 천천히 사라지는 hide( "slow" ) effect 이다. 2013. 5. 8.
반응형