No Activity found Exception
<p>I have downloaded the sample code from this site for FTP Client <a href="http://www.lysesoft.com/products/andftp/index.html" rel="nofollow">http://www.lysesoft.com/products/andftp/index.html</a></p>

<p>But when I ran the project I got this exception and crashed.</p>

<pre><code>03-27 21:40:44.572: INFO/System.out(559): EEE  : No Activity found to handle Intent { act=android.intent.action.PICK dat=ftp://192.168.20.128 typ=vnd.android.cursor.dir/lysesoft.andftp.uri (has extras) }
</code></pre>

<p>What is the reason for this?
Can anyone provide me a fully working android code for FTP.</p>

<p>This is the code for downloading.</p>

<pre><code>Intent intent = new Intent();
                intent.setAction(Intent.ACTION_PICK);
                // FTP URL (Starts with ftp://, sftp://, ftps:// or scp:// followed by hostname and port).
                Uri ftpUri = Uri.parse("ftp://192.168.20.128");
                intent.setDataAndType(ftpUri, "vnd.android.cursor.dir/lysesoft.andftp.uri");
                // Download
                intent.putExtra("command_type", "download");
                // FTP credentials (optional)
                intent.putExtra("ftp_username", "anonymous");
                intent.putExtra("ftp_password", "test@test.com");
                //intent.putExtra("ftp_keyfile", "/sdcard/dsakey.txt");
                //intent.putExtra("ftp_keypass", "optionalkeypassword");
                // FTP settings (optional)
                intent.putExtra("ftp_pasv", "true");
                //intent.putExtra("ftp_resume", "true");
                //intent.putExtra("ftp_encoding", "UTF-8");
                //intent.putExtra("ftps_mode", "implicit");
                // Activity title
                intent.putExtra("progress_title", "Downloading files ...");
                // Remote files to download.
                intent.putExtra("remote_file1", "/remotefolder/subfolder/file1.zip");
                intent.putExtra("remote_file2", "/remotefolder/subfolder/file2.zip");
                // Target local folder where files will be downloaded.
                intent.putExtra("local_folder", "/sdcard/localfolder"); 
                intent.putExtra("close_ui", "true");    
                startActivityForResult(intent, DOWNLOAD_FILES_REQUEST);
</code></pre>

<p>I get error at "startActivityForResult"</p>
