Android wallpapers
Wallpaper config
Params
DOWNLOADABLE : Let use download or not the wallpaper, to let use donwlod put 1 otherwise put 0
DARK_THEME : Use dark them, for dar theme use 1
DBURL : Contains urls for your json data files
Categories
To declare your categories use the metadata CATEGORIES with this pattern
[
{
"i": 17,
"n": "LIFE WALLPAPERS"
},
{
"i": 18,
"n": "NICE WALLPAPERS"
},
{
"i": 19,
"n": "ANDROID WALLPAPERS"
}
]
every category has and id 'i' and a name 'n', this ids and name must be the same declareted in the Global Json
JSON File
Your wallpaper data must be a json file hosted in your server or you can use firebase (see next step)
The json data file must be in this format :
{
"c": [
{
"n": "17=WALL CAT 1"
},
{
"n": "18=WALL CAT 2"
},
{
"n": "19=WALL CAT 3"
},
{
"n": "20=WALL CAT 4"
},
{
"n": "21=WALL CAT 5"
},
{
"n": "22=WALL CAT 6"
},
{
"n": "23=WALL CAT 7"
},
{
"n": "24=WALL CAT 8"
},
{
"n": "25=WALL CAT 9"
},
{
"n": "26=WALL CAT 10"
},
{
"n": "27=WALL CAT 11"
}
],
"w": [
{
"n": "137",
"u": "@#10336_Gacha Life Edits And Screenshots! - Cookie creations! (2).jpg",
"t": "@#10336_Gacha Life Edits And Screenshots! - Cookie creations! (2).jpg",
"c": "17"
},
{
"n": "222",
"u": "@#10508_7353_gacha12.png",
"t": "@#10508_7353_gacha12.png",
"c": "17"
},
{
"n": "1",
"u": "https://pm1.narvii.com/7319/c7b76c369567cf1ecd49d5324b5891925880cd5cr1-656-698v2_hq.jpg",
"t": "https://pm1.narvii.com/7319/c7b76c369567cf1ecd49d5324b5891925880cd5cr1-656-698v2_hq.jpg",
"c": "18"
},
{
"n": "2",
"u": "https://cdn140.picsart.com/308670159095201.png?r1024x1024",
"t": "https://cdn140.picsart.com/308670159095201.png?r1024x1024",
"c": "18"
},
{
"n": "3",
"u": "https://cdn6.aptoide.com/imgs/c/3/e/c3e21e3cd690829691df9472df783b2b_screen.png",
"t": "https://cdn6.aptoide.com/imgs/c/3/e/c3e21e3cd690829691df9472df783b2b_screen.png",
"c": "18"
},
{
"n": "26",
"u": "#@474x/d9/58/6a/d9586a1d17a7941e2fb8a85944e14001.jpg",
"t": "#@474x/d9/58/6a/d9586a1d17a7941e2fb8a85944e14001.jpg",
"c": "19"
},
{
"n": "27",
"u": "#@564x/b1/64/c7/b164c7642ab5df70c77418f53248466b.jpg",
"t": "#@564x/b1/64/c7/b164c7642ab5df70c77418f53248466b.jpg",
"c": "19"
},
{
"n": "28",
"u": "#@564x/51/00/86/51008675a5c52dd3ac96861ff1c48986.jpg",
"t": "#@564x/51/00/86/51008675a5c52dd3ac96861ff1c48986.jpg",
"c": "19"
},
{
"n": "29",
"u": "#@564x/04/ac/b0/04acb0ecd77863e53442d978450a357c.jpg",
"t": "#@564x/04/ac/b0/04acb0ecd77863e53442d978450a357c.jpg",
"c": "19"
},
{
"n": "18",
"u": "#@564x/fa/64/cb/fa64cb2cdb6cd6946db6907ded8dfcab.jpg",
"t": "#@564x/fa/64/cb/fa64cb2cdb6cd6946db6907ded8dfcab.jpg",
"c": "20"
},
{
"n": "19",
"u": "#@564x/44/d5/12/44d512d7df09c2ad79ee50760a2a9bc4.jpg",
"t": "#@564x/44/d5/12/44d512d7df09c2ad79ee50760a2a9bc4.jpg",
"c": "20"
},
{
"n": "20",
"u": "#@564x/69/bb/45/69bb451f7f2b5961bc76c44fd1251eda.jpg",
"t": "#@564x/69/bb/45/69bb451f7f2b5961bc76c44fd1251eda.jpg",
"c": "20"
},
{
"n": "21",
"u": "#@564x/ab/af/98/abaf981bc034b88567eac5952f634560.jpg",
"t": "#@564x/ab/af/98/abaf981bc034b88567eac5952f634560.jpg",
"c": "20"
},
{
"n": "22",
"u": "#@564x/cd/36/b7/cd36b7762434c3de3ee0b13fe9515c04.jpg",
"t": "#@564x/cd/36/b7/cd36b7762434c3de3ee0b13fe9515c04.jpg",
"c": "20"
},
{
"n": "10",
"u": "#@564x/fc/4a/36/fc4a36384e823ddebf5aa0df9ecdaf27.jpg",
"t": "#@564x/fc/4a/36/fc4a36384e823ddebf5aa0df9ecdaf27.jpg",
"c": "21"
},
{
"n": "11",
"u": "#@564x/44/d8/ec/44d8ec50fa0d1a295382788ae522456c.jpg",
"t": "#@564x/44/d8/ec/44d8ec50fa0d1a295382788ae522456c.jpg",
"c": "21"
},
{
"n": "12",
"u": "#@564x/0e/ba/a5/0ebaa594e2d242be17e5fbe3a7b88557.jpg",
"t": "#@564x/0e/ba/a5/0ebaa594e2d242be17e5fbe3a7b88557.jpg",
"c": "21"
},
{
"n": "10",
"u": "#@474x/6a/47/eb/6a47ebac561f529fe8f81af43d4af529.jpg",
"t": "#@474x/6a/47/eb/6a47ebac561f529fe8f81af43d4af529.jpg",
"c": "22"
},
{
"n": "11",
"u": "#@564x/32/98/7f/32987f4962c9b7ff0d68115a1714e19c.jpg",
"t": "#@564x/32/98/7f/32987f4962c9b7ff0d68115a1714e19c.jpg",
"c": "22"
},
{
"n": "12",
"u": "#@474x/96/7d/8e/967d8e1dd57eb33ba16a32b9cd892de0.jpg",
"t": "#@474x/96/7d/8e/967d8e1dd57eb33ba16a32b9cd892de0.jpg",
"c": "22"
},
{
"n": "13",
"u": "#@474x/df/96/b8/df96b84ca38d5681905193e6eb85e6c4.jpg",
"t": "#@474x/df/96/b8/df96b84ca38d5681905193e6eb85e6c4.jpg",
"c": "22"
},
{
"n": "19",
"u": "#@564x/ee/7a/68/ee7a6807f9235b62f2c57cad43e57463.jpg",
"t": "#@564x/ee/7a/68/ee7a6807f9235b62f2c57cad43e57463.jpg",
"c": "23"
},
{
"n": "20",
"u": "https://fsa.zobj.net/crop.php?r=sAyi1rgc-IY1yefAZHqGZzxfPGPsukjeIUaS1eb9L9ls4p2VJlpQZckT1VoIPdgXRBw4vvH01uD1QuTo4AUeIIVE9zRr57o1KIdkS_r5szSNziwAEAKD2eHSYFVJjx-Qfcd4YNmf1Uai3D7v",
"t": "https://fsa.zobj.net/crop.php?r=sAyi1rgc-IY1yefAZHqGZzxfPGPsukjeIUaS1eb9L9ls4p2VJlpQZckT1VoIPdgXRBw4vvH01uD1QuTo4AUeIIVE9zRr57o1KIdkS_r5szSNziwAEAKD2eHSYFVJjx-Qfcd4YNmf1Uai3D7v",
"c": "23"
},
{
"n": "21",
"u": "https://fsb.zobj.net/crop.php?r=r0-w5O_X6-n0eAwKTisJQgxl2BdK7RxFCRii0FBeuYdbWh-zS0JcUdQ_MLJoTxJoix6aDQqxsC8b2FMa2UOlsKK7thDWZx_k4bIUqo2YbNuZsSR_HmUOGd5rKiPH0j-HzjoNMiheMWimv1EJ",
"t": "https://fsb.zobj.net/crop.php?r=r0-w5O_X6-n0eAwKTisJQgxl2BdK7RxFCRii0FBeuYdbWh-zS0JcUdQ_MLJoTxJoix6aDQqxsC8b2FMa2UOlsKK7thDWZx_k4bIUqo2YbNuZsSR_HmUOGd5rKiPH0j-HzjoNMiheMWimv1EJ",
"c": "23"
},
{
"n": "17",
"u": "#@564x/f3/12/9b/f3129be5bc818e2cc3cacf3543a57f86.jpg",
"t": "#@564x/f3/12/9b/f3129be5bc818e2cc3cacf3543a57f86.jpg",
"c": "24"
},
{
"n": "18",
"u": "#@564x/3c/48/86/3c4886afb7b2fb83d1282246b4d05985.jpg",
"t": "#@564x/3c/48/86/3c4886afb7b2fb83d1282246b4d05985.jpg",
"c": "24"
},
{
"n": "19",
"u": "#@564x/eb/ab/40/ebab409290c770c5f74ad0f5f5fa901a.jpg",
"t": "#@564x/eb/ab/40/ebab409290c770c5f74ad0f5f5fa901a.jpg",
"c": "24"
},
{
"n": "20",
"u": "#@564x/4d/ba/23/4dba23fb97bdbad7a9b963112b8d008a.jpg",
"t": "#@564x/4d/ba/23/4dba23fb97bdbad7a9b963112b8d008a.jpg",
"c": "24"
},
{
"n": "21",
"u": "#@564x/a1/ea/ac/a1eaac1f76f750e4b592725192ab6647.jpg",
"t": "#@564x/a1/ea/ac/a1eaac1f76f750e4b592725192ab6647.jpg",
"c": "24"
},
{
"n": "17",
"u": "#@564x/59/24/89/5924893d9924941a3ac1dde4a2fdadfa.jpg",
"t": "#@564x/59/24/89/5924893d9924941a3ac1dde4a2fdadfa.jpg",
"c": "25"
},
{
"n": "18",
"u": "#@564x/81/7e/89/817e89f04232d1c5c4351fbf741b3df2.jpg",
"t": "#@564x/81/7e/89/817e89f04232d1c5c4351fbf741b3df2.jpg",
"c": "25"
},
{
"n": "19",
"u": "#@564x/65/52/ef/6552ef71cb6b44d811a408d2c86718c7.jpg",
"t": "#@564x/65/52/ef/6552ef71cb6b44d811a408d2c86718c7.jpg",
"c": "25"
},
{
"n": "20",
"u": "#@564x/94/0d/ee/940dee0c8fb40fb90bda25bb10932b6c.jpg",
"t": "#@564x/94/0d/ee/940dee0c8fb40fb90bda25bb10932b6c.jpg",
"c": "25"
},
{
"n": "7",
"u": "#@474x/f2/1a/ca/f21acaea7f9478552451154c1e29cd69.jpg",
"t": "#@474x/f2/1a/ca/f21acaea7f9478552451154c1e29cd69.jpg",
"c": "26"
},
{
"n": "8",
"u": "#@474x/75/48/5e/75485eb041bf53732c089a7d9f1d5999.jpg",
"t": "#@474x/75/48/5e/75485eb041bf53732c089a7d9f1d5999.jpg",
"c": "26"
},
{
"n": "9",
"u": "#@474x/5c/ba/71/5cba71395eab75f35075ad645c701a54.jpg",
"t": "#@474x/5c/ba/71/5cba71395eab75f35075ad645c701a54.jpg",
"c": "26"
},
{
"n": "10",
"u": "#@474x/31/75/96/3175966b401694350e584f0f268859a8.jpg",
"t": "#@474x/31/75/96/3175966b401694350e584f0f268859a8.jpg",
"c": "26"
},
{
"n": "11",
"u": "#@474x/55/9a/46/559a466a36437bc44e4297d707727944.jpg",
"t": "#@474x/55/9a/46/559a466a36437bc44e4297d707727944.jpg",
"c": "26"
},
{
"n": "103",
"u": "#@474x/d7/36/86/d7368620d37d8f712ed2029e6bd5d4ee.jpg",
"t": "#@474x/d7/36/86/d7368620d37d8f712ed2029e6bd5d4ee.jpg",
"c": "26"
},
{
"n": "104",
"u": "#@474x/34/4f/c2/344fc2c467bac5a0799b7b16199d32df.jpg",
"t": "#@474x/34/4f/c2/344fc2c467bac5a0799b7b16199d32df.jpg",
"c": "26"
},
{
"n": "105",
"u": "#@474x/30/5b/a6/305ba6e7ff5236e3c9e224415736923d.jpg",
"t": "#@474x/30/5b/a6/305ba6e7ff5236e3c9e224415736923d.jpg",
"c": "26"
},
{
"n": "106",
"u": "#@474x/5a/83/55/5a8355728b3d16c24110259264f443d1.jpg",
"t": "#@474x/5a/83/55/5a8355728b3d16c24110259264f443d1.jpg",
"c": "26"
},
{
"n": "107",
"u": "#@564x/ab/43/29/ab432908a741857bdb625300e8913833.jpg",
"t": "#@564x/ab/43/29/ab432908a741857bdb625300e8913833.jpg",
"c": "26"
},
{
"n": "108",
"u": "#@564x/03/aa/9a/03aa9a0edcd2de8a0aa592ed7d6d5708.jpg",
"t": "#@564x/03/aa/9a/03aa9a0edcd2de8a0aa592ed7d6d5708.jpg",
"c": "26"
},
{
"n": "109",
"u": "#@564x/df/35/2e/df352e1498722e21a7a36ce08e99438e.jpg",
"t": "#@564x/df/35/2e/df352e1498722e21a7a36ce08e99438e.jpg",
"c": "26"
},
{
"n": "16",
"u": "#@564x/4d/71/bf/4d71bf3449207a8e930c66390a3d5149.jpg",
"t": "#@564x/4d/71/bf/4d71bf3449207a8e930c66390a3d5149.jpg",
"c": "27"
},
{
"n": "17",
"u": "#@564x/a4/ea/a1/a4eaa1be866220a21559a71e52e25354.jpg",
"t": "#@564x/a4/ea/a1/a4eaa1be866220a21559a71e52e25354.jpg",
"c": "27"
},
{
"n": "18",
"u": "#@564x/c3/5c/6a/c35c6a53fe1f889b543749d368bb4610.jpg",
"t": "#@564x/c3/5c/6a/c35c6a53fe1f889b543749d368bb4610.jpg",
"c": "27"
},
{
"n": "19",
"u": "#@564x/45/59/ae/4559ae0bec43904320da3a07bbf95075.jpg",
"t": "#@564x/45/59/ae/4559ae0bec43904320da3a07bbf95075.jpg",
"c": "27"
},
{
"n": "20",
"u": "#@564x/10/35/f7/1035f7c65313a57caa84faa6723574cf.jpg",
"t": "#@564x/10/35/f7/1035f7c65313a57caa84faa6723574cf.jpg",
"c": "27"
},
{
"n": "21",
"u": "#@564x/50/5b/ca/505bcafdb939b8cdc9962c4553e738fb.jpg",
"t": "#@564x/50/5b/ca/505bcafdb939b8cdc9962c4553e738fb.jpg",
"c": "27"
},
{
"n": "22",
"u": "#@originals/d1/95/9f/d1959f0a6e54fdff632cde9e3f51f0e8.jpg",
"t": "#@originals/d1/95/9f/d1959f0a6e54fdff632cde9e3f51f0e8.jpg",
"c": "27"
},
{
"n": "23",
"u": "#@564x/e9/37/23/e9372303cba0cd1b31bfb00f48ab80d0.jpg",
"t": "#@564x/e9/37/23/e9372303cba0cd1b31bfb00f48ab80d0.jpg",
"c": "27"
},
{
"n": "24",
"u": "#@564x/95/58/78/9558783651acebcc47fccfea76121692.jpg",
"t": "#@564x/95/58/78/9558783651acebcc47fccfea76121692.jpg",
"c": "27"
},
{
"n": "25",
"u": "#@564x/f9/af/5f/f9af5faee7e261b47aa0d26e455c514e.jpg",
"t": "#@564x/f9/af/5f/f9af5faee7e261b47aa0d26e455c514e.jpg",
"c": "27"
},
{
"n": "26",
"u": "#@564x/49/d2/56/49d2566c5cba70979c72371c46f2b475.jpg",
"t": "#@564x/49/d2/56/49d2566c5cba70979c72371c46f2b475.jpg",
"c": "27"
}
]
}
Create a free json hosting
You can use the google firebase hosting service to host your json file
Just follow example from here : https://firebase.google.com/docs/hosting/quickstart
inside the index.html, past your json data
and use the provided url in the metadata : DBURL
you can use multiple hosting (from multiple firebase project) for the same json data to avoid the bandwich limit and then put all url in the DBURL metadata separated by ',' like : url1,url2,url3
Optimise your Json file
You can optimise your json file by factoring recurring string like base cnd for url and sub directory, just delcare them in the metadata and use replacement in the json data
BASE_URL : the base of your images url, for example if all your image comme from one server, you can declare in this metadata the url prefix, and then in the images url just use the relative path to this prefix
URL_SUBS : if you wan to avoid repetitive strings in your json data you can use this metadata, here is an example for the json format to use :
[
{
"p": "@@",
"r": "/image/upload/"
},
{
"p": "##",
"r": "https://domain.app.cc/wallpapers/"
},
{
"p": "@#",
"r": "https://wall.buzzwall.com/"
}
]
@@ will be replaced by /image/upload/ ## will be replaced by https://domain.app.cc/wallpapers/ @# will be replaced by https://wall.buzzwall.com/