I'm a beginner in mobile app development. I have created an application to send SMS from one phone to another which uses Push Registry. I have tested the app in few phones which was working well.
Recently, when I run the app with Nokia 2700, It was working for the first time. From the second time (after I delete and install the same again), it is throwing me NULL pointer exception. After few attempts, I understood that I am not able to access the PORT. So, I configured the app with different port. Even now, the app is running for the first time but not working from the 2nd time. I'm establishing dynamic connection.
I don't find any mechanism to unregister the connection since I wanted the push registry to listen for incoming messages always.
Can anybody help me with the solution?