Today while working of the android application for instant messaging service for my college.
Me and my fellow developer come across a annoying problem.
Problem of asking user to confirm the connection is secure and to accept the service certificate.
After working on for a long day we finally figure out the way to ensure the secure connection and accept the without the user’s interaction.
The commit having the correct code is.