I have an app in which I launch a settings activity in which you can configure the w-fi and the url to show in the first activity. The problem is that, when you go back and return to the beginning app, the changes are not automatically shown. How can I do it? Is there any way to detect that you have returned from the second activity? If there is, would it be worth to execute this code when it detects that it has returned to the first activity?
public void RestartActivity()
{
Intent intent = getIntent();
finish();
startActivity(intent);
}
Without doing this, would there be any possibility to rerun the OnCreate?