+1 On Sat, Oct 30, 2010 at 11:26 AM, Kumar Bibek <[email protected]> wrote: > 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 <[email protected]> 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 [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 > > > -- > 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 [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
-- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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

