I have developed an android app which has two packages in it.To which package should I add splash.java file and what changes should be done in Manifest file? PLEASEHELP

有帮助吗?

解决方案

In any one you can add. e.g package name is com.pkg to which it is added

Manifest:

 <activity
            android:name="com.pkg.Splash"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
 </activity>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top