This is a duplicate post from Google Groups. Not sure if the people here also browse there or not...
Maybe this belongs in the beginners group, but I'm trying to make my
application available through an intent. It's a volume controller app,
so I figured it might be handy for another application to be able to
call it to adjust volume without having to write their own.
In my volume controller app, I have this activity as my main screen:
<activity android:name=".MainSettings" android:label="@string/
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.DEFAULT" />
From another app, I call with:
Intent intent = new Intent();
Or I've tried:
Intent intent = new Intent("intent.action.VOLUME_CONTROL");
Neither works. The process trying to call the other app fails. I've
also tried removing the category.DEFAULT category from my intent
filter, with no success.
What am I missing?