Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Creating subfolders on target device

Creating subfolders on target device

Scheduled Pinned Locked Moved Mobile
question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Paulo Mitchell
    wrote on last edited by
    #1

    I have an app running on a PDA which makes use of a number of subfolders. After my initial build and deploy I just created these folders manually on the device. Now I am looking to deploy the app onto more devices and want to have these folders created for me. Is there some way that I can do this as part of the initial deploy?

    N 1 Reply Last reply
    0
    • P Paulo Mitchell

      I have an app running on a PDA which makes use of a number of subfolders. After my initial build and deploy I just created these folders manually on the device. Now I am looking to deploy the app onto more devices and want to have these folders created for me. Is there some way that I can do this as part of the initial deploy?

      N Offline
      N Offline
      nuttynibbles
      wrote on last edited by
      #2

      sure you can. what i did was create a configuration file which does various initialization during the startup of the application. for example, the initialization function will check if the sub folder exist. if it is not, it will create the respective sub folders. is this what you're looking for?

      P 1 Reply Last reply
      0
      • N nuttynibbles

        sure you can. what i did was create a configuration file which does various initialization during the startup of the application. for example, the initialization function will check if the sub folder exist. if it is not, it will create the respective sub folders. is this what you're looking for?

        P Offline
        P Offline
        Paulo Mitchell
        wrote on last edited by
        #3

        Now you mention it I realise I have been a bit stupid. I don't need to copy the empty folders when I deploy the app. I will just add an initialisation function to my app and create them if they don't exists. Thanks for the pointer.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups