1. Download our Official Android App: Forums for Android!

Apps [Newbie] Permissions help!

Discussion in 'Android Development' started by GavChap, Sep 10, 2010.

  1. GavChap

    GavChap Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    39
    Joined:
    Aug 23, 2010

    Aug 23, 2010
    39
    6
    36
    Adding this code

    Code (Text):
    1.          
    2.          Uri uri=Uri.parse("market://details?id=com.gavchap.ultimatelevelpaid");
    3.          Intent intent = new Intent(Intent.ACTION_VIEW,uri);
    4.          startActivity(intent);
    5.  
    Seems to mean that I now need to add a permission for INTERNET into my manifest permissions? Is that correct even though I'm only invoking the market via an intent? Is there another way to invoke a market intent without needing internet permission? All I'm attempting is to ad a menu item to allow people to upgrade to the paid version.

    Thanks
     

    Advertisement

  2. speedracer

    speedracer Lurker
    Rank:
    None
    Points:
    5
    Posts:
    5
    Joined:
    Nov 13, 2009

    Nov 13, 2009
    5
    0
    5
    why don't you want to add the permission for INTERNET? I don't see what the big deal is?
    in order for the market to retrieve data for apps and for the user to be able to upgrade to the paid version, and to PAY you, they certainly need the Internet right?
     

Share This Page

Loading...