What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

how do i create a donate menu

Status
Not open for further replies.

Raziel23x

APK Multi-Tools
Premium Member
Developer
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
 
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.
Back
Top