View Single Post
Old April 14th, 2010, 09:44 AM   #1 (permalink)
mrqs
Senior Member
Thread Author (OP)
 
mrqs's Avatar
 
Join Date: Sep 2009
Location: Suomi Finland Perkele
Posts: 1,448
 
Device(s): htc sensation nokia n8 samsung galaxy (broken - waterdamage)
Carrier: Not Provided

Thanks: 46
Thanked 92 Times in 78 Posts
Question app requires permissions i've not set

it's not far from a hello world - there's two activities, first one with a button to switch to the other one and the other with a surface view drawing a bitmap and a line based on touchscreen input

yet when i create an apk (via eclipse -> export signed application package), throw it on my sdcard and tap to install (from estrongs), it tells me the app requires two permissions:
phone calls - read phone state and identify
storage - modify/delete sd card contents

here's my manifest:
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.antero.testapp1"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon"
                 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
                 android:label="@string/app_name">
        <activity android:name=".Menu"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".Game"></activity>
        <SurfaceView android:name=".GameView"></SurfaceView>
    </application>
    <uses-sdk android:minSdkVersion="3" />
</manifest>
__________________
All the best bands are affiliated with Satan - Bart Simpson
mrqs is offline  
Reply With Quote