use a different action at the Camera icon

closes #6
This commit is contained in:
tibbi 2016-07-12 11:10:57 +02:00
parent 1b30b011b2
commit 6bcb522d59
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ public class MainActivity extends AppCompatActivity
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.camera: {
final Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
final Intent intent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA);
startActivity(intent);
return true;
}