it take time. it will display black screen when activity two is getting value from web server
That's an indication you're doing it wrong. Anything time-consuming should not be done in the GUI
thread, but in an AsyncTask in the background. You can display a message like "fetching data from server" or something like that while the network call hasn't finished, but all Activity lifecycle methods should return quickly. (They *must* return quickly, actually, because Android will terminate activities that don't respond within a certain timeframe - which can be as short as 10 seconds or so.)