How to style an Android notification using InboxStyle?

Nishtha Thakur
Published on 15-May-2019 16:07:27
This example demonstrate about How to style an Android notification using InboxStyleStep 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" encoding ... Read More

Java ResultSet isBeforeFirst() method with example

Arushi
Published on 15-May-2019 16:07:38
When we execute certain SQL queries (SELECT query in general) they return tabular data.The java.sql.ResultSet interface represents such tabular data returned by the SQL statements.i.e. the ResultSet object holds the tabular data returned by the methods that execute the statements which quires the database (executeQuery() method of the Statement interface in general).The ... Read More

Java ResultSet isAfterLast() method with example

Rishi Raj
Published on 15-May-2019 16:04:16
When we execute certain SQL queries (SELECT query in general) they return tabular data.The java.sql.ResultSet interface represents such tabular data returned by the SQL statements.i.e. the ResultSet object holds the tabular data returned by the methods that execute the statements which quires the database (executeQuery() method of the Statement interface in general).The ... Read More

Send a notification when the Android app is closed

Smita Kapse
Published on 15-May-2019 15:57:40
This example demonstrate about How to Send a notification when the Android app is closedStep 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 ... Read More

Java DatabaseMetaData getSearchStringEscape() method with example

Vikyath Ram
Published on 15-May-2019 16:00:40
The getSearchStringEscape() method of the DatabaseMetaData interface is used to get the that is used to escape the wildcard characters ('_' or, '%') by the underlying database.This method returns a string parameter representing the value that is used to escape wildcard charactersTo get the DatabaseMetaData object −Make sure your database is up ... Read More

Java DatabaseMetaData getTypeInfo() method with example

Vikyath Ram
Published on 15-May-2019 15:57:17
The getTypeInfo() method of the DatabaseMetadata interface is used to get the description of all the data-types supported by the underlying database.This method returns a ResultSet object describing data types supported. This object holds values for the following details (as column names) −Column NameData TypeDescriptionTYPE_NAMEStringName of the data type.DATA_TYPEintInteger value representing ... Read More

How to get android notifications when the app was closed?

Anvi Jain
Published on 15-May-2019 15:51:29
This example demonstrate about How to get android notifications when the app was closedStep 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 = ... Read More

The DatabaseMetaData getResultSetHoldability() method with example

Arushi
Published on 15-May-2019 15:48:22
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 getResultSetHoldability() method of the DatabaseMetaData interface retrieves the default holdability for the ResultSet objects of the underlying database.This ... Read More

How to get notified when a notification is notified?

Nishtha Thakur
Published on 15-May-2019 15:46:41
This example demonstrate about How to get notified when a notification is notifiedStep 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 getTableTypes() method with example

Rishi Raj
Published on 15-May-2019 15:44:43
The getTableTypes() method of the DatabaseMetadata interface is used to find out the type of tables supported by the underlying database.This method returns a ResultSet object holding the names of table types in each row in String format, under the column TABLE_TYPE.To get the description DatabaseMetadata object.Make sure your database ... Read More
Advertisements