top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to capture image using Camera and use it inside the android application?

+1 vote
265 views

Please give a work flow, java code is not necessary.

posted Mar 3, 2016 by Shivam Kumar Pandey

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

When digital camera is connected to the android device. Gallery will launch automatically. Here what i need is to stop the auto launch of gallery when camera is connected to the device. Does any one know how to stop this?

+2 votes

I want to create an alertbox whenever any app creates an camera object. But I am not able to access to activity in frameworks/base/core/java/android/hardware/Camera.java to create an alertbox.

Could you help me out how can I capture activity related to camera in frameworks/base/core/java/android/hardware/Camera.java.

0 votes

Hi,Recently I made an app which takes photo and set to an ImageView in android.In samsung phone its orientation is 90 while camera intent opens so I used ExifInterface with four case 90/180/270/0 with normal case (0 degree) but when I compiled this method,its working perfect in all samsung device which is setting image after reverse rotate 90 to ImageView but not with others like moto/redmi/asus/karbonn I checked on each phone and there is an error that they are not getting bitmap.but when I removed ExifInterface and orientation,it started to work with all devices.but same issue with samsung device that setting image in ImageView with 90 degree orientation.
So I decided to use switch for samsung and other device so how can I know whether app is installed in samsung device or others using java?

...