Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Hello sir

I have new hand on android and I have built my sms application on J2ME in which i send sms to a number but in case receving sms it is Received on a port like 5000, now I wish to port this application on android pl tell me that there is a way to receive sms on a port in android I have tied the J2ME code for receiving sms on port pl told me in response to that code in Android source code example...


Java
ConnectionString ="sms://:5000";
if(incomingConnection==null){////////////for the main Application
                        incomingConnection = (MessageConnection) Connector.open(ConnectionString);
                        this.incomingConnection.setMessageListener(this);</pre>


thanks n regards
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900