-
Notifications
You must be signed in to change notification settings - Fork 25
Migrating from the old CandyBar
Sarsa Murmu edited this page May 13, 2023
·
2 revisions
It's recommended that you set up the new dashboard.
After you've done setting up the new dashboard, you can continue with this guide.
Just copy these folders from the old dashboard to new dashboard
app/src/main/res/drawable-*
app/src/main/res/mipmap-*
app/src/main/res/xml
Also copy your appfilter.xml
and drawable.xml
to app/src/main/assets
The change is pretty simple.
Suppose this is the JSON in old format
{
"Wallpapers": [
{
"name": "Toyota Rock Car",
"author": "JC Falcon",
"url": "https://images.unsplash.com/photo-1564844159766-f1565806300b?ixlib=rb-1.2.1&q=80",
"thumbUrl": "https://images.unsplash.com/photo-1564844159766-f1565806300b?ixlib=rb-1.2.1&q=80&w=200"
},
{
"name": "Tasty Fruit",
"author": "Alexandra Kikot",
"url": "https://images.unsplash.com/photo-1564750497011-ead0ce4b9448?ixlib=rb-1.2.1&q=80",
"thumbUrl": "https://images.unsplash.com/photo-1564750497011-ead0ce4b9448?ixlib=rb-1.2.1&q=80&w=200"
}
]
}
then our new JSON would look like this
[
{
"name": "Toyota Rock Car",
"author": "JC Falcon",
"url": "https://images.unsplash.com/photo-1564844159766-f1565806300b?ixlib=rb-1.2.1&q=80",
"thumbUrl": "https://images.unsplash.com/photo-1564844159766-f1565806300b?ixlib=rb-1.2.1&q=80&w=200"
},
{
"name": "Tasty Fruit",
"author": "Alexandra Kikot",
"url": "https://images.unsplash.com/photo-1564750497011-ead0ce4b9448?ixlib=rb-1.2.1&q=80",
"thumbUrl": "https://images.unsplash.com/photo-1564750497011-ead0ce4b9448?ixlib=rb-1.2.1&q=80&w=200"
}
]
These are the changes
- {
- "Wallpapers": [
+ [
{
"name": "Toyota Rock Car",
"author": "JC Falcon",
"url": "https://images.unsplash.com/photo-1564844159766-f1565806300b?ixlib=rb-1.2.1&q=80",
"thumbUrl": "https://images.unsplash.com/photo-1564844159766-f1565806300b?ixlib=rb-1.2.1&q=80&w=200"
},
{
"name": "Tasty Fruit",
"author": "Alexandra Kikot",
"url": "https://images.unsplash.com/photo-1564750497011-ead0ce4b9448?ixlib=rb-1.2.1&q=80",
"thumbUrl": "https://images.unsplash.com/photo-1564750497011-ead0ce4b9448?ixlib=rb-1.2.1&q=80&w=200"
}
]
- }
Now you're good to go with the new CandyBar.
If you want more help then join Our Telegram Group.
- Wallpaper JSON
- Setting up the Config JSON
- Advanced Dashboard configurations
- Changing fonts
- Changing navigation drawer icons
- Changing icons of the apply section
- Replacing icon names in icon preview
- Enabling OneSignal notifications
- Enabling InApp purchases (donations and premium requests)
- Customizing the analog clock widget
- Enabling Kustom presets