News Breaking
Live
wb_sunny

Breaking News

HOW TO MAKE YOUR FIRST ANDROID APPLICATION USING ANDROID STUDIO.

HOW TO MAKE YOUR FIRST ANDROID APPLICATION USING ANDROID STUDIO.



ANDROID STUDIO

Android Studio is the official integrated development environment for Google's Android operating system, built on JetBrains' IntelliJ IDEA software and designed specifically for Android development. It is available for download on Windows, macOS and Linux based operating systems.It allows us to built android apps easily..






To make android apps you must have a little knowledge about  a android phone..

  • computer will never understand short words you have to write exact spelling
  • android studio uses american english language means it undersands only american words like color not colour.
  • you have to keep practicing to learn and understand the android programming.

Here the thing you need to do android programming.
  • A computer with minimum 4GB of RAM and i3+ processor or mac
  • A working internet connection
  • windows7+
  • A brain
What is android

Android is a mobile operating system developed by Google. It is based on a modified version of the Linux kernel and other open source software, and is designed primarily for touchscreen mobile devices such as smartphones and tablets

Setting up working enviroment:
  • Download jdk here
  • Download Android studio here













Open Android studio it will look like this





Select New project

Select Empty Activity

Now you will see A screen like this











From left side project toolbar select this





Now click on the main.acitivity.xml

Now write this code.








<LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"></LinearLayout>

        <TextView
            android:id="@+id/textView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:background="@drawable/pixel"
            android:text="Happy Birthday!"
            android:textColor="#FCE4EC"
            android:textSize="48sp"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintLeft_toLeftOf="parent"
            app:layout_constraintRight_toRightOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

    <TextView
        android:layout_width="122dp"
        android:layout_height="26dp"
        android:text="06 October 2019"
        tools:layout_editor_absoluteX="224dp"
        tools:layout_editor_absoluteY="64dp" />
    <ImageView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/cake"  />

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        
        
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/Akshay"
            android:layout_alignParentBottom="true"
            android:layout_alignParentLeft="true"
            android:text="Akshay"
            android:textSize="45sp"
            android:textColor="@color/colorAccent"/>

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/Harsh"
            android:layout_alignParentBottom="true"
            android:layout_alignParentRight="true"
            android:text="Harsh"
            android:textSize="45sp"
            android:textColor="@color/colorAccent" />
    </RelativeLayout>







This is birthday card application you can try doing changes in it and
drop your code in comments..


Tags

Newsletter Signup

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque.