lab.naminsik
  • Javascript, jQuery
  • Reactjs
  • React Native
  • iOS
  • Android
  • AWS
  • Server
  • Html, CSS
  • Php
  • asp .net
  • SQL
  • Word Press
search
keywords
  • Android 2017‧11‧08

    SurfaceView를 이용한 비디오 플레이어 만들기 코드

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context=".MainActivity" > <SurfaceView android:id="@+id/surfaceView1" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </LinearLayout> In the MainAcitivity class, in the onCreate method, you write code to create a reference to SurfaceView, get the surface holder, add Callback interface to the holder, and create MediaPlayer instance. In the onSurfaceCreate method (you need […]

popular

  • 리눅스-root 권한 폴더나 파일 nobody로 변경
  • 그림문자인 이모지(emoji) 웹에 사용하기
  • jQuery - a 태그의 href 값 변경하기
  • 심플한 아이콘들
  • findDOMNode) is not a function 오류 발생시
  • 리눅스 tail 명령어 사용법
  • 파일 혹은 디렉토리 이동 mv 명령어
  • Github, AWS EC2, Next.js CI/CD 자동화 + Slack 연동
  • 이미지와 텍스트 정렬 (위 이미지, 아래 텍스트)
  • 날씨와 관련된 UI

comment

  • 감사합니다!
  • 감사합니다~
  • 잘 해결 되셨다니 다행입니다!...
  • 정말 감사합니다. 덕분에 해결했습니다!...
  • 유용한정보 대단히 감사합니다....