I am running the following example on 2 phones: XiaoMi (4.2.2) and Oppo (4.4.4).
Works correctly at XiaoMi.
Using Oppo and DEBUG mode, after I select the ringtone, PickerResult is not called, B4A WiFi Bridge breaks.
Using Oppo and RELEASE mode, after I select the ringtone, PickerResult is not called, the app goes to Activity_Resume (shown in log).
Did I miss something at manifest OR there is implementation difference in some Android phones, such as Oppo ?
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			Works correctly at XiaoMi.
Using Oppo and DEBUG mode, after I select the ringtone, PickerResult is not called, B4A WiFi Bridge breaks.
Using Oppo and RELEASE mode, after I select the ringtone, PickerResult is not called, the app goes to Activity_Resume (shown in log).
Did I miss something at manifest OR there is implementation difference in some Android phones, such as Oppo ?
			
				B4X:
			
		
		
		Sub Process_Globals
  Dim rm As RingtoneManager
  Dim mp As MediaPlayer
End Sub
Sub Globals
End Sub
Sub Activity_Create(FirstTime As Boolean)
  mp.Initialize
  rm.ShowRingtonePicker("rm", rm.TYPE_RINGTONE, True, "")
End Sub
Sub rm_PickerResult (Success As Boolean, Uri As String)
  If Success Then
    If Uri = "" Then
      ToastMessageShow("Silent was chosen", True)
    Else
      mp.Load(rm.GetContentDir, Uri)
      mp.Play
    End If
  Else
    ToastMessageShow("Error loading ringtone.", True)
  End If 
End Sub 
				 
 
		 
 
		 
 
		