Getting Exception while generating QR code from string
===

I have Written the code to generate the qr code from the String but I am getting the exception as FileNotFoundException.Can some one help me ?

  btn.setOnClickListener(new OnClickListener(
        		) {
			
			@Override
			public void onClick(View v) {
				img.setImageBitmap(QRgeneratorActivity.this.encodeString(edit.getText().toString()));
				
			}
		});
    }
    private Bitmap encodeString(String input) {
    	URL aURL;
    	try {
    		aURL = new URL("http://chart.apis.google.com/chart?chs=300x300&cht=qr&choe=UTF- 8chl="+URLEncoder.encode(input, "UTF-8"));

    		URLConnection conn = aURL.openConnection();

    		conn.connect();

    		InputStream is = conn.getInputStream();

    		BufferedInputStream bis = new BufferedInputStream(is);

    		Bitmap bm = BitmapFactory.decodeStream(bis);

    		bis.close();

    		is.close();

    		return bm;
    	}
    	catch (IOException e) {

    		e.printStackTrace();

    		}

    		return null;
    }



