android - Not able to bind service in activity -


i binding service sherlockfragment , binding service in connection not establishing.

private serviceconnection connection = new serviceconnection() {            @override     public void onserviceconnected(componentname arg0, ibinder arg1) {         service = isipservice.stub.asinterface(arg1);         system.out.println("inside connection"+service);     }      @override     public void onservicedisconnected(componentname arg0) {         service = null;     } }; 

control never go inside onserviceconnected()

any help/suggestion appreciated.


Comments

Popular posts from this blog

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -

javascript - three.js lot of meshes optimization -