Here is the manifest. Where the line of stars are is where I think I
had the permission line first and I just moved it to the bottom.
Is this correct?


<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
      package="#####"
      android:versionCode="2"
      android:versionName="2.0.1">
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
*********************************************************
        <activity android:name=".#####" android:label="@string/
app_name" android:theme="@android:style/Theme.NoTitleBar" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
                <activity android:name=".#####" android:theme="@android:style/
Theme.NoTitleBar" android:windowSoftInputMode="stateVisible|
adjustResize" />
                <activity android:name=".#####" android:theme="@android:style/
Theme.NoTitleBar" android:windowSoftInputMode="stateVisible|
adjustResize"/>
                <activity android:name=".#####" android:theme="@android:style/
Theme.NoTitleBar" android:windowSoftInputMode="stateVisible|
adjustResize" />
                <activity android:name=".#####" android:theme="@android:style/
Theme.NoTitleBar" android:windowSoftInputMode="stateVisible|
adjustResize" />
                <activity android:name=".#####" android:theme="@android:style/
Theme.NoTitleBar" android:windowSoftInputMode="stateVisible|
adjustResize" />
                <activity android:name=".#####" android:theme="@android:style/
Theme.NoTitleBar" android:windowSoftInputMode="stateVisible|
adjustResize" />
    </application>
    <uses-sdk android:minSdkVersion="4" />
        <uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>

On May 6, 8:02 pm, TreKing <[email protected]> wrote:
> On Thu, May 6, 2010 at 11:49 AM, André <[email protected]> wrote:
> > Does it matter where I declare it in the file?
>
> Well, yeah - you can't just put it anywhere. Maybe post that part of your
> manifest to double check.
>
> For example, mine looks like this:
> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
> and it's a child of the root "manifest" node.
>
> But I would expect the build process to throw an error if it were in the
> wrong place. And it would fail miserably on all post 1.5 devices (and the
> emulator, one would assume) if that were the case.
>
> > The strange thing is that it works fine on some devices and not at all on
> > others. So far I have got reports of this problem on moto droid, htc hero
> > sprint and g1.
>
> I don't know about the Hero, but if it's past 1.5, the permission seems like
> a likely culprit.
>
> --------------------------------------------------------------------------- 
> ----------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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