Mobile Application Development Practical 29
Mobile Application Development Practical 29 Question 1 Write a program to send and receive sms. activity_main.xml <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginLeft="30dp" android:layout_marginRight="30dp" android:layout_marginTop="30dp" android:orientation="vertical"> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Android SMS" android:textSize="20dp" android:textStyle="bold" android:layout_marginBottom="30dp" android:gravity="center"/> <EditText android:id="@+id/mobileno" android:layout_width="match_parent" android:layout_height="50dp" android:ems="10" android:hint="Enter Mobile Number" /> <EditText android:id="@+id/msg" android:layout_width="match_parent" android:layout_height="70dp"
Mobile Application Development Practical 29 Read More »
