0% found this document useful (0 votes)
55 views4 pages

Advanced Mobile Programming

This document outlines an Android programming practical assignment. It includes sections for the problem statement, theory, steps, code, output, conclusion, and observations. The code provided creates a simple Android app with one text view displaying the text "Hello Mahi!" on the screen.

Uploaded by

Mahendra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views4 pages

Advanced Mobile Programming

This document outlines an Android programming practical assignment. It includes sections for the problem statement, theory, steps, code, output, conclusion, and observations. The code provided creates a simple Android app with one text view displaying the text "Hello Mahi!" on the screen.

Uploaded by

Mahendra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

TYBSCIT Semester VI 53003160061

Practical No. 1

Problem Statement
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________

Theory_____________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________

Advanced Mobile Programming


TYBSCIT Semester VI 53003160061

Steps:

Advanced Mobile Programming


TYBSCIT Semester VI 53003160061

Code

mainActivity.kt
package com.example.admin.myapplication

import android.support.v7.app.AppCompatActivity
import android.os.Bundle

class MainActivity : AppCompatActivity() {

override fun onCreate(savedInstanceState: Bundle?) {


super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
}
}

MainActivity.xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout

Advanced Mobile Programming


TYBSCIT Semester VI 53003160061
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello Mahi!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
</android.support.constraint.ConstraintLayout>
Output

Conclusion
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________

Observation / Remarks
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________

Advanced Mobile Programming

You might also like