how do i create a donate menu

Status
Not open for further replies.

Raziel23x

APK Multi-Tools
Premium Member
Developer
Joined
Jul 21, 2010
Messages
347
Reaction score
0
Location
Novi Michigan
Website
apkmultitool.com
Twitter
raziel23x
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

Code:
private static final int MENU_DONATE = 0;
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;
    }

but it is not working and giving me errors what do i need to fix this and get it to work correctly
 

cereal killer

Administrator
Staff member
Joined
Oct 29, 2009
Messages
11,254
Reaction score
1,269
Location
Austin, TX
Current Phone Model
Nokia Lumia Icon
Hello Raziel23,

Donate buttons/links are reserved for Official DF Developers and Themers ONLY.

I do need to clarify that. Thanks for understanding.

With that said I'm going to close this one down.
 
Status
Not open for further replies.
Top