[android-developers] Re: how do i create a donate menu button

2010-11-01 Thread Raziel23x
So Something Along these Lines will work? private static final int MENU_DONATE = 0; /* Creates the menu items */ public boolean onCreateOptionsMenu(Menu menu) { menu.add(0, MENU_DONATE, 0, "Home"); return true; } /* Handles item selections */

Re: [android-developers] Re: how do i create a donate menu button

2010-10-31 Thread Marcin Orlowski
>> > On Sat, Oct 30, 2010 at 11:23 PM, Raziel23x wrote: >> > > I am having trouble creating a donate menu button but I am having >> > > trouble Try PayPal android library: https://www.x.com/community/ppx/xspaces/mobile/mobile_ec I've played with it a bit and it's far better than redirecting to w

[android-developers] Re: how do i create a donate menu button

2010-10-31 Thread Kumar Bibek
You need to launch the default browser with your donation URL. After that, the browser app should take care of the further actions. To launch the Browser, you need to use a VIEW intent like this. http://developer.android.com/guide/appendix/g-app-intents.html Action - View Uri - Your donation URL

[android-developers] Re: how do i create a donate menu button

2010-10-31 Thread Raziel23x
Can you explain more I am still new to this mixture I have not worked with browser activity On Oct 30, 11:26 am, Kumar Bibek 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