sreichholf / dreamDroid

DreamDroid is an open-source enigma2 client for android based devices.
https://dreamdroid.org
GNU General Public License v3.0
106 stars 43 forks source link

Start app via URL scheme (from other apps e.g. smarthome apps) #121

Closed StefanHaring closed 5 years ago

StefanHaring commented 5 years ago

I would be good if the MainActivity can be exported via URL scheme, so that the app can be startet from an other app.

Is it possible to integrate that?

Code: <activity android:name=".activities.TabbedNavigationActivity" android:exported="true">

        <intent-filter>
            <data android:scheme="dreamdroid" />
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.BROWSABLE" />
            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>

Best regards, Stefan

StefanHaring commented 5 years ago

merged commit b694249