본문 바로가기

Foggy day

검색하기
Foggy day
프로필사진 jinhan38

  • 분류 전체보기 (134)
    • Android (47)
    • Kotlin (26)
    • Flutter (60)
      • Flutter document (2)
      • Flutter widget (27)
      • Flutter 앱 (2)
      • Dart 문법 (14)
      • Flutter 기타 (12)
      • Flutter 강의 (1)
Guestbook
Recent Posts
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록surfaceviewholder (1)

Foggy day

Android - MediaPlayer with surfaceView

This article is an simple example of mediaplayer using surfaceview. The reason that i make this sample, it is to play video without audiofocus. If you use VideoView, it catch audiofocus. But MediaPlayer doesn't catch audiofocus. Video 1. add video file Add video file in res -> raw. In my case, video file is mp4 type. 2. draw xml. All you need is a SurfaceView 3. wirte code Somethings you need ar..

Android 2021. 2. 17. 00:05
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바