Dim in As Intent
in.Initialize("android.intent.action.RINGTONE_PICKER", "")
in.PutExtra("android.intent.extra.ringtone.TYPE", 1)
Dim ActivityForResult As StartActivityForResult
ActivityForResult.Initialize("Ion")
ActivityForResult.Start(in,100)
Log("wwww1")
Dim intent_result As Object
Wait For Ion_OnActivityResult (RequestCode As Int, ResultCode As Int, Data As Intent, ExtraParams() As Object)
If ResultCode = StartActivityForResult.RESULT_OK And RequestCode = 100 Then
CallSubDelayed2(WhatEverTheServiceIsCalled, "Ion_Callback", ResultCode) ' Make sure WhatEverTheServiceIsCalled is the name of the
' service that has the HandleMainPageSub, the sub name match
' (in this case Ion_Callback) and the passed parameter types match
' (in this case Int).
'May need more checks to ensure service is already/still up and running before using CallSubDelayed2 (otherwise may still get some strange results)
.
.