Android Question Problem file found

Kahapdos

Member
Licensed User
Longtime User
good day
I need your help please.
I have one file format Excel 2003 files in the project folder.
but in activity1 if it detects the files. but in activity2 I do not recognize anything. What could it be?
B4X:
'activity1
If File.Exists(File.DirInternal,"esc.xls") = False Then
     Msgbox("Necesitas actualizar la base de datos primero, requieres internet","Notificación")
   end if

'activity2
If File.Exists(File.DirInternal,"esc.xls") = False Then
     Msgbox("Necesitas actualizar la base de datos primero, requieres internet","Notificación")
   end if

Attached image of what appears in the activity 2
 

Attachments

  • Screenshot_2015-11-28-21-37-36.png
    Screenshot_2015-11-28-21-37-36.png
    82.8 KB · Views: 130

Kahapdos

Member
Licensed User
Longtime User
I just solved friend
If File.Exists(File.DirInternal,"esc.xls") = False Then
File.Copy(File.DirAssets,"esc.xls",File.DirInternal,"esc.xls")
end if

but not because the first activity does not need to do that.
 
Upvote 0
Top