You need to have Internet permission. Instead of using thewebview, you are better off using the Bowser activity for this.
On Sat, Oct 30, 2010 at 11:23 PM, Raziel23x <raziel...@gmail.com> wrote: > I am having trouble creating a donate menu button but I am having > trouble > > > I tried doing it as a webview but my application is the use of the > listview > this Donation Menu item is the only item that requires the internet > permission everything else is internal workings. > [CODE]private static final int MENU_DONATE = 0;[/CODE] > [CODE] > /* Creates the menu items */ > public boolean onCreateOptionsMenu(Menu menu) > { > menu.add(0, MENU_DONATE, 0, "Home"); > return true; > } > /* Handles item selections */ > @Override > public boolean onOptionsItemSelected(MenuItem item) > { > switch (item.getItemId()) { > case MENU_DONATE: > myweb.loadUrl(" > https://www.paypal.com/cgi-bin/webscr?cmd=_s- > xclick&hosted_button_id=A2L64XS44ZQ9S"); > > return true; > } > return true; > }[/CODE] > > but it is not working and giving me errors what do i need to fix this > and get it to work correctly > > -- > 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<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- 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