Atif Gulzar wrote:
> is not it an extra task for client to list all activities provided by my
> Lib?

Yes. Libraries are not designed for having many activities.

Bear in mind also that your library cannot package any resources, making
activities that much more difficult to package in a library.

You can see a library that I package with an activity here:

https://github.com/commonsguy/cwac-custmenu/tree

Anyone using this library will need to both list my MenuCustomizer
activity in their manifest, but also pass in a couple of resource IDs by
integer extras on the launching Intent, to get around the fact that
MenuCustomizer cannot have its own resources.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, $35/Year

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to