This example demonstrate about How to make Android character by character display text animation.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to src/MainActivity.javapackage com.example.andy.myapplication; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Typewriter writer = new Typewriter(this); setContentView(writer); writer.setCharacterDelay(150); writer.animateText("Sample String...Sample String...Sample String..."); } }In the above code, ... Read More
Zero (0) is used as a number and also as the numerical digit. Zero gives the additive identity of the integers, real numbers, and many algebraic structures. It is used as a placeholder for writing numbers.Natural numbers start from 1, then 2 and so on. We cannot count backward with them. Integers, on the other hand, allows us to count backward. Zero winds up being a good choice for the number that should come after 1 as we count backward. Integers can go in both directions, to a positive infinity and also in the reverse direction to a negative infinity. ... Read More
To select timestamp data range, use the below syntax −SELECT *FROM yourTableName where yourDataTimeField >= anyDateRange and yourDataTimeField < anyDateRangeTo understand the above syntax, let us create a table. The query to create a table is as follows −mysql> create table DateRange −> ( −> DueTime timestamp −> ); Query OK, 0 rows affected (1.34 sec)Insert some records in the table using insert command. The query is as follows −mysql> insert into DateRange values('2016-11-13'); Query OK, 1 row affected (0.51 sec) mysql> insert into DateRange values('2016-10-14'); Query OK, 1 row ... Read More
A Certified Ethical Hacker (CEH) earns an average salary of Rs 367, 249 per year and the relevant experience strongly influences pay for this job which goes more than 15 lakh per year.A hacker is an expert in computer and network expert, who helps companies to realize their vulnerabilities. they are named as Hackers and Red Team etc., and work for businesses or government organizations.The ethical hacker has the proficient knowledge of various operating systems and hacking processes and techniques etc and needs to be updated all the time to grab any kind of threats. An ethical hacker is the ... Read More
To order by a field and list the NULL values first, you need to use the following syntax. This will order in descending order −select yourColumnName from yourTableName group by yourColumnName is null desc, yourColumnName desc;To understand the above syntax, let us first create a table −mysql> create table OrderByNullFirstDemo −> ( −> StudentId int −> ); Query OK, 0 rows affected (0.56 sec)Insert some records in the table with the help of insert command. The query is as follows −mysql> insert into OrderByNullFirstDemo values(100); Query OK, 1 row affected (0.13 sec) mysql> insert into OrderByNullFirstDemo ... Read More
Are you tired of popular social networking sites like Facebook or Instagram? Here are a few upcoming websites just like Instagram or Facebook you would love to try:PathIt is one other app for social networking purposes that lets you connect with the closest people. The only difference between Facebook and Path is the scope of connectivity. The Path app does not connect you with strangers; it connects you with family and closest friends.TumblrOne platform that is mainly driven by images and numerous amusing GIFs, videos, audio, chats, text files, quotes, and so much more. Recently, Tumblr has provided its users ... Read More
This example demonstrate about How to make Animate text from one TextView to another.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. In the above code, we have taken text view and button, when user click on button, textview going to updateStep 3 − Add the following code to src/MainActivity.javapackage com.example.andy.myapplication; import android.os.Bundle; ... Read More
Before getting into android sequence layout, we should know what is sequence layout in android. Sequence layout contains a sequence of steps with the progress bar. According to sequence, it follows an animated progress bar.This example demonstrates How to use Android sequence layout.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Open build.gradle(app) and add design support library dependency.apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.example.andy.myapplication" minSdkVersion 19 ... Read More
There is no denying in the fact that both qualification and soft skills are essential to move forward in our journey of life nowadays. Nobody can admit that only one out of these is sufficient and if someone, by chance feels so, he or she is mistaken.Importance of QualificationOur qualification plays a major role in case there is a job that requires candidates with M.B.A. or B.Tech. Now, how can someone, who does not have these degrees get a job there? A good qualification improves our chances of secure and settled life in the future.A good qualification is a must ... Read More
In this program we will see how to sort a block of bytes in descending order using bubble sorting technique.Problem StatementWrite8085 Assembly language program to sort numbers in descending order where n number of numbers are stored in consecutive memory locations starting from 8041H and the value of n is available in memory location 8040H (Using BUBBLE sort).DiscussionIn this program we will arrange the numbers in bubble sorting technique. In this sorting technique, it will be executed in different pass. In each pass the smallest number is stored at the end of the list. Here we are taking the numbers ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Economics & Finance