How to close a Android notification after the user is clicking on it?

Smita Kapse
Published on 14-May-2019 16:27:05
This example demonstrate about How to close a Android notification after the user is clicking on itStep 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

Java DatabaseMetaData supportsUnion() method with example.

Arushi
Published on 14-May-2019 16:07:46
The SQL UNION clause/operator is used to combine the results of two or more SELECT statements without returning any duplicate rows.To use this UNION clause, each SELECT statement must haveThe same number of columns selectedThe same number of column expressionsThe same data type andHave them in the same orderBut they ... Read More

How to close the notification panel after notification button is clicked in Android?

Anvi Jain
Published on 14-May-2019 16:03:25
This example demonstrate about How to close the notification panel after notification button is clicked in AndroidStep 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

Java DatabaseMetaData supportsGroupBy() method with example

Rishi Raj
Published on 14-May-2019 16:03:30
The SQL GROUP BY clause is used in collaboration with the SELECT statement to arrange identical data into groups. This GROUP BY clause follows the WHERE clause in a SELECT statement and precedes the ORDER BY clause.SyntaxThe basic syntax of a GROUP BY clause is shown in the following code ... Read More

How to open last activity when tapping on Android notification?

Nishtha Thakur
Published on 14-May-2019 15:55:58
This example demonstrate about How to open last activity when tapping on Android notificationStep 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.<?xml version = "1.0" ... Read More

Java DatabaseMetaData supportsResultSetType() method with example

Vikyath Ram
Published on 14-May-2019 15:58:06
While creating a Statement object you can choose the concurrency and the type of the ResultSet object using the following variant of the createStatement() method −Statement createStatement(int resultSetType, int resultSetConcurrency)ResultSet ConcurrencyThe concurrency of the ResultSet object determines whether its contents can be updated or not.The ResultSet interface provides two values ... Read More

Java DatabaseMetaData supportsResultSetHoldability() method with example

Arushi
Published on 14-May-2019 15:55:05
ResultSet holdability determines whether the ResultSet objects (cursors) should be closed or held open when a transaction (that contains the said cursor/ ResultSet object) is committed using the commit() method of the Connection interface.The ResultSet interface provides two values to specify the holdability of a ResultSet namely −CLOSE_CURSORS_AT_COMMIT: If the ... Read More

How to make notification intent resume rather than making a new intent?

Smita Kapse
Published on 14-May-2019 15:45:38
This example demonstrate about How to make notification intent resume rather than making a new intentStep 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.<? xml ... Read More

Java DatabaseMetaData supportsResultSetConcurrency() method with example

Rishi Raj
Published on 14-May-2019 15:50:15
While creating a Statement object you can choose the concurrency and the type of the ResultSet object using the following variant of the createStatement() method −Statement createStatement(int resultSetType, int resultSetConcurrency)ResultSet ConcurrencyThe concurrency of the ResultSet object determines whether its contents can be updated or not.The ResultSet interface provides two values to specify ... Read More

What are the transaction isolation levels supported by JDBC API?

Arushi
Published on 14-May-2019 15:43:35
JDBC provides support 5 transaction isolation levels through Connection interface.TRANSACTION_NONE: It is represented by integer value 0 does not support transactions.TRANSACTION_READ_COMMITTED: It is represented by integer value 2 supports transactions allowing Non-Repeatable Reads and, Phantom Reads.TRANSACTION_READ_UNCOMMITTED: It is represented by integer value 1 supports transactions allowing Dirty Reads, Non-Repeatable Reads ... Read More
Advertisements