Posts

Student Details App | Android Development | Java

Image
Develop an android application to display Student name and its marks In this tutorial, we are creating an android application which will look like as Let’s start by designing the layout of our Android App. AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.studentdetailsapp"> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN&q

First Android App | Android Development | Java

Image
Develop an android application to display “Hello World!” on screen Introduction In this tutorial, you learn how to start android development with the very first android project. You also create and run your first Android app Hello World, on emulator or physical device. Before you start writing your first program using Android Studio, you have to make sure that you have set-up your Android development environment properly. Also it is assumed that you have a little bit of working knowledge with Android studio. What you should already know Basic understanding of object-oriented programming Basic understanding of Java programming language What you'll need A computer running Windows or Linux, or a Mac running macOS. Android Studio should be installed, if it’s not ready, please download it from the Official Website.

Visit new website for Programming Tutorials and Solutions

Hello everyone, Thanks for your support. I am happy to share with you that I have started a new website " https://ProgrammingTutorials4U.com ". Here you will get programming tutorials and programs.  If you like please comment and share with your friends.

Program to display any digit from 0-9 using "7 segment display"

Image
In this program, we have to display number in 7 segment display form. User have to  input any digit from 0 to 9 and after that it will display number in 7 segment display format. For example - If input digit is "0" then it will display following output  _  |  | |_| If entered digit is "4" then output will be |_|     | If entered digit is "9" then output will be  _  |_|   _|

Program to create text file, write some data and read the same using single character method without using string functions

 In this tutorial, you'll learn how to create TEXT file, write some data to file and read the data from text file. Before going to start you should aware of the following concepts: Java File IO FileWriter class FileReader class

Program to split the words in sentence of string without using split in Java

 In this program, you'll learn how to split the words in sentence of string without using split() function. Hello Guys, if you know about split( ) method of String class, it can be used to split the sentence into words. Here in this program we will split the using without using this split() method. So let us start.

Program to design an applet which draws a circle (having color BLUE) inside a triangle (having color YELLOW)

Image
Given program will draw a circle inside a triangle. The color of circle is "blue" and triangle having color "yellow". To fill circle with respective colours first we have to set the colour using  setColor(Color c)  method of  Graphics  class and then use the fillPolygon() and fillOval( )  method. The  fillPolygon( )  method Fills a closed polygon defined by arrays of x and y coordinates.