java - Test other Activity in different package declare in manifest file -
i have issue, don't know how solve this: have 2 package, example packagea
(there many classes inside, example classa
) , packageb
(same, there many classes inside, example classb
).
in android manifest file
, declare com.packagea
, each files in com.packageb
, must use :
import com.packagea.r;
.
now, want test on classb
(classb
activity), how can ?
i have 1 solution rename again, packagea
packageb
, vice versa. but, think handy.
who has solution, please tell me.
thanks :)
no need rename of class call classes along package name per below
<activity android:screenorientation="portrait" android:configchanges="orientation|keyboardhidden" android:name="com.package1.classname" android:theme="@android:style/theme.notitlebar" /> <activity android:screenorientation="portrait" android:configchanges="orientation|keyboardhidden" android:name="com.package2.classname" android:theme="@android:style/theme.notitlebar" />
Comments
Post a Comment