Nitya Raut has Published 272 Articles

Determine the type of an image in Python?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

4K+ Views

In this section we are going to see the type of image file we have. So consider a situation, where in a directory we have hundreds of image file and we want to get all the jgeg(or any particular image file type) file type. All this we are going to ... Read More

How to delete a row from ResultSet object using JDBC?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

840 Views

The deleteRow() method of the ResultSet interface deletes the current row from the current ResultSet object.//Deleting a column from the ResultSet object rs.deleteRow();Assume we have a table named Cricketers_Data with 6 records as shown below:+----+------------+------------+---------------+----------------+-------------+ | ID | First_Name | Last_Name  | Year_Of_Birth | Place_Of_Birth | Country     | ... Read More

How to get yesterday records from timestamp in Android sqlite?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

170 Views

Before getting into example, we should know what sqlite data base in android is. SQLite is an open source SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation. SQLite supports all the relational database features. In order to ... Read More

iswalpha() function in C++ STL

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

83 Views

iswalpha() function in C++ STL is used to check whether the given wide character is an alphabet or not.AlgorithmBegin Initializes the strings. Call function iswalpha(str) to check whether it contains alphabet or not. If it contains alphabet, then value will be ... Read More

How to enable vertical scroll bar for android webview?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

2K+ Views

This example demonstrate about How to set default text encoded for android webview.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

How to find the current row of a ResultSet object using JDBC?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

530 Views

The getRow() method of the ResultSet class returns the row number at which the ResultSet pointer exists in the current instance.Assume we have a table named cricketers_data with 6 records as shown below:+------------+------------+---------------+----------------+-------------+ | First_Name | Last_Name  | Date_Of_Birth | Place_Of_Birth | Country     | +------------+------------+---------------+----------------+-------------+ | Shikhar   ... Read More

negate function in C++ STL

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

788 Views

Negate function is used to negate the given values such that to change the sign of the values. It changes the negative values to positive and vice-versa.Function prototype:function transform(a_begin, a_end, a1_begin, negate()):    a_begin = lower bound of the array.    a_end = upper bound of the array.    a1_end ... Read More

Image based Steganography using Python?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

613 Views

Steganography is a technique of hiding information behind the scene. It’s is not like cryptography which focuses on encrypting data(through different algorithms like SHA1, MD5 etc), steganography focuses more on hiding the data (data can be a file, image, message or video) within another file, image, message or video to ... Read More

How to check arraylist is empty for Listview in Android?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

329 Views

This example demonstrates How to check arraylist is empty for Listview 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

How to get programmatically android device brand name?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

1K+ Views

This example demonstrate about How to get programmatically android device brand name.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

Advertisements