Notification on android setlargeicon

0

good. I'm trying to implement a notification method setLargeIcon this asks me a Bitmap in my case just gives me the Bitmapcompat option and seen some examples as is normally done with Bitma but this ami generates an error

 picture = BitmapFactory.decodeStream((InputStream) new   URL(NotificationsConstants.URL_IMAGE).getContent());

in the notificationcompat

.setLargeIcon(picture)

this generates me some error how to implement BitmapCompat

    
asked by Cediendo_Lo_Aprendido 08.07.2017 в 18:21
source

0 answers