How to Create a file in Android Emulator Phone Memory

by naveenballa » Mon, 23 Nov 2009 14:15:20 GMT


Sponsored Links
 I have added these permissions

        <uses-permission android:name="android.permission.READ_OWNER_DATA"></
uses-permission>
        <uses-permission android:name="android.permission.WRITE_OWNER_DATA"></
uses-permission>
        <uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-
permission>

but i cannot able to create a file in phone memory of android emulator
it is showing the error

11-23 11:44:06.019: WARN/System.err(1625): java.io.IOException: Parent
directory of file is not writable: /data/tripdata

Please help me thanks in Advance

--



Other Threads

1. Please remove me

You have an extremely long signature sir.



-- 
.

2. NFC - Custom Tag Dispatching

I am writing an app that will use the P2P part of the NFC package, and I 
would like no other android app possibly handel the intent generated from my 
tag being pushed. I want to prevent the Application Chooser from being 
launched. But if a user has an app that attempts to catch all tags (like a 
generic tag reader app), then it will show the Application Chooser.

Can I use 'android.nfc.action.NDEF_DISCOVERED' with a unique data field for 
my application only?

or 

Can I use 'android.nfc.action.TECH_DISCOVERED' with a custom Tech inside the 
tech-list?

-- 

3. NFSroot compilation error

4. Restricted access to Content Provider

5. Android Context Sensitive Keyboard

6. dynamically linked apps crash with 2.6.39 kernel

7. R: Porting Android on Freescale IMX31 board