Camera Intent issue,how can I know whether app is installed in samsung device or others using java?

8 views
Skip to first unread message

Kevin Peterson

unread,
Mar 17, 2016, 3:25:33 AM3/17/16
to android-...@googlegroups.com
Hi,

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?

Thanks,
Kevin Peterson


Reply all
Reply to author
Forward
0 new messages