Search code examples
androidskype

Can't answer incoming Skype calls with my own launcher in Android


I'm coding my own launcher on Android and when I receive a Skype call using this launcher I see the window of the incoming call but I can't answer the call... I can't do nothing after, it's blocking all. With the default and other launchers Skype is working so the problem come from my launcher. But where ? Do I need a special permission ? Change something in the manifest ?

This is the permissions and the supports-screen of my Manifest :

    <supports-screens
    android:largeScreens="true"
    android:normalScreens="false"
    android:requiresSmallestWidthDp="600"
    android:smallScreens="false"
    android:xlargeScreens="true" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />

This is my MainActivity in the Manifest :

  <activity
        android:name=".activities.MainActivity"
        android:launchMode="singleTask"
        android:screenOrientation="sensorLandscape">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
            <category android:name="android.intent.category.HOME" />
            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>

My compileSdkVersion and targetSdkVersion is 28 and I'm using a Samsung tab.


Solution

  • The problem come from the Skype app, no from my app. I contacted them and they confirmed.