Skip to content

Instantly share code, notes, and snippets.

@Shivamdhuria
Last active May 31, 2019 06:37
Show Gist options
  • Save Shivamdhuria/0d24e158e64e8b35ab04df5958c3337d to your computer and use it in GitHub Desktop.
Save Shivamdhuria/0d24e158e64e8b35ab04df5958c3337d to your computer and use it in GitHub Desktop.
Bound Service example
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="elixer.com.boundservice">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
<service
android:name=".BoundService"
android:enabled="true"
android:exported="true"></service>
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment