I am trying to implement the search functionality in my app,But I am not
able to get the page,Following is the code :
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.web_view);
onSearchRequested();
}
public boolean onSearchRequested() {
EditText searchString = (EditText) findViewById(R.id.searchText);
webView = (WebView) findViewById(R.id.browser);
Bundle dataBundle = new Bundle();
dataBundle.putString("null", searchString );
startSearch(queryPrefill, false, appDataBundle, false);
webView.requestFocus();
return true;
}
I have even set the User permission in AndroiManifest.xml for INTERNET.
Thanks,
Anirudh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---