Jason - I do want to redirect. What I also want is to stay in the original WebView window, right now it starts there but then app pops- up mobile browser and page is displayed in that browser rather than the app
On Sep 21, 3:45 pm, Jason Proctor <jason.android.li...@gmail.com> wrote: > do you have a WebViewClient installed in this WebView instance? > > (personally i think that WebView should follow redirects, as that's > usually the intent of the user/caller, but defeating the default > behaviour ain't so bad, so...) > > >I'm using WebView#loadUrl() to load page inside my app. Unfortunately, > >the original URL redirects to some other URL and that 2nd redirect > >(302) basically opens external browser and loads final page into it. I > >really don't want to do anything with the page I'm loading and don't > >want to add any code e.g. load page with HttpClient and use > >WebView#loadDataWithBaseURL since then I have to deal with relative > >vs. absolute URL > >BTW - I don't think that it's JS that breaks out of original WebView, > >it seem to be a byproduct of redirect. How can I stay within the > >original WebView? > > -- > jason.vp.engineering.particle --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---