Skip to content

Vibration feedback when transaction successful #5

@joseluu

Description

@joseluu

When transacting one has to keep the card on the reader for some time, a vibration feedback after the time has elapsed is a welcome confirmation for the user.

FIle SendTransactionActivity.java around line 255
For instance:
255 if (response.first.getError() != null) {
vibrateWarn(this);
showToast(response.first.getError().getMessage(), this);
} else {
vibrateOK(this);
showToast(getString(R.string.send_success), this);
}
} catch (IOException e) {
vibrateWarn(this);
showToast(getString(R.string.lost_tag), this);
Log.e(TAG, "IOException while sending ether transaction", e);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions