raingod
raingod

Reputation: 1407

where can i find a list of the actions that i put in the intent filter (receiver) inside the manifest?

I'm looking for a full list of intent filters actions - such as:

<receiver android:name=".BTDetector">
    <intent-filter>
        <action android:name="android.intent.action.ACTION_POWER_CONNECTED" />
        <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED" /> 
    </intent-filter>
</receiver>

stuff like the "android.intent.action.ACTION_POWER_CONNECTED". I can't find it in the documentation anywhere! If there isn't a comprehensive list somewhere(and why there wouldn't be is beyond me), I'm looking for the action for the intent filter for Bluetooth discovery start. since i'm running this in a service, I can't (and don't want to) do it dynamically...

Thanks for reading and helping!

Upvotes: 3

Views: 1888

Answers (2)

Squonk
Squonk

Reputation: 48871

Try BluetoothAdapter and BluetoothDevice

As for all Android intent actions, the docs for Intent contain most. Other things such as Bluetooth etc are usually defined in the various packages that provide that functionality.

Upvotes: 2

ρяσѕρєя K
ρяσѕρєя K

Reputation: 132982

see this full list of intents in android Intent.java

Upvotes: 0

Related Questions