回答編集履歴
1
try catchを加筆
test
CHANGED
@@ -10,11 +10,17 @@
|
|
10
10
|
|
11
11
|
super.onRestart();
|
12
12
|
|
13
|
-
|
13
|
+
try{
|
14
14
|
|
15
15
|
mediaPlayer.prepare();
|
16
16
|
|
17
|
+
} catch (Exception ex)
|
18
|
+
|
19
|
+
{
|
20
|
+
|
21
|
+
|
22
|
+
|
17
|
-
}
|
23
|
+
}
|
18
24
|
|
19
25
|
```
|
20
26
|
|