Currently I have an application that makes a Skype call using Intents
. However this assumes that the user is currently logged into his Skype account.
I want to avoid this and instead programmatically enter the user's credentials in the Skype app so that it does not show the login screen.
Right now I have to manually go to the Skype app enter the credentials for the calling to work.
Is there anyway I can do this through code? Is there any API available?
My current implementation is just about making the Intent as follows
Intent sky = new Intent("android.intent.action.CALL_PRIVILEGED");
sky.setClassName("com.skype.raider",
"com.skype.raider.Main");
sky.setData(Uri.parse("tel:" + number));
ctx.startActivity(sky);