Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim exSDCard As extSDCard
Dim DefaultFolder, tessDataPath As String
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Try
exSDCard.Initialize
DefaultFolder = exSDCard.DeviceStorage(1)
tessDataPath = DefaultFolder & "/tessdata"
If Not(File.IsDirectory(DefaultFolder, "tessdata")) Then File.MakeDir(DefaultFolder, "tessdata")
Catch
Msgbox(LastException.Message, Maps.L(0,"A T T E N T I O N"))
ExitApplication
End Try
End Sub