In the past two days, I wrote a smallProgramYou can regularly download images from the Internet to set them to the desktop of your computer. The program is mainly implemented in Java and uses regular expressions to analyze the webpage file to obtain the image address. You must use Windows API to set images to desktops.CodeThe C code is used, and JNI (javaa Local interface) is used to integrate with Java programs.
The app can set the URL and interval for obtaining images. Now I am using Baidu image search to find images. I change the desktop every half an hour, there is no need to face the same desktop. Baidu will find the most beautiful pictures for me and set them to the desktop.
Programs andSource code: Http://www.mofile.com/extract code 3973957361825921. The program does not have a built-in JRE, so you need to install jre before running.
The program supports the proxy server. You can use config. properties for configuration. Currently, only Baidu search is supported. If you are interested, you can modify config. add the Regular Expression in properties to another HTTP address to download the image. thanks to ggg for telling me that you can get a free space for uploading at http://www.mofile.com /.
Csdn opened the download function, now provides the csdn http://download.csdn.net/user/zhaohuabing/