After reading the entire forum, I did not find a suitable example.
How to properly initialize an intent in code:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			How to properly initialize an intent in code:
			
				Main:
			
		
		
		Private Sub Activity_Resume
    Dim in As Intent = B4XPages.GetNativeParent(Me).GetStartingIntent
    If in.IsInitialized And in <> OldIntent Then
        OldIntent = in
        If in.HasExtra("Notification_Tag") Then
            Log("Activity started from notification. Tag: " & in.GetExtra("Notification_Tag"))
        End If
    End If
End Sub 
				 
 
		 
 
		 
 
		 
 
		