Author Topic: Access private files in app's hidden area  (Read 7699 times)

Godzilla

  • Newbie
  • *
  • Posts: 5
Access private files in app's hidden area
« on: September 18, 2012, 06:26:55 AM »
Is there a way to access, create and operate on files within the private area of my app so others cannot see them?
I don't mean on the sdcard but in the hidden area.

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 289
Re: Access private files in app's hidden area
« Reply #1 on: September 18, 2012, 09:43:26 AM »
Hello

Yes, to do this you will need the full path to the private folder - use the InternalPathFN function
This gives the path without the trailing '/'.

eg
Code: [Select]
Put InternalPathFN into fpath
Once you have this path then your app can use HAC's file commands just as if the folder fpath were a standard folder.

By the way, there is also DatabasePathFN - this gives the path to the database folder inside the above mentioned private folder.

Malkom



I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

Godzilla

  • Newbie
  • *
  • Posts: 5
Re: Access private files in app's hidden area
« Reply #2 on: September 19, 2012, 07:25:43 AM »
thank you, I'll try that out.

 

anything