Arjun Thakur has Published 1025 Articles

How to make a background 20% transparent on Android

Arjun Thakur

Arjun Thakur

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

6K+ Views

If you want to give transparent background for your view, This example demonstrate about How to make a background 20% transparent on Android.All hex value from 100% to 0% alpha100% — FF99% — FC98% — FA97% — F796% — F595% — F294% — F093% — ED92% — EB91% — E890% ... Read More

How to use action up event in android?

Arjun Thakur

Arjun Thakur

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

278 Views

This example demonstrate about How use action up event 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 the above ... Read More

How to set all values in a single column MySQL Query?

Arjun Thakur

Arjun Thakur

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

12K+ Views

To set all values in a single column MySQL query, you can use UPDATE command.The syntax is as follows.update yourTableName set yourColumnName =yourValue;To understand the above syntax, let us create a table. The query to create a table is as follows.mysql> create table setAllValuesDemo    -> (    -> Id ... Read More

Program for decimal down counter in 8085 Microprocessor

Arjun Thakur

Arjun Thakur

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

430 Views

We write a program in 8085 assembly language for implementing a decimal down counter (from 99 to 00). The program must be working in the following conditions.We load the accumulator with 99.Displaying the count value in the accumulator which is present in the accumulator. RST5.5 is in unmasked condition and ... Read More

How to check android mobile supports STEP COUNTER sensor?

Arjun Thakur

Arjun Thakur

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

795 Views

This example demonstrate about How to check android mobile supports STEP COUNTER sensorStep 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

Interfacing 7(Seven) Segment Display to 8085 Microprocessor

Arjun Thakur

Arjun Thakur

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

15K+ Views

 An output device which is very common is, especially in the kit of 8085 microprocessor and it is the Light Emitting Diode consisting of seven segments. Moreover, we have eight segments in a LED display consisting of 7 segments which includes ‘.’, consisting of character 8 and having a decimal ... Read More

DoubleStream iterator() method in Java

Arjun Thakur

Arjun Thakur

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

141 Views

The iterator() method of the DoubleStream class in Java returns an iterator for the elements of this stream.The syntax is as followsPrimitiveIterator.OfDouble iterator()Here, PrimitiveIterator.OfDouble is an Iterator specialized for double values.To use the DoubleStream class in Java, import the following packageimport java.util.stream.DoubleStream;The following is an example to implement DoubleStream iterator() ... Read More

MySQL: Testing connection with query?

Arjun Thakur

Arjun Thakur

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

969 Views

Use any predefined function with select query or you can print some words with the select query in order to test connection with query.The syntax is as follows.SELECT yourValue;The select query with predefined function is as follows.The syntax is as follows.SELECT anyPredefinedFunctionName();Now you can implement the above syntax in order ... Read More

LongStream.Builder add() method in Java

Arjun Thakur

Arjun Thakur

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

132 Views

The add() method of the LongStream.Builder class in Java adds an element to the stream being built. The method returns this builder.The syntax is as followsdefault LongStream.Builder add(long i)Here, i is the input.To use the LongStream.Builder class in Java, import the following packageimport java.util.stream.LongStream;Create LongStream.Builder and add some elementsLongStream.Builder builder ... Read More

Interfacing a matrix keyboard with 8085 Microprocessor

Arjun Thakur

Arjun Thakur

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

7K+ Views

In a matrix keyboard there are keys which are arranged in the form of a matrix which consists of several rows and columns. In the figure which is stated below significantly indicates the interfacing process of a matrix keyboard which consists four rows and four columns respectively. We connect a key ... Read More

Advertisements