DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:get_private_folder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:get_private_folder [2015/03/04 16:31] (current)
octazid created
Line 1: Line 1:
 +=====GetPrivateFolder=====
  
 +//​(Information and examples taken from the DroidScript documentation)//​
 +
 +====Description====
 +
 +The **GetPrivateFolder** method gets the full path to a hidden folder on the devices internal storage, creating the folder if necessary. This folder will only be accessible from the App that created it.
 +
 +<​code>​ fldr = app.GetPrivateFolder( name );</​code>​
 +
 +See also [[built_in:​make_folder|MakeFolder]]
 +
 +----
 +
 +====Example====
 +
 +<code javascript>​
 +
 +function OnStart()
 +{
 +  fldr = app.GetPrivateFolder( "​MyStuff"​ );
 +  app.ShowPopup( fldr );
 +
 +
 +</​code>​
built_in/get_private_folder.txt ยท Last modified: 2015/03/04 16:31 by octazid