Hi sir ,please explain these questions

Q8. [AD.52] What are the functionalities in asyncTask in android?
[AD.52] What are the functionalities in asyncTask in android?

onPreExecution()

doInBackground()

onProgressUpdate()

onPostExecution()

[AD.50] Which package of the following does not have classes needed for Android network connections? java.net org.apache.http android.location android.net

[AD.52]
onPostExecution is the functionality of async task here as it is where the async call ends and it is run on the UI thread.
Reference - https://developer.android.com/reference/android/os/AsyncTask#onPostExecute(Result)

[AD.50]
The android.location package contains the framework API classes that define Android location-based (GPS) and related services

Thanks for answerring

Thanks for the update

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.