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

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -