質問編集履歴
3
コメント行を削除
test
CHANGED
File without changes
|
test
CHANGED
@@ -99,9 +99,6 @@
|
|
99
99
|
return 0;
|
100
100
|
}
|
101
101
|
|
102
|
-
/**
|
103
|
-
* Method to set Context for Drawer
|
104
|
-
*/
|
105
102
|
public int setContext() {
|
106
103
|
int result = 0;
|
107
104
|
if (myContext == null){
|
2
実現したいことに追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
### 実現したいこと
|
2
2
|
- [アプリクラッシュを回避したい。]
|
3
|
+
USB接続時に必ず1度クラッシュするがクラッシュ後であれば情報を取得することは可能です。
|
4
|
+
ですが、クラッシュをそもそもしないようにしたいです。
|
3
5
|
AndroidManifestの設定か、このライブラリを使用する側で何か設定が必要でしょうか?
|
4
6
|
|
5
7
|
### 前提
|
1
脱字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -145,8 +145,9 @@
|
|
145
145
|
public void onClick(View v) {
|
146
146
|
|
147
147
|
Context context = this.getApplicationContext();
|
148
|
+
String dump = "";
|
148
149
|
try {
|
149
|
-
|
150
|
+
|
150
151
|
reader.setContext(context);
|
151
152
|
dump = reader.GetSts();
|
152
153
|
}
|