Skip to content Skip to sidebar Skip to footer

Processing Image From A Broadcastreceiver On Android

I´m trying to process an image from a BroadcastReceiver on Android but my log display the following error: call to OpenGL ES API with no current context (logged once per thread).

Solution 1:

You shouldn't do anything in BroadcastReciever other than starting services and activities. BroadcastReceiver instantiated by system with a very limited context which, probably, lacks accelerated graphics support.

android.graphics package contains classes that tightly related to graphic hardware in platform, so Android Context object without actual openGL context can not be used to perform some manipulations specified in this package.

Post a Comment for "Processing Image From A Broadcastreceiver On Android"