IOT.docx - PRACTICAL FILE ANDROID WITH IOT Submitted to Ruqaiya Mam Submitted by Gauri Shankar Singh Section CSE G(IT group-1 Sys Id 2018008774 Roll

IOT.docx - PRACTICAL FILE ANDROID WITH IOT Submitted to...

This preview shows page 1 - 5 out of 20 pages.

PRACTICAL FILE ANDROID WITH IOTSubmitted to: Ruqaiya MamSubmitted by: Gauri Shankar SinghSection: CSE G (IT) group-1Sys. Id: 2018008774Roll no. :180102007INDEX1. Create a program for displaying a text using android studio2. Create a program to display a button along with the text3. Create a program to make a registration form using android studio4. Create a program to make a calculator using android studio
Background image
1.Main_activity.java filepackage com.example.helloworld;import android.supportpackage com.example.helloworld;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;public class MainActivity extends AppCompatActivity {@Overrideprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);}}rt.v7.app.AppCompatActivity;import android.os.Bundle;public class MainActivity extends AppCompatActivity {@Overrideprotected void onCreate (Bundle savedInstanceState) {super.onCreate (savedInstanceState);setContentView (R.layout.activity_main);}}Manifest.xml file <?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="package="com.example.tutorialspoint7.myapplication"><applicationandroid:allowBackup="true"android:icon="@mipmap/ic_launcher"android:label="@string/app_name"android:supportsRtl="true"android:theme="@style/AppTheme"><activity android:name=".MainActivity"><intent-filter><action android:name="android.intent.action.MAIN" /><category android:name="android.intent.category.LAUNCHER" />
Background image
Background image
Background image
Image of page 5

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture