how do i create a donate menu

Discussion in 'Android App Developers' started by Raziel23x, Oct 27, 2010.

Thread Status:
Not open for further replies.
  1. Raziel23x

    Raziel23x APK Multi-Tools Premium Member Developer

    Joined:
    Jul 21, 2010
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Novi Michigan
    Ratings:
    +0
    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
     
  2. cereal killer

    cereal killer DF Administrator Staff Member

    Joined:
    Oct 29, 2009
    Messages:
    11,173
    Likes Received:
    914
    Trophy Points:
    558
    Location:
    Austin, TX
    Ratings:
    +932
    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.
     
Thread Status:
Not open for further replies.
Search tags for this page

add paypal donate button to android app

,

android app paypal donation

,

android paypal make donate

,

how to add donate button in android app

,

how to add donate menu in android app

,

how to create paypal url link for android app