Camera2 API not working on android 5.0.2 Motog2

225
April 13, 2018, at 4:07 PM

On capturing image on 5.0.2 moto g2, getting following exception.

Surface with size (w=960, h=720) and format 0x21 is not valid

E/QCamera2HWI: [KPI Perf] static int qcamera::QCamera2HardwareInterface::auto_focus(camera_device*) : E PROFILE_AUTO_FOCUS
 E/mm-camera-CORE: af_set_parameters: Unsupported parameter:0
? E/mm-camera-img: module_imglib_store_session_params:428 Invalid param type 
 E/mm-camera-img: module_imglib_port_handle_events:1104] Store session params fail
Rent Charter Buses Company
READ ALSO
Repeating a notification every day when app dies

Repeating a notification every day when app dies

I need to know how to do a notification every dayI tried with AlarmManager, but when app close, AlarmManager doesn't work

190
Hitting API request in ViewPager Fragment

Hitting API request in ViewPager Fragment

I have a viewpager and used fragmentpageradapter, now I have 3 fragments and in every fragment I need to make a http request(ie, hit a api), I dont want to hit all the api for 3 fragments at a time instead I require to hit the api only when the respective...

171
Unable to view my Push Notification in Oreo when app is in foreground/opened

Unable to view my Push Notification in Oreo when app is in foreground/opened

I have firebase push notifications in my application whereas I used to receive notifications when the app is in foreground, background and killed

193