2021-09-12から1日間の記事一覧
2022 Feb. 13 2021 Sep. 18. 2021 Sep. 12. SMBサーバーへの接続にjcifs-ngを利用する。 data class AudioFileProperty(val smbPath: String, val fileSize: Long) val audioExtension: String = "\\.mp3|\\.wav|\\.aac|\\.au|\\.gsm|\\.m4a|\\.ogg|\\.flac"…
2022 May 02. 2021 Sep. 12. 出典 Invalid URI at getting path in different android api - Stack Overflow 端末 Android 11 (API レベル 30) 概要 ContentResolverにて、collectionにuriを、projectionに"_data"をセットしqueryする サンプルkotlinコード …
2022 Dec. 04. 2022 Jan. 30. 2021 Sep. 12. Intent#setPackageでアプリを指定する 音声uriとVLCメディアプレーヤーを指定するインテント例 // audioUri: Uri URI of an audio content val audioIntent = Intent() audioIntent.action = Intent.ACTION_VIEW …