Vrundesha Joshi has Published 217 Articles

Android stop specified IntentService?

Vrundesha Joshi

Vrundesha Joshi

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

769 Views

Before getting into the example, we should know what Intent service is in android. Intent Service is going to do background operation asynchronously. When user call startService() from activity, it doesn’t create the instance for each request and it going to stop service after done some action in service class ... Read More

fork() in C

Vrundesha Joshi

Vrundesha Joshi

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

4K+ Views

In this section we will see what is the fork system call in C. This fork system call is used to create a new process. This newly created process is known as child process. The current process which is creating another child process is called the parent process.A child process ... Read More

How to use removeFirst() in android ConcurrentLinkedDeque?

Vrundesha Joshi

Vrundesha Joshi

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

168 Views

Before getting into the example, we should know what ConcurrentLinkedDeque is, it is unbounded deque based on linked nodes. Multiple threads can access deque elements with safety.This example demonstrates about How to use removeFirst() in android ConcurrentLinkedDequeStep 1 − Create a new project in Android Studio, go to File ⇒ ... Read More

How to enable webview database of url in android?

Vrundesha Joshi

Vrundesha Joshi

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

671 Views

This example demonstrate about How to enable webview database of url 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 execute zombie and orphan process in a single C program?

Vrundesha Joshi

Vrundesha Joshi

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

2K+ Views

In this section we will see how to execute zombie process and orphan process in a single program in C/C++. Before going to the main discussion, let us see what are the zombie process and orphan process.Zombie ProcessesA zombie process is a process whose execution is completed but it still ... Read More

How to where Clause in Android sqlite?

Vrundesha Joshi

Vrundesha Joshi

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

2K+ 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 removeFirstOccurrence() in android LinkedBlockingDeque?

Vrundesha Joshi

Vrundesha Joshi

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

167 Views

Before getting into the example, we should know what LinkedBlockingDeque is. It is implemented by Collection interface and the AbstractQueue class. It provides optional boundaries based on linked nodes. It going to pass memory size to a constructor and helps to provide memory wastage in android.This example demonstrates about How ... Read More

How to enable webview zoom controls in android?

Vrundesha Joshi

Vrundesha Joshi

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

2K+ Views

This example demonstrate about How to enable webview zoom controls 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

Convert a floating point number to string in C

Vrundesha Joshi

Vrundesha Joshi

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

10K+ Views

In this section we will see how to convert a number (integer or float or any other numeric type data) to a string.The logic is very simple. Here we will use the sprintf() function. This function is used to print some value or line into a string, but not in ... Read More

How to use removeLastOccurrence() in android ConcurrentLinkedDeque?

Vrundesha Joshi

Vrundesha Joshi

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

146 Views

Before getting into the example, we should know what ConcurrentLinkedDeque is, it is unbounded deque based on linked nodes. Multiple threads can access deque elements with safety.This example demonstrates about How to use removeLastOccurrence() in android ConcurrentLinkedDequeStep 1 − Create a new project in Android Studio, go to File ⇒ ... Read More

Advertisements