I finally found the problem, my post above and my code was wrong,
moving the permissions outside </application> tag worked:
</application>
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/>
Many thanks for all the suggestions...
On Jul 8, 6:37 pm, powder <[email protected]> wrote:
> It works und 2.2 in the emulator, so the new path is tested and works,
> but changing to the following it stops working:
>
> <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/>
>
> instead of
>
> <uses-sdk android:minSdkVersion="3"/>
>
> Is it a bug or what am I not doing correctly?
>
> On Jul 8, 2:31 pm, Adrian Vintu <[email protected]> wrote:
>
>
>
> > thank you Mark. good to know :)
>
> > On Thu, Jul 8, 2010 at 2:27 PM, Mark Murphy <[email protected]> wrote:
> > > On Thu, Jul 8, 2010 at 8:16 AM, Adrian Vintu <[email protected]>
> > > wrote:
> > > > where does the "/mnt" come from in /mnt/sdcard/myapp/customer.db ?
>
> > > > could it be that your path is wrong? should it not be /sdcard/...?
>
> > > The path varies by device and Android release. /mnt/sdcard is typical
> > > for Android 2.2, at least in the emulator.
>
> > > --
> > > Mark Murphy (a Commons Guy)
> > >http://commonsware.com|http://github.com/commonsguy
> > >http://commonsware.com/blog|http://twitter.com/commonsguy
>
> > > Android App Developer Books:http://commonsware.com/books
>
> > > --
> > > 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]<android-developers%2Bunsubs
> > > [email protected]>
> > > For more options, visit this group at
> > >http://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