Build1=Default,com.arp.adokbfa
File1=Layout1.bal
FileGroup1=Default Group
Group=Default Group
IconFile=
Library1=core
Library2=adok
Library3=reflection
Library4=okhttp
ManifestCode='This code will be applied to the manifest file during compilation.~\n~'You do not need to modify it in most cases.~\n~'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136~\n~AddManifestText(~\n~<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="19"/>~\n~<supports-screens android:largeScreens="true" ~\n~    android:normalScreens="true" ~\n~    android:smallScreens="true" ~\n~    android:anyDensity="true"/>)~\n~SetApplicationAttribute(android:icon, "@drawable/icon")~\n~SetApplicationAttribute(android:label, "$LABEL$")~\n~SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")~\n~~\n~AddPermission (android.permission.READ_PHONE_STATE)~\n~AddPermission (android.permission.INTERNET)~\n~AddPermission (android.permission.WRITE_EXTERNAL_STORAGE)~\n~AddPermission (android.permission.WAKE_LOCK)~\n~AddPermission (android.permission.RECEIVE_BOOT_COMPLETED)~\n~AddPermission (android.permission.ACCESS_NETWORK_STATE)~\n~AddPermission (android.permission.VIBRATE)~\n~AddPermission (android.permission.FOREGROUND_SERVICE)~\n~AddPermission (android.permission.BROADCAST_STICKY)~\n~~\n~AddApplicationText(~\n~        <activity android:name="arp.com.adok.MainWin"  />~\n~        <activity android:name="arp.com.adok.LoginActivity"/>~\n~        <activity android:name="arp.com.adok.LoadingPage"/>~\n~        <activity android:name="arp.com.adok.ShowAlertActivity" />~\n~        <activity android:name="arp.com.adok.adokshownotification" android:exported="true" />~\n~~\n~        <service android:name="arp.com.adok.CrashReport"/>~\n~        <service android:name="arp.com.adok.NotificationService" android:process=":externalProcess"></service>~\n~        <service android:name="arp.com.adok.NotificationServiceIO" android:process=":externalProcess"></service>~\n~        <service android:name="arp.com.adok.RunDuration"/>~\n~        <service android:name="arp.com.adok.SyncWeb"/>~\n~        <service android:name="arp.com.adok.HandleUser"/>~\n~        <service android:name="arp.com.adok.NotiTimer"/>~\n~        <service android:name="arp.com.adok.CheckConnectService" />~\n~		~\n~        <service android:name="arp.com.adok.CrashReportJS"~\n~            android:permission="android.permission.BIND_JOB_SERVICE"~\n~            android:exported="true"/>~\n~			~\n~        <service android:name="arp.com.adok.NotiTimerJS"~\n~            android:permission="android.permission.BIND_JOB_SERVICE"~\n~            android:exported="true">~\n~			~\n~			<intent-filter>~\n~                <action android:name="android.app.action.DEVICE_ADMIN_ENABLED"/>~\n~            </intent-filter>~\n~		</service>~\n~		~\n~        <service android:name="arp.com.adok.SyncWebJS"~\n~            android:permission="android.permission.BIND_JOB_SERVICE"~\n~            android:exported="true"/>~\n~			~\n~~\n~        <receiver android:name="arp.com.adok.notificationReciever">~\n~            <intent-filter>~\n~                <action android:name="android.intent.action.BOOT_COMPLETED"/>~\n~                <action android:name="android.content.Intent.ALARM" />~\n~                <action android:name="android.intent.action.ACTION_POWER_CONNECTED" />~\n~                <action android:name="android.intent.action.AIRPLANE_MODE" />~\n~                <action android:name="android.intent.action.ANSWER" />~\n~                <action android:name="android.intent.action.CAMERA_BUTTON" />~\n~                <action android:name="android.intent.action.DOCK_EVENT" />~\n~                <action android:name="android.intent.action.HEADSET_PLUG" />~\n~                <action android:name="android.intent.action.SCREEN_OFF" />~\n~                <action android:name="android.intent.action.SCREEN_ON" />~\n~            </intent-filter>~\n~        </receiver>~\n~~\n~        <receiver android:name="arp.com.adok.NotificationStarter">~\n~            <intent-filter>~\n~                <action android:name="com.test.intent.action.ALARM" />~\n~            </intent-filter>~\n~        </receiver>~\n~~\n~        <receiver android:name="arp.com.adok.NotiScreenChecker" >~\n~            <intent-filter>~\n~                <action android:name="android.intent.action.ACTION_USER_PRESENT" />~\n~                <action android:name="android.intent.action.ACTION_BOOT_COMPLETED" />~\n~                <action android:name="android.intent.action.ACTION_SCREEN_ON" />~\n~                <action android:name="com.test.intent.action.ALARM" />~\n~            </intent-filter>~\n~        </receiver>~\n~)~\n~	~\n~'End of default text.~\n~
Module1=Starter
NumberOfFiles=1
NumberOfLibraries=4
NumberOfModules=1
Version=9.01
@EndOfDesignText@
#Region  Project Attributes 
	#ApplicationLabel:Adok Sample b4a
	#VersionCode: 1
	#VersionName: 1
	'SupportedOrientations possible values: unspecified, landscape or portrait.
	#SupportedOrientations: portrait
	#CanInstallToExternalStorage: False
#End Region

#Region  Activity Attributes 
	#FullScreen: False
	#IncludeTitle: True
	
#End Region

#AdditionalJar: ADok.aar


Sub Process_Globals
	'These global variables will be declared once when the application starts.
	'These variables can be accessed from all modules.
	Dim ADok As ADok
	
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 showAdvBtn As Button
	
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("Layout1")	
	Dim R As Reflector
	ADok.Initialize("7e644fe3c61a779936530d2747b908444•ape83c880aad50bff4fe4742fff74f0fe7•ape83c880aad50bff4fe4742fff74f0fe7","pr",False,"def",R.GetActivity)
	
End Sub

Sub Activity_Resume
	ADok.CheckLogin
	
End Sub

Sub Activity_Pause (UserClosed As Boolean)
	
End Sub

Sub showAdvBtn_Click
	ADok.ShowAdv("ADok")
End Sub


Sub ADok_onVideoViewEnd(result As String)
	Log(result)
End Sub

Sub ADok_onLeaderboardGet(result As String)
	
End Sub


Sub BtnCrash_Click
	Dim lst As List
	lst.Initialize
	Log(lst.Get(10))
End Sub

