connect 2 package in android

Java
<manifest package="com.example" . . . >
  <application . . .>
    <activity android:name=".package1.Activity1" . . . />
    <activity android:name=".package2.Activity2" . . . />
  </application>
</manifest>com.example.package1.Activity1
com.example.package2.Activity2
Source

Also in Java: