Ankith Reddy has Published 1070 Articles

How to make an Android device vibrate?

Ankith Reddy

Ankith Reddy

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

860 Views

In android, using vibrate service, we can vibrate android mobile. This example demonstrate about how to make an Android device vibrateStep 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 ... Read More

Program for adding 4 hex digits of a 16-bit number in 8085 Microprocessor

Ankith Reddy

Ankith Reddy

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

465 Views

We write an 8085 assembly language program for the addition of 4 hex digits of a 16-bit number whose input is given from the keyboard and the result is displayed in the data field.FILE NAME ADDHEX.ASM ORG C000H CURDT: EQU FFF9H UPDDT: EQU 06D3H GTHEX: EQU 052FH HXDSP: EQU 05A1H ... Read More

How to check current wifi always discoverable in android?

Ankith Reddy

Ankith Reddy

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

86 Views

This example demonstrate about How to check current wifi always discoverable 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 select from MySQL table A that does not exist in table B?

Ankith Reddy

Ankith Reddy

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

1K+ Views

You can use IN operator to select from one table that does not exist in another. To understand the above syntax, let us create a table.The first table name is A and second table name is B. The query to create a table is as followsmysql> create table A   ... Read More

Create KeyValue Tuple from an array in Java

Ankith Reddy

Ankith Reddy

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

79 Views

To create KeyValue tuple from an array in Java, you need to use the fromArray() method. Let us first see what we need to work with JavaTuples. To work with KeyValue class in JavaTuples, you need to import the following packageimport org.javatuples.KeyValue;Note Download JavaTuples Jar library to run JavaTuples program. ... Read More

Implementation of moving display using 8085 Microprocessor

Ankith Reddy

Ankith Reddy

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

504 Views

Intel 8279 is a specially designed Input Output port chip which performs two major functions. It scans a matrix keyboard, as well as it displays a multiplexed display such that the processor gets relieved from the extreme tasks and let it performs systematically. We had given a brief description about ... Read More

Memory Read (MR) machine cycle in 8085 Microprocessor

Ankith Reddy

Ankith Reddy

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

7K+ Views

The last three clock cycles in ‘MOV C, M’ instruction are the example for Memory Read machine cycle. Waveforms for Machine Read machine cycle is shown below: InstructionOperationAddress reg.LDA 1234HLoading W with 12H (or Z with 34H)PCPOP BPopping information from stack topSPMOV C, MLoading A from memory pointed by HLHLLDAX BLoading ... Read More

How to generate a “create table” command based on an existing table in MySQL?

Ankith Reddy

Ankith Reddy

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

129 Views

You can generate a create table command based on an existing table in MySQL with the help of SHOW CREATE command.The syntax is as followsSHOW CREATE TABLE yourTableName;To understand the above syntax, let us create a table. The query to create a table is as followsmysql> create table StudentInformation   ... Read More

How to use Abstract list in volley json array in android?

Ankith Reddy

Ankith Reddy

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

107 Views

This example demonstrate about How to use Abstract list in volley json array 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

The listIterator() method of CopyOnWriteArrayList in Java

Ankith Reddy

Ankith Reddy

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

83 Views

The listIterator() method of the CopyOnWriteArrayList class in Java is used to return a list iterator over the elements in this list.The syntax is as followspublic ListIterator listIterator()To work with CopyOnWriteArrayList class, you need to import the following packageimport java.util.concurrent.CopyOnWriteArrayList;The following is an example to implement CopyOnWriteArrayList class listIterator() method ... Read More

Advertisements