Vrundesha Joshi has Published 343 Articles

Array of Strings in C++

Vrundesha Joshi

Vrundesha Joshi

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

814 Views

Array of strings can be created in C++ using string keyword. Here we are discussing a C++ program by using this approach.AlgorithmBegin Initialize the elements of array by string keyword. And take string as input. Print the array. End.Example Code Live Demo#include #include using namespace ... Read More

How to use GridLayoutManager in RecyclerView?

Vrundesha Joshi

Vrundesha Joshi

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

194 Views

This example demonstrate about How to use GridLayoutManager in 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

XML parsing in Python?

Vrundesha Joshi

Vrundesha Joshi

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

2K+ Views

Python XML parser parser provides one of the easiest ways to read and extract useful information from the XML file. In this short tutorial we are going to see how we can parse XML file, modify and create XML documents using python ElementTree XML API.Python ElementTree API is one of ... Read More

How to use LocalBroadcastManager?

Vrundesha Joshi

Vrundesha Joshi

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

345 Views

This example demonstrate about How to use LocalBroadcastManagerStep 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 ... Read More

How to use context in a fragment?

Vrundesha Joshi

Vrundesha Joshi

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

2K+ Views

This example demonstrate about How to use context in a fragmentStep 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

Python Input Methods for Competitive Programming?

Vrundesha Joshi

Vrundesha Joshi

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

1K+ Views

In this we are going to see different ways of I/O methods for competitive programming in Python. In competitive programming it is important to read the input as fast as possible so as take advantage over others.Suppose you’re in a codeforces or similar online jude (like SPOJ) and you have ... Read More

How to use Android TEXT TO SPEAK from Singleton?

Vrundesha Joshi

Vrundesha Joshi

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

120 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

Sending message through WhatsApp in android?

Vrundesha Joshi

Vrundesha Joshi

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

947 Views

This example demonstrate about sending message through WhatsApp 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.     In the above code, ... Read More

How to clear heap watch limit in android?

Vrundesha Joshi

Vrundesha Joshi

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

143 Views

This example demonstrates How to clear heap watch limit 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. In ... Read More

How to print list values in random order in Android?

Vrundesha Joshi

Vrundesha Joshi

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

327 Views

This example demonstrates How to print list values in random order 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

Advertisements