1. Are you ready for the Galaxy S20? Here is everything we know so far!

creating private files and folders

Discussion in 'Android Apps & Games' started by asthasharma017, Aug 10, 2012.

  1. asthasharma017

    Thread Starter

    Hello,
    I want to make dynamic files file in my app. For this I want to create different folders for storing files of different categories dynamically. For this i'm using path data/data/package_name/folder_name/file_name. It create is folders but not creating files.
    Please tell me is this the correct way to make files inside folders. If it is wrong, what else can i do for this?
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Sam P

    Sam P Newbie

    In order to create new file under new folder, folder must have been created first...then create new file ...HTH
     
  3. asthasharma017

    Thread Starter

    Thanks for the reply Sam. I treied creating folder first and then adding the file. But its also not working.
     
Loading...
Similar Threads - creating private files
  1. soulartist
    Replies:
    14
    Views:
    497
  2. Relaxing Leg
    Replies:
    0
    Views:
    440
  3. Sajivjess
    Replies:
    1
    Views:
    506
  4. RicardoM
    Replies:
    1
    Views:
    539
  5. My project
    Replies:
    9
    Views:
    721
  6. grizmixstir
    Replies:
    3
    Views:
    1,025
  7. kdmoore
    Replies:
    3
    Views:
    1,158
  8. cwg01
    Replies:
    3
    Views:
    2,868
  9. kumaranil13k
    Replies:
    4
    Views:
    1,122
  10. 5g Moto Android 11
    Replies:
    2
    Views:
    2,285

Share This Page

Loading...