>
j2me bluetooth server code & server connectionstri...
Welcome, Guest

by dhanendra on Saturday, 22 November 2008
j2me bluetooth server code & server connectionstring format


connectionstring format :btspp://localhost:" + uuid(Universally unique identifier) + ";authenticate=false;encrypt=false;name="+servicename (Service name you want to give to your service) /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package bluetoothcore; import bluetoothcore_interface.AsynchronousResponseHandler; import bluetoothcore_interface.AsynchronousRequestHandler; import de.enough.polish.util.ArrayList; import javax.microedition.io.Connection; import javax.microedition.io.Connector; import javax.microedition.io.StreamConnection; import javax.microedition.io.StreamConnectionNotifier; import javax.microedition.lcdui.Display; import utils.utility; import main.FriendFinder; /** * * @author dhanendra */ public class FriendServer extends Thread { Connection connection; String conString; private StreamConnectionNotifier streamConnNotifier; public FriendServer(String connectionString) { super(); this.ffinder=fmain; this.hdl=h; this.conString=connectionString; this.start(); } public void run() { initServer(conString); } private void initServer(String connectionString) { try { this.streamConnNotifier = (StreamConnectionNotifier) Connector.open(connectionString); while(true) { // utility.showMessage(Display.getDisplay(ffinder), "opened successfully"); // utility.showMessage(Display.getDisplay(ffinder), "connected successfully"); this.connection = streamConnNotifier.acceptAndOpen(); } } catch (Exception ex) { } } }



Blogger Image
My Blog Title

Product Engineering, software engineering company, Product Development, Product Migration, Product Re-engineering, Product Maintenance, Product Testing Commercial Application Development, Business Software development, commercial software for startups, Application Support and Maintenance, software testing Product Maintenance, Outsource product maintenance, product support and maintenance Product Migration, Product Re-engineering, product re-engineering services Product Research, Product Engineering, UI Prototyping Services Software Testing Services, Quality Assurance services, professional software testers, Load Testing, Functional Testing, Cross Platform, Browser Testing, Test Automation, Testing Tools, software quality analysis Functional Testing Services, software quality analysis, Software Testing Services, Application Testing Services, Functional Testing Types Automated Testing, Automated Testing Services, automation testing, test script development, Automation Test Tools, outsource automation testing Load Testing, Performance Testing Services, Load Testing Tools Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering Benefits of IT Outsourcing, Offshore Software Development companies, offshore software development firms Outsource planning, IT outsourcing, IT development services, offshore IT companies, offshore software development Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering