Answers for "android how to put start activity"

10

intent android open activity

Intent intent = new Intent(this, DisplayMessageActivity.class);
        intent.putExtra(key:,value:);
        startActivity(intent);
Posted by: Guest on May-19-2020
0

how to change the first activity on android

<activity android:name=".put your started activity name here"
          android:label="@string/app_name">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
</activity>
Posted by: Guest on September-26-2020

Code answers related to "android how to put start activity"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language