• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Problem reading a file from app

kepler777

Newbie
Hi,

I'm working in a android project with Basic4Android. Either way, I've made a java library to help me out in some calculations.
This lib, must read some files to get extensive data.
Inside my B4A project, there's a folder named Files. I've putted there those files. But I can't seem to reach them as I install the apk into the Android emulator.
I even tryed to check if the file at least is there:

Code:
Dim fname As String = File.DirDefaultExternal
  
    Msgbox(fname,"Info")
  
    If File.Exists(fname, "Test.txt") Then
    Msgbox("It's there!!!","Info")
    End If

But I can't find it...

Any ideas?

Kind regards,

Kepler777
 
Back
Top Bottom