English
Functions and Help

function: file.getdir

 
string = file.getdir()

Return Value: the actually Arbeitsverzeichnis.

Related:

file.getdir.app: Basisverzeichnis the APP
file.getdir.appcache: Cacheverzeichnis the APP
file.getdir.appres: Zusatzdateien the APP
file.getdir.sdcard: SD-ticket
file.getdir.system: Android Systemverzeichnis (ANDROID_ROOT)
 
01/13/16  
 




HofK
file.getdir.sdcard: SD-ticket
speaks The interne SD the Gerätes on.

there's but teils too wechselbare SD cards. These go in the Systemmit extSdCard marks.

unfortunately can on not gerooteten Geräten only To Android 4.3 something sinnvolles so begin. thereafter falls The ticket whom allegedly Sicherheitsbedenken to that sacrifice. though are externe USB Sticks then well as sure classed - there goes it - !
- and, where see we presently really secure systems???
// Files
cls rgb 10,20,100
print "--- Files ---
"
// // externe USB Stick
file.chdir file.getdir.system
file.chdir "../storage"// to that Speicher"baum" change
file.chdir "UsbDriveA"// to that USB unit A change
file.mkdir "Testordner"//  a under-Ordner lay out
file.chdir "Testordner"// To it change
file.write "testtext.txt"  "Das is the Content \nvon File testtext.txt"
print "aktueller Unterordner "+ file.getdir
print file.read "testtext.txt"
// externe SD ticket
file.chdir file.getdir.system
file.chdir "../storage"// to that Speicher"baum" change
file.chdir "extSdCard"// to external ticket change
print file.list
// To here game Android ex 4.4 only with
file.mkdir "Testordner"//  a under-Ordner lay out
file.chdir "Testordner"// To it change
file.write "testtext.txt"  "Das is the Content \nvon File testtext.txt"
print "aktueller Unterordner "+ file.getdir
print file.read "testtext.txt"

how'bout with
file.getdir.storage

file.getdir.UsbDrive.A
file.getdir.UsbDrive.B
etc.

nevertheless too
file.getdir.extSdCard
 
02/26/16  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.138 Views

Untitledvor 0 min.
Micha1233403/23/16
iF03/13/16
HofK03/13/16

Themeninformationen

this Topic has 2 subscriber:

HofK (1x)
iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie