0
public class LoginActivity extends SCLoginFragmentActivity
{
Context c;
@Override
protected void onCreate(Bundle savedInstanceState)
{
c=this;
if(SCCoreFacade.instance().autoLoginIfPossible(c,true,true) == 0)
{
Intent intent = new Intent(this, SimpleChatMainActivity.class);
intent.putExtra(ExtraData.Login.MAIN_ACTIVITY, SimpleChatMainActivity.class);
startActivity(intent);
finish();
}

super.onCreate(savedInstanceState);
}

@Override
protected Fragment onCreateFragment()
{
return LoginFragment.create(getIntent().getExtras());
}

}
Responses (0)
  • There are no replies here yet.
Your Reply

About us

C2Call GmbH leads the way in introducing next generation mobile and browser-based calling solutions for the computing cloud. FriendCaller for iOS and Android are built using C2Call SDK, and demonstrate the unique capabilities to establish a peer-to-peer connection with any mobile platform and with any Internet browser without prerequisite software installations. With the new C2Call SDK, developers would now be able to integrate features alike FriendCaller in their existing or new apps on mobile.