Domanda

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

È stato utile?

Soluzione

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>
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top