markusfisch / WaveLinesWallpaper

A simple, unobstrusive live wallpaper for Android showing slowly moving wave lines
https://play.google.com/store/apps/details?id=de.markusfisch.android.wavelines
MIT License
104 stars 14 forks source link

importing and exporting theme #11

Open hacknorris-code opened 2 years ago

hacknorris-code commented 2 years ago

just saw that in every theme i can share it in json (i think) format and import. just that it doesnt fully work - means - if i share it i get only json text (tried both to share to desktop via kde connect and to discord, both in text-only form, i know thats json just because im mainly web dev).

when will it be possible to really share themes? upload/export?.

and example of 'theme' i got via share feature (in exact form of this, not a file and copying this text to app to import also via share feature also doesnt work) :

{"version":8,"coupled":true,"uniform":true,"shuffle":false,"lines":12,"waves":2,"amplitude":0.05000000074505806,"oscillation":0.800000011920929,"shift":0.1899999976158142,"speed":0.05000000074505806,"growth":0,"rotation":21,"colors":["#FF333333","#FF6FA397","#FFDEDA90","#FF9F6CA6","#FFEDA1F7","#FF6FA397","#FFDEDA90","#FF9F6CA6","#FFEDA1F7","#FF6FA397","#FFDEDA90","#FF9F6CA6"],"strokeWidths":[1,1,1,1,1,1,1,1,1,1,1,1]}

phone i use now - android 5.1 (cyanogenmod). lg l65 d280n (if needed) =] app version - 1.13.1 (f-droid)

markusfisch commented 2 years ago

Sorry for the inconvenience 😬 This feature really isn't as easy to use as it should be 🙈

One way to make it work is to share the text into Google Drive and save it (there) as an .json file. Then, you can open this (or any other .json file) and pick this app from the menu (that appears after "Open with…").

Currently the app registers only for application/json (and files that end with .json, see https://github.com/markusfisch/WaveLinesWallpaper/blob/master/app/src/main/AndroidManifest.xml#L68). Of course, this isn't too useful as there's no easy way to save the shared text in a file that has a .json extension.

I'll try to make this simpler.

hacknorris-code commented 2 years ago

okay. waiting for it (and for very future release - maybe a wpp store? where if someone makes acc can publish? ) PS: i use nextcloud, not g-drive (i moved out of it)