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

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))














any idea ?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…