android library project and Activities -


i'm developing android sdk library. in library i've declared , used activities. i've tried include library in application i've noticed must declare library activities in app. bad thing because in library, i've included lot of activities , developer has copy activities in own app. there solutions this?

no, known limitation of libraries @ moment. there lot of discussion in android development community of fixing in future, limitation of how libraries.

from doc

in manifest file of application project, must add declarations of components application use imported library project. example, must declare <activity>, <service>, <receiver>, <provider>, , on, <permission>, <uses-library>, , similar elements.

also, excellent answer here mark murphy.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -