Skip to content

Add Wallpapers

Lumiq Creative edited this page Jul 7, 2020 · 5 revisions

Frames can fetch wallpaper data from a JSON file.

New to JSON?
Read the tutorial to get started.

Basics

A parent array houses wallpaper objects, which require two key–value pairs: name and url. Seven more are accepted.

[
  {
    "name": "First Wallpaper",
    "url": "https://www.example.com/first-wallpaper.png"
  },
  {
    "name": "Second Wallpaper",
    "url": "https://www.example.com/second-wallpaper.png"
  },
  {
    "name": "Third Wallpaper",
    "url": "https://www.example.com/third-wallpaper.png"
  }
]

Property Reference

Wallpaper objects accept nine key–value pairs in total.

Key Data Type Definition Notes
name String Wallpaper Name
url String Wallpaper Image Direct URL
author String Wallpaper Author
thumbnail String Thumbnail Image Direct URL
collections String Collections to Include In Comma-Separated List
downloadable Boolean Allows Downloading
size Integer File Size in Bytes
dimensions String Image Resolution
copyright String Licensing Information

Connect to App

Upload your JSON file online and obtain a direct URL to it. Overwrite the value of json_url in /app/src/main/res/values/dashboard_setup.xml.

<string name="json_url">https://jahir.dev/frames/frames.json</string>