In this tutorial,we will learn how we can send data from firstActivity to the second activity using startActivityForResult( ) Send back data from the second activity to first activity. Launching “SecondActivity” from “FirstActivity” using startActivityForResult( ) FirstActivity.class Put the below code on button click listener Sending data back to the “FirstActivity” from “SecondActivity” SecondActivity.class Put … Read more How to move from FirstActivity to SecondActivity using startActivityForResult( ) and Send return back data to the FirstActivity.
In this tutorial,Today we will learn how to set JSON Response data into RecycleView using adapter.This is very important tutorial,every android developer should have knowledge about this. After setting the data into the adapter,we will also get the data into the adapter section. Suppose we have JSON Response The above JSON Response will set into … Read more How to set JSON Response data into RecycleView using adapter in an android
When we have to pass mixed data types or objects or array of objects from one activity to another activity then we use parcelable. When we pass the data from one activity to another activity then we use Intent. Example: Inside First Activity Inside Second Activity The above technique will work for the integer,float,Boolean etc … Read more How to transfer data between the activities using parcelable in an android
Hello folks,today we will learn about the volley HTTP requests such as GET,POST,PUT and DELETE step by step with its programming (code). So before performing the different operation such GET,POST,PUT and DELETE.We have to first set up the android volley library. Setting volley-library For getting more information about the volley library and setting up volley … Read more Making HTTP Request GET,POST,PUT & DELETE in an android using volley-library.
In this tutorial,we will learn about the types of request using volley-library in an android step by step. If you want to learn more about the volley-library then visit our precious tutorial https://placementpreparation.com/2019/10/05/volley-singleton-pattern-in-android-with-easy-explanation/ Types of request using volley-library in an android 1.String Request 2.JSONObject Request 3.JSONArray Request 4. Image Request 1.String Request 2.JSONObject Request 3.JSONArray … Read more Different types of request using volley-library in an android with easy explanation
Volley is an HTTP library that provides the very fast and easy networking connection for the android application without writing tons of code. Using volley,we can easily hit the API and get the data from the server. Features of volley: 1.Send request synchronous and asynchronous 2.Prioriization of request 3.Queuing of request 4.Cancelling the request 5.Effective … Read more Volley- singleton pattern in android with easy explanation
Today we will learn about the Android broadcast receiver.This is a very important framework for android application development. Android Broadcast Receiver Android Broadcast Receiver listens the broadcast message from the other application or system events or intent. Unlike activity,it does not contain any user interface It works similar to publisher-subscriber design patterns used for inter-communication … Read more Broadcast receiver in android with easy explanation
In this tutorial,we will learn how to add AAR file or Android Library(your module) as a dependency in your project step by step. I assume that you have AAR file and want to add into your android studio project. Let’s start Step 1: a.Click on File >New >New Module b.Click on Import .JAR/AAR package then … Read more How to add AAR file or Android Library(Module) as a dependency in your project
In this tutorial,we will learn that how to create Android SDK or Android Library in android studio step by step. What do you mean by Android SDK ? An Android SDK or Android Library is same as android app module.It contains the source codes,resources file and android manifest. However,instead compiling into APK that runs on … Read more How to create Android SDK or Android Library with easy explanation
In this tutorial,we will learn about the android butterknife and its uses. Introduction of butterknife Android butterknife is a lightweight library. It is a view binding tools which uses the annotation processing to generate boilerplate code for us. It removes the findViewById(R.id.view) and uses the @BindView(R.id.view). Android butterknife dependency To use the butterknife in our … Read more Android butterKnife library tutorial with easy explanation.