Problem launching from 3rd party app

  • Thread starter Thread starter jameadows
  • Start date Start date
J

jameadows

I am developing an Android application that wants launch an RDP session for an Amazon EC2 instance. I am following the example code for how to do this but it is not working. The 2x client launches but does not establish the RDP session. Here is the code that I use:

Code:
				Intent i = new Intent(Intent.ACTION_MAIN);
				ComponentName comp = new ComponentName("com.tux.client","com.tux.client.menus.ActFarmsList");
				i.setComponent(comp);
				i.putExtra("External_Launch", true);
				i.putExtra("Save", true);
				i.putExtra("Server", inst.getPublicDnsName());
				i.putExtra("UserName", "administrator");
				i.putExtra("Password", "password");
				startActivity(i);

This is basically the code copied from the example, but I set 'Save' to true to see if it would create a new entry, which it did not. If I manually create a connection using the information provided by the EC2 Instance the connection works.

Any ideas about how I might go about troubleshooting this, are there logs or a debug mode? I really like this client so hopefully I can get it to work with our application.

Thanks in advance,
Joe
 
Back
Top