set wall paper from a URL
I’d like to create an android app which sets the wall paper from a URL. I checked the API there isn’t any API call/Function/method to set the wall paper. Could you please let me know if it’s possible to setup the wall paper through monaca HTML app ?
I suspect you may not be able to set it from an external URL. I may be wrong, but I’m not sure you will be able to do that.
If you want you could maybe download the picture and then use something like this.
As for the reason why you couldn’t find a method for this is just that it’s an uncommon feature to want. Which is why it’s located in a cordova plugin instead of the core logic.
Add the plugin and you should be able to add a picture at least if it’s from your app, for the download from url thing you need to check further whether it will work.
Thanks a lot. I’m using the Monaca cloud IDE to build this app. How to install this plugin on my html page. Is it possible to load this plugin similar to referencing a jqeury library?
Is it possible to load this plugin similar to referencing a jqeury library?
Maybe, but I’m not 100% sure. I personally use the
How to install this plugin on my html page.
I think there should be some easy to use UI in the cloud IDE to add a plugin, but there may be some specific options you would need to select when you build your app. However since this is a purely monaca question and I am not very familiar with it I would suggest making a new topic about it in the monaca section of the forum, so that other people may answer you there.