iOS Question File.DirDefaultExternal equivalent for B4i?

ralvy

Member
Licensed User
I'm a B4X newbie exploring the KeyValueStore module in Android and iOS. In the B4A example project for KVS, there's a Starter module that initializes KVS like this:

B4X:
Sub Service_Create
  kvs.Initialize(File.DirDefaultExternal, "datastore2")
End Sub

I assume I need something like that on the B4i side of things. Two questions arise:

1. Since B4i had no Starter module, do I place that in as a method after Sub Process_Globals and before Private Sub Application_Start?

2. What File member would be the equivalent of DirDefaultExternal on the B4i side of things?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…