Top Menu

Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Thursday 6 November 2014

Android: How to include mulitple Java Packages

Create a project having multiple packages.
And we want to integrate all these packages then there is only one way to do this. And here is the process:

You do not need any explicit inclusion of different packages in the manifest. To include activities from two different packages, say:
com.example.package1.Activity1
com.example.package2.Activity2
you can do the following:
<manifest package="com.example" . . . >
  <application . . .>
    <activity android:name=".package1.Activity1" . . . />
    <activity android:name=".package2.Activity2" . . . />
  </application>
</manifest>

No comments:

Post a Comment