title: set Wallpaper from an Url
body: <p>I have the ability to set the background in my program . 
  I want to get a picture from the Internet and set it in the background when clicked on a button .
  I was asking anyone for a solution that would suggest that I place the photos in the drawable .
  But I do not wanna increase my program volume .
  Please, if you have a solution for me . 
  Come on and download a picture from the Internet and put it in the background .
  I asked one of my friends the solution, suggested the code, but when the button is clicked, The error force close .
  If you know where the problem is, tell me
  Thanks</p>
  
  <pre><code>b1 = (Button) findViewById(R.id.button1);
  b1.setOnClickListener(new View.OnClickListener() {
      @Override
      public void onClick(View view) {
          WallpaperManager mywallpaper =  WallpaperManager.getInstance(getApplicationContext());
          mywallpaper.getCropAndSetWallpaperIntent(Uri.parse("Url"));
      }
  });
  </code></pre>