Just to clarify my last response, I tried to follow what you are
suggesting by adding the intent-filter to the activity in the manifest
as well as to the new receiver I am defining (which you are suggesting
I don't need at all). So now my manifest has the following (note that
I am trying to trigger the nonMain activity with the broadcast, not
the splash screen):
<activity android:name="SplashScreenActivity" >
<intent-filter>
<action
android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</activity
android:name="MyActivity"
NEW android:exported="true" > <== Unnecessary, I believe,
right?
NEW <intent-filter>
NEW <action
android:name="android.intent.action.ACTION_EDIT" />
NEW <action
android:name="android.intent.action.ACTION_VIEW" />
NEW <category
android:name="android.intent.category.LAUNCHER" />
NEW </intent-filter>
</activity>
Now, the problem is, I am still not seeing my app show up in a popup
menu of apps to handle files in, for example, Linda File Manager. I
just can't get my app to appear. What the heck am I doing wrong?
Thank you.
On Apr 16, 1:55 pm, Dianne Hackborn <[email protected]> wrote:
> You need to publish and implement an activity, not a receiver.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---