Start a Conversation

Unsolved

This post is more than 5 years old

M

735

August 3rd, 2015 07:00

pocket cloud ignoring port

pocket cloud ignoring port

Device: Nexus One
Android Version: 2.2.1
PocketCloud Version: Pro 1.1

I need to start pocket cloud activity from an application. This is the code I am trying:

Uri uri = Uri.parse("http://192.168.10.3:3000/fox/mysfa.rdp");
Intent i = new Intent();
i.setAction(Intent.ACTION_VIEW);
Log.d(TAG, uri.toString());
i.setData(uri);

try {
startActivity(i);

} catch(ActivityNotFoundException e) {
Toast.makeText(this, R.string.install_rdp_client , 10 ).show();
}


The problem is that it does not work. Log says:

FileNotFoundException: http://192.168.10.3/fox/mysfa.rdp

Then I start a web server listening at port 80 and I put mysfa.rdp in the server. I run the same code and It works. It seems like pocketcloud is ignoring the port I specify.

Could anybody tell me what I am doing wrong?

No Responses!
No Events found!

Top