AsyncTask in Android Practicle | Android Tutorial for beginners

preview_player
Показать описание
In this video we will see how to use asyncTask in our project

Here we will take input from the user and process it through the server.
So here we are connecting with server.

There will be to editText through which we will take input and one button to calculate.
We will give the server those input and process the result

AsyncTask enables proper and easy use of the UI thread. This class allows to perform background operations and publish results on the UI thread without having to manipulate threads and/or handlers.

An asynchronous task is defined by a computation that runs on a background thread and whose result is published on the UI thread. An asynchronous task is defined by 3 generic types, called Params, Progress and Result, and 4 steps, called onPreExecute, doInBackground, onProgressUpdate and onPostExecute.

Follow on Facebook:

Subscribe to our other channel:
Telusko Hindi :

Subscribe to the channel and learn Programming in easy way.

Рекомендации по теме
Комментарии
Автор

I did hours of research, almost got it right, then you showed me the whole thing start to finish. Thanks for this.

Cborders
Автор

Yeah we want server coding also
..& one more playlist ...for Firebase 😎😎

TopCategory
Автор

Your tutorials are in between the bests I have seen until now. Because you are explaining the theory and concepts and all that sh*t. Well done!

victorwillhuber
Автор

Really Nice Teaching Method...First Time Seen Indian Guy Teaching on Youtube with these clear explanation..!!

SuperArjun
Автор

Thanks very much for this clear explanation which not only shows how to do it but also shows what could go wrong. This is the best way for me!

TimCrangle
Автор

really awesome sir you are teaching from ground level. I can understand what you are teaching sir thank u sir

jagapattnaik
Автор

The video description below is like a lecture note ... a special thanks for spending time to write it :)

eldhojames
Автор

Good tutorial man greetings from Iraq😆

-arabnationalist-
Автор

Perfect. Kudos...!! Fantastic bit by bit explanation.

anuraag
Автор

Thank you so much sir.. Your videos are always helpful to learn something new.

mohitsaladiya
Автор

Videos on server/backend would be great. Thanks for the work

richardmelk
Автор

thanks, your tutorial just work perfectly

zhanweiyap
Автор

Man I love your work.
Make some more videos.

kanwalpreet
Автор

thanks for your video
You can use alt+enter to eliminate errors you should just move the cursor on the error and press alt+enter to correct the errors

alijafari
Автор

Hello ty for the video .. you helping me a lot :) can u make video for post request method ? :) ty

christopherjohngamo
Автор

I would like to see more videos about "Practicle ".

oracle
Автор

your website is not working...any solution

soletune
Автор

sir, can we use the server what you have used for this project?

NikhilKumar-ezsh
Автор

IS execute method a part of AsyncTask because you have called it with the object of the same class extending AsyncTask??

pratikthacker
Автор

This is more a HttpURLConnection tutorial than an AsyncTask..

You do not mention the most important.. how do you pass the return value back to main activity to use it there..

ralloss