Nitya Raut has Published 221 Articles

How to use COUNT () in Android sqlite?

Nitya Raut

Nitya Raut

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

958 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

How to use Constraint Layout with recyclerview?

Nitya Raut

Nitya Raut

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

2K+ Views

This example demonstrate about How to use Constraint Layout with recyclerviewStep 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 use firebase messaging in android application?

Nitya Raut

Nitya Raut

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

406 Views

This example demonstrate How to use firebase messaging in android applicationStep 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.java import android.os.Bundle; import android.support.v4.app.FragmentActivity; public class ... Read More

How to return a local array from a C/C++ function

Nitya Raut

Nitya Raut

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

223 Views

This is a C++ program return a local array from a function.AlgorithmBegin We can use dynamically allocated array to return a local array from function Array(). Print the elements of the array. EndExample Code Live Demo#include using namespace std; int* Array() { ... Read More

How to use LONGTEXT value in Android sqlite?

Nitya Raut

Nitya Raut

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

327 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

Part of Speech Tagging with Stop words using NLTK in python?

Nitya Raut

Nitya Raut

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

262 Views

The main idea behind Natural Language Processing is machine can do some form of analysis or processing without human intervention at least to some level like understanding some part of what the text means or trying to say.While trying to process the text, computers needs to filter out useless or ... Read More

Proper use cases for Android UserManager.isUserAGoat()?

Nitya Raut

Nitya Raut

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

191 Views

This example demonstrate about Proper use cases for Android UserManager.isUserAGoat()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, ... Read More

Optimization Tips for Python Code?

Nitya Raut

Nitya Raut

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

336 Views

Though we all know python is not as fast or efficient as other complied languages. However, there are many big companies which shows us that python code can handle much bigger workload which shows it’s not that slow. In this section, we are going to see some of the tips ... Read More

How to use Singleton Alert Dialog in android?

Nitya Raut

Nitya Raut

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

526 Views

Before getting into example, we should know what singleton design pattern is.  A singleton is a design pattern that restricts the instantiation of a class to only one instance. Notable uses include controlling concurrency, and creating a central point of access for an application to access its data store.This example ... Read More

Uninstall APKs programmatically

Nitya Raut

Nitya Raut

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

2K+ Views

This example demonstrate about Uninstall APKs programmaticallyStep 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 ... Read More

Advertisements