Vrundesha Joshi has Published 289 Articles

How to drop a table from a database using JDBC API?

Vrundesha Joshi

Vrundesha Joshi

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

1K+ Views

A. The SQL DROP TABLE statement is used to remove a table definition and all the data, indexes, triggers, constraints and permission specifications for that table.SyntaxDROP TABLE table_name;To drop an table from a database using JDBC API you need to:Register the driver: Register the driver class using the registerDriver() method of ... Read More

How to implementing start Foreground for a service?

Vrundesha Joshi

Vrundesha Joshi

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

1K+ Views

Before getting into example, we should know what service is in android. Service is going to do back ground operation without interact with UI and it works even after activity destroyThis example demonstrate about How to implementing start Foreground for a service.Step 1 − Create a new project in Android ... Read More

How to use remove() in android PriorityBlockingQueue?

Vrundesha Joshi

Vrundesha Joshi

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

112 Views

Before getting into example, we should know what PriorityBlockingQueue is. It is an unbounded queue and follows same order as priority queue. The main usage of priority blocking queue is, it going to handle out of memory error.This example demonstrate about How to use remove() in android PriorityBlockingQueueStep 1 − ... Read More

How to use NOT NULL constraints in Android sqlite?

Vrundesha Joshi

Vrundesha Joshi

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

299 Views

Before getting into example, we should know what sqlite database in android is. SQLite is an opensource 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 access this ... Read More

Android stop specified IntentService?

Vrundesha Joshi

Vrundesha Joshi

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

686 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

129 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

599 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

Advertisements