Android Question xml file Null

rafaelcamara

Member
Licensed User
Longtime User
Hello friends,
Has something happened to me, I went to install my apk on another device I bought, and I realized that I copy the xml file in the installation using a File.Copy
the file is copying null. while in the other device usually,does have to do with the version of android? This new device is the version of android 4.2 and other is 4.0.

ex:

If File.Exists (File.DirDefaultExternal, "k.xml") = False Then
File.Copy (File.DirAssets "k.xml" File.DirDefaultExternal "k.xml")
end if
 
Last edited:

rafaelcamara

Member
Licensed User
Longtime User
Yes I'm checking. Actually the file is copied, but blank and
with the other tablet android 4.0 is correct. The copy is made when I to open the application in the main activity.
 
Upvote 0
Top