How can it send a msg to someone written in the application, I have the java down below but this one asks me to write the name that I skype msg to
((Button) findViewById(R.id.skypemsg)).setOnClickListener(new OnClickListener()
{
@Override
public void onClick(View v)
{
String skypeName = ((EditText) findViewById(R.id.edt_skypeusername)).getText().toString().trim();
if(skypeName.length()<=0)
{
Toast.makeText(getApplicationContext(), "Please enter skype username to message", Toast.LENGTH_SHORT).show();
}
else
{
String mySkypeUri = "skype:"+skypeName+"?chat";
SkypeUri(MainActivity.this, mySkypeUri);
}
}
});
As I understand your comment, I think you want to do this (fill in the correct name):