質問編集履歴

2

誤字

2017/04/21 14:27

投稿

edoooooo
edoooooo

スコア476

test CHANGED
@@ -1 +1 @@
1
- if(c.moveToFirst()) { この中に入れません。
1
+ if(c.moveToFirst()) { この中に入れません。なぜfalseになるのでしょうか?
test CHANGED
File without changes

1

説明

2017/04/21 14:27

投稿

edoooooo
edoooooo

スコア476

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,23 @@
2
2
 
3
3
  どうぞ宜しくお願い致します。
4
4
 
5
+
6
+
7
+ HandlerThread handlerThread = new HandlerThread("other");
8
+
9
+ handlerThread.start();
10
+
11
+ このコードが一番上にあったのですが、別のthreadで実行してることが原因でしょうか?
12
+
5
13
  ```java
14
+
15
+
16
+
17
+
18
+
19
+ HandlerThread handlerThread = new HandlerThread("other");
20
+
21
+ handlerThread.start();
6
22
 
7
23
  new Handler(handlerThread.getLooper()).postDelayed(new Runnable() {
8
24