Ankith Reddy has Published 1132 Articles

How to sort volley json array based on id in android?

Ankith Reddy

Ankith Reddy

Updated on 29-Jun-2020 11:26:30

383 Views

This example demonstrates How to sort volley JSON array based on id in android.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.     ... Read More

HTML

Ankith Reddy

Ankith Reddy

Updated on 29-Jun-2020 09:37:40

325 Views

The datetime attribute of the element is used to display the machine-readable date time.Following is the syntax −Above, the attribute datetime displays the datetime −YYYY - yearMM - monthDD - day of the monthhh - hourmm - minutesss - secondsTZD - Time Zone DesignatorYou can also set PTDHMS −P - ... Read More

How to check android mobile supports magnetometer?

Ankith Reddy

Ankith Reddy

Updated on 29-Jun-2020 09:37:37

289 Views

This example demonstrate about How to check android mobile supports magnetometerStep 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, ... Read More

How to check android mobile supports GYROSCOPE sensor?

Ankith Reddy

Ankith Reddy

Updated on 29-Jun-2020 09:36:08

620 Views

This example demonstrates about How to check android mobile supports GYROSCOPE sensorStep 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 ... Read More

HTML data-* Attributes

Ankith Reddy

Ankith Reddy

Updated on 29-Jun-2020 09:25:57

484 Views

The data-* attributes in HTML is used to embed custom data attributes on all HTML elements. This is a global attribute and can be used on any element.Following is the syntax −

HTML dir Attribute

Ankith Reddy

Ankith Reddy

Updated on 29-Jun-2020 09:14:26

101 Views

The dir attribute in HTML is used to set the direction of content in an element.Let us now see an example to implement the dir attribute in HTML −Example Live Demo    Demo Heading    This is normal text.    This text would get displayed from left to right. ... Read More

HTML Tag

Ankith Reddy

Ankith Reddy

Updated on 29-Jun-2020 09:10:10

34 Views

The tag in HTML is used to set the title of work. This can be title of a movie, title of a song, title of a painting, etc.Let us now see an example to implement the cite tag in HTML −Example Live Demo    Books    Java   ... Read More

How to use user variables in MySQL LIKE clause?

Ankith Reddy

Ankith Reddy

Updated on 29-Jun-2020 09:02:51

3K+ Views

Using the CONCAT() function, we can work with user variables in LIKE clause. The syntax is as follows.set @anyVariableName='anyValue'; select yourColumnName1, yourColumnName2, yourColumnName3, ...N from yourTableName whereyourColumnName like CONCAT('%', @anyVariableName, '%');To understand the above syntax, let us first create a table. The query to create a table is as follows.mysql> ... Read More

Concat a string to SELECT * in MySQL?

Ankith Reddy

Ankith Reddy

Updated on 29-Jun-2020 08:59:56

130 Views

To concat a string, use the CONCAT() function from MySQL as shown in the below syntaxSELECT CONCAT(yourColumnName1, ’anyConcatenationString’), CONCAT(yourColumnName2, ’anyC oncatenationString’), ....N from yourTableName;To understand the above syntax, let us first create a table. The query to create a table is as followsmysql> create table selectConcat -> ( -> StudentId ... Read More

HTML colspan Attribute

Ankith Reddy

Ankith Reddy

Updated on 29-Jun-2020 08:46:43

500 Views

The colspan attribute of the element in HTML defines the number of columns a cell should span.Following is the syntax −Above, num is the count of columns a cell should span.Let us now see an example to implement the colspan attribute of the element −Example Live Demo ... Read More

Previous 1 ... 5 6 7 8 9 ... 114 Next
Advertisements