Professional Documents
Culture Documents
Computer Science & Engineering: Department of
Computer Science & Engineering: Department of
1. Aim:
Create an Android App using various controls such TexEdit, CheckBox, RadioButton,
RadioGroup, etc.
2. Objective:
Understanding and analyze the specific requirement, possibilities and challenges when developing for a
mobile application context.
3. Steps/Program:
activity_main.xml
android:layout_centerInParent="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/btnDisplay" />
</RelativeLayout>
MainActivity.java
package com.example.myapplication;
import android.os.Bundle;
import android.widget.Button;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
Strings.xml
<resources>
<string name="app_name">ample</string>
<string name="radioMale">Name =Brijendra nath tripathi</string>
<string name="radioFemale">Uid = 21bcs8092</string>
<string name="btnDisplay">Display</string>
</resources>
4. Result/Output
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING