質問編集履歴
2
ログ出力の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -220,14 +220,48 @@
|
|
220
220
|
|
221
221
|
```
|
222
222
|
|
223
|
+
//ListFragment
|
224
|
+
|
223
|
-
07-19 21:0
|
225
|
+
07-19 22:14:08.907 17177-17177/com.example.nfcbtsspsend D/TAG: onListItemClick position => 1 : id => 1
|
226
|
+
|
224
|
-
|
227
|
+
07-19 22:14:08.919 17177-17177/com.example.nfcbtsspsend I/TAG: Sending URI: content://media/external/audio/media/1:onListItemClick
|
228
|
+
|
229
|
+
07-19 22:14:08.919 17177-17177/com.example.nfcbtsspsend I/TAG: sendUri_string: content://media/external/audio/media/1:onListItemClick
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
//SendDataFragment
|
234
|
+
|
225
|
-
07-19 21:03
|
235
|
+
07-19 22:14:09.036 17177-17177/com.example.nfcbtsspsend I/FloatingActionButton: Setting a custom background is not supported.
|
236
|
+
|
226
|
-
|
237
|
+
07-19 22:14:09.089 17177-17177/com.example.nfcbtsspsend I/TAG: Sending URI: null:onCreateView
|
238
|
+
|
239
|
+
07-19 22:14:09.089 17177-17177/com.example.nfcbtsspsend I/TAG: sendUri_string: content://media/external/audio/media/1:onCreateView
|
240
|
+
|
227
|
-
07-19 21:0
|
241
|
+
07-19 22:15:08.450 17177-17360/com.example.nfcbtsspsend I/TAG: Beam event in progress; createBeamUris() called.
|
228
|
-
|
242
|
+
|
229
|
-
07-19 21:0
|
243
|
+
07-19 22:15:08.450 17177-17360/com.example.nfcbtsspsend I/TAG: Sending URI: null:createBeamUris
|
244
|
+
|
230
|
-
|
245
|
+
07-19 22:15:08.450 17177-17360/com.example.nfcbtsspsend I/TAG: sendUri_string: content://media/external/audio/media/1:createBeamUris
|
246
|
+
|
231
|
-
07-19 21:0
|
247
|
+
07-19 22:15:08.450 17177-17360/com.example.nfcbtsspsend E/NFC: Uri not allowed to be null.
|
232
|
-
|
248
|
+
|
233
|
-
```
|
249
|
+
```
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
改めて、追記させて頂きました。
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
確認したところ、
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
sendUri.parse(sendUri_string);
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
で、String型 を Uri型 に変換ができていないようです。
|
266
|
+
|
267
|
+
この部分をどのようにすれば、変換が可能でしょうか?
|
1
ログ出力を追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -197,3 +197,37 @@
|
|
197
197
|
「content://media/external/audio/media/5」
|
198
198
|
|
199
199
|
引き継いだUri情報(String型)は表示できている。
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
###追加記入
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
頂いたコメントを元に、追加させて頂きました。
|
212
|
+
|
213
|
+
ListFragmentのItemをタップし、
|
214
|
+
|
215
|
+
送信用のSendDataFragmentで、スマホ同士をNFCで接続させたところまでのログ出力です。
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
恐れいりますが、お知恵をお貸し頂けると、非常に助かります。
|
220
|
+
|
221
|
+
```
|
222
|
+
|
223
|
+
07-19 21:03:26.075 24232-24232/com.example.nfcbtsspsend D/TAG: onListItemClick position => 2 : id => 2
|
224
|
+
|
225
|
+
07-19 21:03:26.140 24232-24232/com.example.nfcbtsspsend I/FloatingActionButton: Setting a custom background is not supported.
|
226
|
+
|
227
|
+
07-19 21:03:34.741 24232-24257/com.example.nfcbtsspsend I/TAG: Beam event in progress; createBeamUris() called.
|
228
|
+
|
229
|
+
07-19 21:03:34.742 24232-24257/com.example.nfcbtsspsend I/TAG: Sending URI: null
|
230
|
+
|
231
|
+
07-19 21:03:34.742 24232-24257/com.example.nfcbtsspsend E/NFC: Uri not allowed to be null.
|
232
|
+
|
233
|
+
```
|