Hello. Sorry. I need to know exactly how are you functions are used ..

Thank you very much. Cheers PD. Android

alt text

asked 22 Mar '15, 08:52
Gon%20Her's gravatar image

Gon Her
12

Hi,

The icon parameter is very straightforward. Just put URL to the square image (png format) and it will be shown as icon in the notification on Android.

Banner is a bit more complicated. You put URL to the image and it will be shown full size as a part of the notification. There are certain things to remember: only the very first notification in the notification center can show the image. In addition Image should be ≤ 450px wide, ~2:1 aspect, the image will be centerCropped.

permanent link
answered 23 Mar '15, 08:12
shader's gravatar image

shader
3.9k7

the path of the icon and the image is local (res / drawable / icon) or external url: www.?

thank you very much

permanent link
answered 25 Mar '15, 16:10
Gon%20Her's gravatar image

Gon Her
12

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×434
×428
×25

question asked: 22 Mar '15, 08:52

question was seen: 1,785 times

last updated: 25 Mar '15, 16:10