Hello, I'd like, using tasker, to start a Service of the app : https://play.google.com/store/apps/details?id=com.fragments.notch.status_bar Can someone help me to configure a task ? If I try to creat a Task and call : com.fragments.notch.status_bar.StatusService but i get an error : Android denied. This is the manifest : <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="26" android:versionName="2.1.3" package="com.fragments.notch.status_bar"> <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="28"/> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> <uses-permission android:name="com.android.vending.BILLING"/> <uses-permission android:name="android.settings.action.MANAGE_OVERLAY_PERMISSION"/> <uses-permission android:name="android.permission.WAKE_LOCK"/> <application android:theme="@2131689478" android:label="@2131623984" android:icon="@2131558402" android:name="com.fragments.notch.status_bar.App" allowBackup="true" android:hardwareAccelerated="true" largeHeap="true" supportsRtl="true" roundIcon="@2131558403"> <meta-data android:name="com.google.android.gms.version" android:value="@2131361800"/> <activity android:theme="@2131689707" android:name="com.fragments.notch.status_bar.SplashActivity" android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> <activity android:name="com.fragments.notch.status_bar.MainActivity" android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.MAIN"/> </intent-filter> </activity> <receiver android:name="com.fragments.notch.status_bar.BootCompletedIntentReceiver" android:enabled="true" android:exported="true" directBootAware="true"> <intent-filter> <category android:name="android.intent.category.DEFAULT"/> <action android:name="android.intent.action.BOOT_COMPLETED"/> <action android:name="android.intent.action.QUICKBOOT_POWERON"/> </intent-filter> </receiver> <activity android:theme="@2131689478" android:label="@2131624052" android:name="com.fragments.notch.status_bar.StatusBarActivity" android:screenOrientation="portrait"> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.fragments.notch.status_bar.MainActivity"/> </activity> <service android:name="com.fragments.notch.status_bar.StatusService" android:enabled="true" android:exported="false" androidrocess=":statusBarProcess"/> <activity android:theme="@2131689478" android:label="@2131624079" android:name="com.fragments.notch.status_bar.Round_corner" android:screenOrientation="portrait"> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.fragments.notch.status_bar.MainActivity"/> </activity> <activity android:theme="@2131689478" android:label="@2131624083" android:name="com.fragments.notch.status_bar.Store" android:screenOrientation="portrait"> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.fragments.notch.status_bar.MainActivity"/> </activity> <activity android:theme="@2131689480" android:label="Your Picture" android:name="com.fragments.notch.status_bar.VideoActivity" android:configChanges="orientation|screenSize"> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.fragments.notch.status_bar.CreateYourOwnActivity"/> </activity> <activity android:theme="@2131689478" android:label="Your Picture" android:name="com.fragments.notch.status_bar.CreateYourOwnActivity" android:screenOrientation="portrait"> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.fragments.notch.status_bar.MainActivity"/> </activity> <activity android:theme="@2131689478" android:label="@2131624078" android:name="com.fragments.notch.status_bar.PremiumActivity" android:screenOrientation="portrait"> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.fragments.notch.status_bar.MainActivity"/> </activity> <activity android:theme="@2131689478" android:label="@2131624081" android:name="com.fragments.notch.status_bar.Setting" android:screenOrientation="portrait"> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.fragments.notch.status_bar.MainActivity"/> </activity> <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/> <meta-data android:name="com.android.vending.derived.apk.id" android:value="1"/> </application> </manifest>
Thank you for your tips. I solved! 1. I used apktool to decopile del APP 2. With notepad I edited the Manifest and simply changed : android:exported="false" to android:exported="true" 3. Then I generated a new APK with apktool 4. I signed the APK with uber-apk-signer 5. I installed the new APK just generated Now tasker can invoke the service com.fragments.notch.status_bar.StatusService