I have an existing app that was working just fine on all phones.
I added the permission WAKE_LOCK so I could control when the app goes
to sleep.
It worked fine on my HTC Hero, so I published the new update. I
immediately started getting emails from Droid users that the app would
not launch anymore on their phones after they udpated. They get "could
not launch requested activity" when the try to start the app, but it
will allow them to run the app once if they run it from the App Store
button.
I removed the permission, and now Droid users can run the app
normally.
Here is my manifest xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
      package="com.krugism.EntitySensor"
      android:versionName="2.8" android:versionCode="12">
    <application android:icon="@drawable/icon"
        android:label="@string/app_name" android:debuggable="false"
                android:permission="android.permission.WAKE_LOCK">
        <activity android:name=".EntitySensor"
                  android:label="@string/app_name"
                  android:screenOrientation="portrait"
                  android:permission="android.permission.WAKE_LOCK">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
                <activity android:name=".SettingsPref" android:label="@string/
app_name">
                </activity>
    </application>
        <uses-sdk android:minSdkVersion="3"     />
        <uses-permission android:name="android.permission.WAKE_LOCK" />
</manifest>

Any ideas?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to