[Mono-bugs] [Bug 640673] <activity> icon needs to be copied to the proxy

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 21 09:36:16 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=640673

https://bugzilla.novell.com/show_bug.cgi?id=640673#c1


--- Comment #1 from Jonathan Pryor <jpryor at novell.com> 2010-09-21 13:36:16 UTC ---
Obvious follow-up: is there anything else that needs to be copied from the
original <activity/> to the proxy <activity/>?

//activity/@android:enabled should probably be copied as well, and possibly
//activity/@android:excludeFromRecents, //activity/@android:launchMode
(maybe?), and //activity/@android:screenOrientation.

Feedback appreciated.

//activity element documentation:
  http://developer.android.com/guide/topics/manifest/activity-element.html

I don't think //activity/meta-data needs to be copied (as per the docs it
allows querying the data from e.g. Bundle.getInt(), which the proxy won't
call).

//activity/intent-filter I'm less sure about.  Android can't launch non-proxy
Activities directly (we need the Proxy to init the mono runtime, etc.), and
//intent-filter is there to "declare[] the capabilities of its parent
component...open[ing] the component to receiving intents of the advertised
type, while filtering out those that are not meaningful for the component."

  http://developer.android.com/guide/topics/manifest/intent-filter-element.html
  http://developer.android.com/guide/topics/intents/intents-filters.html

This leads me to believe that *ALL* //intent-filter elements should be copied
to the proxy's //activity (and quite likely REMOVED from the original
activity).

Feedback appreciated.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list