Wer kann mir helfen die richtigen Einträge im Manifest zu erstellen?
Ich möchte Daten aus einer anderen App in meiner übernehmen und habe vom Hersteller folgende Informationen bekommen.
Doch leider habe ich es noch nicht hinbekommen.
Receive url reply on Android
To receive the reply in your app the following entry has to be added to the AndroidManifest.xml file:
This registers your app as handler for URLs starting with the scheme ‘newapp+application_identifier’. In the Java code of the application the onCreate/onNewIntent methods must be implemented to handle incoming intents.
Using the example url from before application_identifier should be replaced with mytestapplication to be able to receive a reply for that request.
To get the actual data of the reply one needs to implement the onCreate/onNewIntent methods and handle the incoming Intents there.
The received Intent will contain a uri in the following format (assuming the request was done with the example url):
<intent-filter>
<data android:scheme=”newapp+application_identifier”/>
<action android:name=”android.intent.action.VIEW”/>
<category android:name=”android.intent.category.DEFAULT”/>
<category android:name=”android.intent.category.BROWSABLE”/>
<intent-filter>
Ich möchte Daten aus einer anderen App in meiner übernehmen und habe vom Hersteller folgende Informationen bekommen.
Doch leider habe ich es noch nicht hinbekommen.
Receive url reply on Android
To receive the reply in your app the following entry has to be added to the AndroidManifest.xml file:
This registers your app as handler for URLs starting with the scheme ‘newapp+application_identifier’. In the Java code of the application the onCreate/onNewIntent methods must be implemented to handle incoming intents.
Using the example url from before application_identifier should be replaced with mytestapplication to be able to receive a reply for that request.
To get the actual data of the reply one needs to implement the onCreate/onNewIntent methods and handle the incoming Intents there.
The received Intent will contain a uri in the following format (assuming the request was done with the example url):
<intent-filter>
<data android:scheme=”newapp+application_identifier”/>
<action android:name=”android.intent.action.VIEW”/>
<category android:name=”android.intent.category.DEFAULT”/>
<category android:name=”android.intent.category.BROWSABLE”/>
<intent-filter>