Permissions on my first Android app

This is a discussion on Permissions on my first Android app within the Android App Developers forums, part of the Droid Apps category; Any Android Developers here? I downloaded the SDK and built my first "Hello Android" console app (13.1KB .apk) using eclipse, per the docs. It even ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: Permissions on my first Android app

  1. Droid Ninja
    Natey2's Avatar
    Member #
    129768
    Join Date
    Oct 2010
    Posts
    1,099
    Liked
    8 times
    Phone
    DROIDX
    #1

    Permissions on my first Android app

    Any Android Developers here?

    I downloaded the SDK and built my first "Hello Android" console app (13.1KB .apk) using eclipse, per the docs.
    It even ran fine on my first attempt!

    Both under the emulator, and when installed on my DroidX.

    But I see that under Permissions, the app lists:
    Storage - modify/delete SD card contents
    Phone calls - read phone state and identity.

    How do I get my very simple console app to require no special permissions?

    Thanks!

    Sent from my DROIDX using DroidForums App
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Droid Ninja
    Natey2's Avatar
    Member #
    129768
    Join Date
    Oct 2010
    Posts
    1,099
    Liked
    8 times
    Phone
    DROIDX
    #2
    Anyone know how to fix this?
  4. Droid Newbie
    tzcoder's Avatar
    Member #
    169155
    Join Date
    Feb 2011
    Posts
    2
    Phone
    Enter Current Phone Model Here
    #3
    This happens if you are targeting Android 1.5 but installing on a higher version, I suggest you target your app for 1.6 and above to get rid of the permissions. These permissions get added automatically to maintain compatibility.

    So right click on your Project select Properties > Android and change the Project build target to 1.6 or above and the perms should go away.

    Also look at your manifest file "AndroidManifest.xml" under the permissions tab, see if there is anything there.
  5. Droid Ninja
    Natey2's Avatar
    Member #
    129768
    Join Date
    Oct 2010
    Posts
    1,099
    Liked
    8 times
    Phone
    DROIDX
    #4
    Thanks for the tip, tzcoder!

    I added:

    <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8" />

    It would have probably worked with something lower than 8 too.

    Sent from my DROIDX using DroidForums App
  6. Droid Newbie
    XHaZeX's Avatar
    Member #
    178288
    Join Date
    Mar 2011
    Posts
    1
    Phone
    droid x
    #5
    Wat program do u use to make ur apps and stuff

    Sent from my DROIDX using DroidForums App
  7. Droid Ninja
    Natey2's Avatar
    Member #
    129768
    Join Date
    Oct 2010
    Posts
    1,099
    Liked
    8 times
    Phone
    DROIDX
    #6
    Quote Originally Posted by XHaZeX View Post
    Wat program do u use to make ur apps and stuff

    Sent from my DROIDX using DroidForums App
    eclipse

    Sent from my DROIDX using DroidForums App

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. Change App Permissions
    By Nevoc in forum Pending Submissions / Questions
    Replies: 1
    Last Post: 11-28-2011, 06:08 AM
  2. Fix Permissions
    By dfuser312553 in forum UltimateDroid
    Replies: 3
    Last Post: 12-24-2010, 01:24 AM
  3. Android SECURITY - Selectively control App's permissions?
    By samsonite801 in forum Android Forum
    Replies: 4
    Last Post: 10-31-2010, 03:49 AM
  4. App Permissions
    By Roga Danar in forum Droid 2 General Discussions
    Replies: 2
    Last Post: 08-22-2010, 08:11 PM
  5. System Permissions?
    By Stacman in forum Droid Themes
    Replies: 2
    Last Post: 02-02-2010, 10:38 AM

Search tags for this page

android app permissions

,

android application permissions

,
androide thread permission uses
,
anroid application permissions
,
app inventor tablet
,
apps no permissions
,

change android app permissions

,

change app permissions android

,

change application permissions android

,
change droid bonic application permissions
,

change permissions android apps

,
droid x change app permissions
,

how to change permissions on android app

,

how to change permissions on android apps

,
where is the manifest file on droid x?
Click on a term to search our site for related topics.