We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where Type === SKYPER Button und Notification-Box
The text was updated successfully, but these errors were encountered:
@Override public PagerMessage createMessageFromActivation(Activation activation) { List<String> activationCode = Arrays.asList(settings.getActivationCode().split(",")); StringBuilder sb = new StringBuilder(); for (int i = 0; i < activationCode.size(); ++i) { List<String> activationSubCode = Arrays.asList(activationCode.get(i).split(" ")); if (activationSubCode.size() != 3) { return null; } int shift = Integer.parseInt(activationSubCode.get(0)); int mask = Integer.parseInt(activationSubCode.get(1)); int offset = Integer.parseInt(activationSubCode.get(2)); int cInt = ((activation.getNumber() >> shift) & mask) + offset; char c = (char) cInt; sb.append(String.valueOf(c)); } return new PagerMessage(sb.toString(), activation.getNumber(), PagerMessage.MessagePriority.ACTIVATION, PagerMessage.FunctionalBits.ACTIVATION); }
Sorry, something went wrong.
private String activationCode = "0 7 50,0 7 34,0 7 53,0 7 51,0 7 51,0 7 52,0 7 52,0 7 52";
No branches or pull requests
Where Type === SKYPER
Button und Notification-Box
The text was updated successfully, but these errors were encountered: