This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-11-16T01:35:27.099Z E/Global: org.json.JSONException: No value for to | |
2017-11-16T01:35:27.100Z E/Global: at $c_Lorg_json_JSONException.$c_jl_Throwable.fillInStackTrace__jl_Throwable(https://raw.githubusercontent.com/scala-js/scala-js/v0.6.9/library/src/main/scala/scala/scalajs/runtime/StackTrace.scala:33:4) | |
2017-11-16T01:35:27.101Z E/Global: at $c_Lorg_json_JSONException.$c_jl_Throwable.init___T__jl_Throwable(https://raw.githubusercontent.com/scala-js/scala-js/v0.6.9/javalanglib/src/main/scala/java/lang/Throwables.scala:12:18) | |
2017-11-16T01:35:27.102Z E/Global: at org.json.JSONException.<init>(../../src/main/scala/org/json/JSONException.scala:33:45) | |
2017-11-16T01:35:27.103Z E/Global: at org.json.JSONObject.getString(https://raw.githubusercontent.com/scala/scala/v2.11.8/src/library/scala/Option.scala:121:4) | |
2017-11-16T01:35:27.104Z E/Global: at co.ledger.wallet.core.wallet.ethereum.api.AbstractTransactionRestClient$JsonTransaction.<init>(../../src/main/scala/co/ledger/wallet/core/wallet/ethereu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----- Service class | |
public class NotifyService extends Service { | |
private final int NOTIFICATION_ID = 1; | |
@Override | |
public void onCreate() { | |
NotificationManager mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); | |
//R.drawable.ic_launcher is the icon for this notification | |
Notification notification = new Notification(R.drawable.ic_launcher, "This is the message that first appread in the top bar", System.currentTimeMillis()); | |
Intent myIntent = new Intent(this , MainActivity.class); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<service | |
android:name=".NotifyService" | |
android:icon="@drawable/ic_launcher" | |
android:label="@string/app_name" > | |
</service> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class NotifyService extends Service { | |
private final int NOTIFICATION_ID = 1; | |
@Override | |
public void onCreate() { | |
NotificationManager mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); | |
//R.drawable.ic_launcher is the icon for this notification | |
Notification notification = new Notification(R.drawable.ic_launcher, "This is the message that first appread in the top bar", System.currentTimeMillis()); | |
Intent myIntent = new Intent(this , MainActivity.class); |