#Region Project Attributes
#ApplicationLabel: PaperShredder
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: portrait
#CanInstallToExternalStorage: False
#End Region
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
'https://github.com/ldoublem/PaperShredder
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private ps1 As PaperShredder
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("main")
' ps1.ShrededType = ps1.SHRED_TYPE_SLIP
' ps1.ShredderBgColor = Colors.Magenta
' ps1.PaperColor = Colors.yellow
' ps1.SherderProgress = True
' ps1.TextShadow = False
' ps1.ShredderTextColor = Colors.Black
' ps1.ShredderTitle = "SHREDDING YOUR DATA...."
ps1.ShrededType = ps1.SHRED_TYPE_PIECE
ps1.ShredderBgColor = Colors.DarkGray
ps1.PaperColor = Colors.White
ps1.SherderProgress = True
ps1.TextShadow = False
ps1.ShredderTextColor = Colors.white
ps1.PaperEnterColor = Colors.Yellow
ps1.ShredderTitle = "Deleting unused files...."
End Sub
Sub Activity_Resume
ps1.startAnim(2000)
End Sub
Sub Activity_Pause (UserClosed As Boolean)
ps1.stopAnim
End Sub