error nachricht erstellt
This commit is contained in:
parent
1630c2fe89
commit
fba2cac39f
@ -1,6 +1,7 @@
|
||||
package com.example.aped.ui.visualization;
|
||||
|
||||
import android.text.Html;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
@ -84,7 +85,9 @@ public class PinView {
|
||||
jsonObject, response -> displayLamp(response,
|
||||
view1, i));
|
||||
} catch (JSONException e) {
|
||||
e.printStackTrace(); // dd
|
||||
Log.e("PinView",
|
||||
"Error while generating JSON object: "
|
||||
+ e.getMessage());
|
||||
}
|
||||
break;
|
||||
case "PWM":
|
||||
@ -116,7 +119,9 @@ public class PinView {
|
||||
+ "%) </b>"));
|
||||
});
|
||||
} catch (JSONException e) {
|
||||
e.printStackTrace(); // aaaaa
|
||||
Log.e("PinView",
|
||||
"Error while generating JSON object: "
|
||||
+ e.getMessage());
|
||||
}
|
||||
dialog.cancel();
|
||||
});
|
||||
@ -170,8 +175,8 @@ public class PinView {
|
||||
}
|
||||
imageView.setImageResource(image);
|
||||
} catch (JSONException e) {
|
||||
// Richtigen log erstellen
|
||||
e.printStackTrace();
|
||||
Log.e("PinView", "Error while generating JSON object: "
|
||||
+ e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user