C Cor Active Member Licensed User Longtime User Dec 1, 2010 #1 How to load files and use across activities? first activity B4X: process_globals Dim chordDataList As List chordDataList=File.readlist(File.DirAssets,"sgcfinder.dat") second activity will give no error during running and compiling but does nothing B4X: GetChordName(main.chordDataList,construct) How to solve this without loading the file in every activity grCor
How to load files and use across activities? first activity B4X: process_globals Dim chordDataList As List chordDataList=File.readlist(File.DirAssets,"sgcfinder.dat") second activity will give no error during running and compiling but does nothing B4X: GetChordName(main.chordDataList,construct) How to solve this without loading the file in every activity grCor
Erel B4X founder Staff member Licensed User Longtime User Dec 1, 2010 #2 You can safely share this list between activities as you did. What exactly isn't working?
C Cor Active Member Licensed User Longtime User Dec 1, 2010 #3 list is empty when showing with toastshowmessage on second activity no fault message when compiling grCor
list is empty when showing with toastshowmessage on second activity no fault message when compiling grCor
C Cor Active Member Licensed User Longtime User Dec 1, 2010 #4 sorry, my fault mixed up some definitions works ok grCor