Android Question Problem with SIP Account

devpialkt

Member
Licensed User
Longtime User
Hi erel

if end/close SIP calling as normally, it will remove SIP account profile at settings> call settings> SIP Account

but when the application closed with force closed, make SIP account is not deleted in the SIP Account settings.
so, next SIP registration (with others acoount) become fail ..

is there a away to remove current SIP account profile on SIP Account with B4A ??

Thanks


*)sorry for my bad english
 

devpialkt

Member
Licensed User
Longtime User
i'm sorry :D

tried but error with the code

B4X:
Dim r As Reflector
r.Target = SIP
Dim manager As JavaObject = r.GetField("manager")
Dim profile As JavaObject = r.GetField("me")
manager.RunMethod("unregister", Array(profile, Null))

Screen_Shot_2016_08_25_at_19_45_10.png



Screen_Shot_2016_08_25_at_19_46_13.png




Screen_Shot_2016_08_25_at_19_53_45.png



Screenshot_2016_08_25_19_55_04_165_com_android_p.jpg



any idea ?
 
Upvote 0
Top