mirror of
https://bitbucket.org/HeshamTB/barcodescanner2.git
synced 2024-11-22 08:42:15 +01:00
cleanup
This commit is contained in:
parent
26a8c7f6e8
commit
fefaafab83
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -186,7 +186,6 @@ public class MainActivity extends AppCompatActivity implements OnClickListener {
|
|||||||
|
|
||||||
//Camera settings from https://developer.android.com/reference/android/hardware/Camera.html
|
//Camera settings from https://developer.android.com/reference/android/hardware/Camera.html
|
||||||
android.hardware.Camera.Parameters para;
|
android.hardware.Camera.Parameters para;
|
||||||
|
|
||||||
android.hardware.Camera cam = android.hardware.Camera.open(0);
|
android.hardware.Camera cam = android.hardware.Camera.open(0);
|
||||||
para = cam.getParameters();
|
para = cam.getParameters();
|
||||||
para.setFlashMode(para.FLASH_MODE_TORCH);
|
para.setFlashMode(para.FLASH_MODE_TORCH);
|
||||||
|
Loading…
Reference in New Issue
Block a user