Link: Javapoint Android Explicit Intents
Code in Second Activity
There are two variants of startActivityForResult() method.
Code in Main Activity
Code in Second Activity
Link: Android Developer Handler Class
There are two main uses for a Handler: (1) to schedule messages and runnables to be executed at some point in the future; and (2) to enqueue an action to be performed on a different thread than your own.
postDelayed(Runnable r, long delayMillis)
Causes the Runnable r to be added to the message queue, to be run after the specified amount of time elapses.
Link: Android Developer AsyncTask Class
Link: Stackoverflow AsyncTask Example
Android AsyncTask going to do background operation on background thread and update on main thread.
Link: Tutorialspoint sending and recieving using Sockets in Android
Find this document incomplete? Leave a comment!
App Development
Notes
Documentation
Templates