Skip to content

Commit 985820f

Browse files
committed
Added Scan Button in Action Bar
1 parent 9b6da2c commit 985820f

File tree

14 files changed

+10
-0
lines changed

14 files changed

+10
-0
lines changed

app/src/main/java/jbtronics/part_db/barcode_scanner.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ public boolean onOptionsItemSelected(MenuItem item) {
5757
Intent intent = new Intent(this, SettingsActivity.class);
5858
startActivity(intent);
5959

60+
case R.id.action_scan_browser:
61+
scanBarcode(null);
62+
6063
default:
6164
// If we got here, the user's action was not recognized.
6265
// Invoke the superclass to handle it.
585 Bytes
Loading
452 Bytes
Loading
377 Bytes
Loading
293 Bytes
Loading
758 Bytes
Loading
565 Bytes
Loading
1.08 KB
Loading
829 Bytes
Loading
1.43 KB
Loading

0 commit comments

Comments
 (0)