초초초 간단한 soundPool 사용법을 적어보겠습니다 . 이번에는 Java 언어로 만들겠습니다 . Layout 이제 자신이 원하는 효과음을 넣어야겠죠 ? res에 new directory 를 raw 로 만들어주세요 거기에 원하는 효과음을 넣어주시면 됩니다. MainActivity public class MainActivity extends AppCompatActivity { SoundPool mSoundPool; int mSoundId; Button button ; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_ma..
dependencies 추가 dependencies { //exoPlayer implementation "com.google.android.exoplayer:exoplayer-core:2.14.1" implementation "com.google.android.exoplayer:exoplayer-ui:2.14.1" implementation "com.google.android.exoplayer:exoplayer-hls:2.14.1" } ExoPlayer 공식홈페이지 참조하여서 봐주세요~ https://exoplayer.dev/playlists.html Playlists - ExoPlayer exoplayer.dev 이해가 안가는 분들은 Exoplayer 사용하기 보고와 주세요 . MainActivity ..
- Total
- Today
- Yesterday
- retrofit
- 알고리즘
- flutter_new_badger
- app bundle
- error
- ExoPlayer
- listener
- https
- FCM
- ec2
- Custom
- Flutter
- Firebase
- android
- ios
- direction
- java
- API
- Android Studio
- ScrollView
- node.js
- Kotlin
- 재귀함수
- Hilt
- message
- 코딩테스트
- bitmap
- Token
- GitHub
- Crop
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |