[android-developers] creating activity-less packages

2010-01-21 Thread guiha...@gmail.com
Hi, Can i create a package (apk) that has no activities, but only a View? If yes, what exactly i have to change in the manifest to allow this? The view will be in package A, and the activity will be in package B. How can a class in B instantiate the view in A? Any tips are welcome. Ps: package

Re: [android-developers] creating activity-less packages

2010-01-21 Thread Mark Murphy
Can i create a package (apk) that has no activities, but only a View? Not really. How can a class in B instantiate the view in A? It can't. Ps: package A is a library-only and should have no icons displayed at the applications list. Package it as a JAR and include that JAR in B. -- Mark