[android-developers] Re: Cant go back to previous page from webview page.

2009-02-11 Thread Komal

This is my class where i m using web view,,please have a look at its
settings.

package android.News;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;

public class DetailData extends Activity {

WebView browser;

@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);

setContentView(R.layout.detail_data);
browser=(WebView)findViewById(R.id.webview);

 // Webview settings

WebSettings webSettings = browser.getSettings();
webSettings.setSavePassword(false);
webSettings.setSaveFormData(false);
webSettings.setJavaScriptEnabled(true);
webSettings.setSupportZoom(true);

/*Fetching data fromt the intent.Came from class MoreData.java
or Home.java*/

Bundle extras = getIntent().getExtras();
if (extras != null) {
String strUrl = extras.getString("URL");
/*loading url into webview*/
browser.loadUrl(strUrl);
}

}

}

On Feb 4, 1:27 am, "Fred Grott(shareme)"  wrote:
> In  your webview settings code what do you have?..ie post it so we can
> take a look
>
> On Feb 2, 5:24 pm, Komal  wrote:
>
> > Hi,
> > I am developing simple RSS Reader kind of application.In my applicaion
> > i cant go back from Webview page to  previous page.i can go back from
> > all pages except the page where i have used Webview.What could be the
> > reason?why i cant go back?
> > Thanx.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Cant go back to previous page from webview page.

2009-02-03 Thread Fred Grott(shareme)

In  your webview settings code what do you have?..ie post it so we can
take a look

On Feb 2, 5:24 pm, Komal  wrote:
> Hi,
> I am developing simple RSS Reader kind of application.In my applicaion
> i cant go back from Webview page to  previous page.i can go back from
> all pages except the page where i have used Webview.What could be the
> reason?why i cant go back?
> Thanx.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---