mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-04 13:35:21 +02:00
1) The MAC address has to be added manually for now (Settings -> Debug) 2) Configure other notifications as desired 3) After doing that, restart Gadgetbridge, after that, the device should be visible. 4) Tap it to connect 5) Try the Debug activity via the Menu to send some dummy notifications => Your MI should vibrate and blink Also: add some extra files necessary to support Eclipse ADT. To be migrated to Andmore, later.
134 lines
5.3 KiB
XML
134 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="nodomain.freeyourgadget.gadgetbridge">
|
|
|
|
<uses-permission android:name="android.permission.BLUETOOTH" />
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
|
|
<uses-permission android:name="android.permission.CALL_PHONE" />
|
|
<uses-permission android:name="android.permission.RECEIVE_SMS" />
|
|
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="com.fsck.k9.permission.READ_MESSAGES" />
|
|
<uses-sdk android:targetSdkVersion="21" android:minSdkVersion="19"/>
|
|
|
|
<application
|
|
android:allowBackup="true"
|
|
android:icon="@drawable/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:theme="@style/GadgetbridgeTheme">
|
|
<activity
|
|
android:name=".ControlCenter"
|
|
android:label="@string/title_activity_controlcenter">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".SettingsActivity"
|
|
android:label="@string/title_activity_settings">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".ControlCenter" />
|
|
</activity>
|
|
|
|
<activity
|
|
android:name=".AppManagerActivity"
|
|
android:label="@string/title_activity_appmanager">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".ControlCenter" />
|
|
</activity>
|
|
<activity
|
|
android:name=".pebble.PebbleAppInstallerActivity"
|
|
android:label="@string/title_activity_appinstaller">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".AppManagerActivity" />
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:host="*" />
|
|
<data android:scheme="file" />
|
|
<data android:pathPattern=".*\\.pbw" />
|
|
<data android:pathPattern=".*\\.pbz" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<service
|
|
android:name=".NotificationListener"
|
|
android:label="@string/app_name"
|
|
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
|
|
<intent-filter>
|
|
<action android:name="android.service.notification.NotificationListenerService" />
|
|
</intent-filter>
|
|
</service>
|
|
<service android:name=".BluetoothCommunicationService"></service>
|
|
|
|
<receiver
|
|
android:name=".PhoneCallReceiver"
|
|
android:enabled="false">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.PHONE_STATE" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.NEW_OUTGOING_CALL" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver
|
|
android:name=".SMSReceiver"
|
|
android:enabled="false">
|
|
<intent-filter>
|
|
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver
|
|
android:name=".K9Receiver"
|
|
android:enabled="false">
|
|
<intent-filter>
|
|
<data android:scheme="email" />
|
|
<action android:name="com.fsck.k9.intent.action.EMAIL_RECEIVED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver
|
|
android:name=".MusicPlaybackReceiver"
|
|
android:enabled="false">
|
|
<intent-filter>
|
|
<action android:name="com.andrew.apollo.metachanged" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver
|
|
android:name=".BluetoothStateChangeReceiver"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver
|
|
android:name=".GBMusicControlReceiver"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="nodomain.freeyourgadget.gadgetbridge.musiccontrol" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver
|
|
android:name=".GBCallControlReceiver"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="nodomain.freeyourgadget.gadgetbridge.callcontrol" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<activity
|
|
android:name=".DebugActivity"
|
|
android:label="@string/title_activity_debug">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".ControlCenter" />
|
|
</activity>
|
|
</application>
|
|
|
|
</manifest>
|