How to create txt file in /root folder in android.


Last Updated:

  1. pramod.deore

    pramod.deore Member This Topic's Starter

    Joined:
    Jan 10, 2010
    Messages:
    22
    Likes Received:
    0
    Hello everybody will anybody please provide me a code to create a txt file in /root foder in phone.
    Actually I am trying this from last 4 days. when I run application in eclipse it shows file in windows explorer, but I can't open it to read that file. and when I transfer application to mobile then it runs but no where I found that txt file.

    so, please anybody provide me a code so, using that I can create a txt file in /root folder.

    Thanks
     

    Advertisement
  2. htngon

    htngon Member

    Joined:
    Jan 26, 2010
    Messages:
    10
    Likes Received:
    0
    I don't known exactly what you wish to do. If you want copy a text file from computer to emulator. You can use DDMS. And if you want your application can create a text file in SDcard. You can use stream. You should post your request more clearly, so I can help you. :)
     

Share This Page

Loading...