Reputation: 79
I added the web view in my Android app. I want to load it in background when my application starts.
Intent intent = new Intent(this, b.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
Upvotes: 2
Views: 552
Reputation: 17401
Try setting the visibility to invisible.
As in load your url into web view but don't show it.
Upvotes: 1