1. Check out our companion app, Forums for Android! Download from Google Play

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

Discussion in 'Application Development' started by pramod.deore, Jan 23, 2010.

  1. pramod.deore

    pramod.deore Member
    Thread Starter
    35

    Jan 10, 2010
    22
    0
    35
    J2ME developer
    mumbai(India)
    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
    35

    Jan 26, 2010
    10
    0
    35
    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...