"style" attribute in AndroidDevicePayload builder


I need to attach am an image with push message.

so i need to add following data with the payload.

"style": {

"type": "big_picture",

"big_picture": "http://www.mathrubhumi.com/polopoly_fs/1.1385032.1474961479!/image/image.jpg_gen/derivatives/landscape_607/image.jpg",

"title": "യൂത്ത് കോണ്‍ഗ്രസ് മാര്‍ച്ചില്‍ സംഘര്‍ഷം"



How can i add this using java api.

Didn't find what you were looking for?

New post


1 comment

  • Hello Ramasamy,

    Unfortunately, the Java library does not offer support for Android big picture at this time. You can send Android big picture messages using a cURL command or through Postman if you are not looking to use the web dashboard. The cURL command would look something like this:

    curl https://go.urbanairship.com/api/push/validate \
       -X POST \
       -u "<AppKey>:<MasterSecret>" \
       -H "Accept: application/vnd.urbanairship+json; version=3" \
       -H "Content-Type: application/json" \
       -d '{
              "device_types": ["android"],
              "notification": { 
                  "android": {
                    "style": {
                       "type": "big_picture",
                       "big_picture": "http://pic.com/photo",
                       "title": "Big picture title",
                       "summary": "Big picture summary"
              "audience": "all"

    Please let me know if you have any questions or concerns.





    Comment actions Permalink

Please sign in to leave a comment.