I have two activities in my android app. MainActivity and SettingsActivity.
MainActivity loads index.html and presents a android menu.I can select settings from menu which will open SettingsActivity. SettingsActivity loads settings.html which has save button.Now what i want is, On successful save of the settings, Application should redirect to MainActivity which in turn will load index.html.
Everything is done, I am just stuck with how to redirect to MainActivity from javascript.
Rather than rolling your own settings activity you may want to take advantage of what Android already gives you. I created a Application Preferences plugin that does just that.