- run the app to see that BUTTON shows up and you have no errors
- if you have error in line with "R.id.scan_button" first verify that main.xml is correct android:id="@+id/scan_button"
- to REBUILD R.java select project -> Clean
- In Project Explorer right-click on your project -> Run As -> Android Application
- change perspective to DDMS
- Window -> Show View -> Devices
- from the list select YOUR device
- from the drop-down select "Screen Capture"
- you should be able to see "SCAN BARCODE" button, "Rotate" screen if needed
|
|