mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Fixed missing "Send SMS" button in Android client. We showed the SMS number but were unable to launch the SMS app without this.
git-svn-id: https://zxing.googlecode.com/svn/trunk@579 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
40d1a24e50
commit
39bc2d9bdd
|
@ -26,6 +26,7 @@
|
|||
<string name="button_ok">OK</string>
|
||||
<string name="button_open_browser">Open browser</string>
|
||||
<string name="button_show_map">Show map</string>
|
||||
<string name="button_sms">Send SMS</string>
|
||||
|
||||
<string name="contents_contact">Contact info</string>
|
||||
<string name="contents_email">Email address</string>
|
||||
|
|
|
@ -85,6 +85,8 @@ final class ResultHandler implements Button.OnClickListener {
|
|||
buttonText = R.string.button_open_browser;
|
||||
} else if (type.equals(ParsedResultType.EMAIL_ADDRESS)) {
|
||||
buttonText = R.string.button_email;
|
||||
} else if (type.equals(ParsedResultType.SMS)) {
|
||||
buttonText = R.string.button_sms;
|
||||
} else if (type.equals(ParsedResultType.UPC)) {
|
||||
buttonText = R.string.button_lookup_product;
|
||||
} else if (type.equals(ParsedResultType.TEL)) {
|
||||
|
|
Loading…
Reference in a new issue