Apologize for the long question! I am new in SignalR. Please help me to solve my problem. I have SignalR server in web, I am getting data from .net client site but unable to get data from my Android client side. When my debugger arrived to "hub.invoke" is just stop. I have tired a lot with different codes but un-success.
If I unable to do above then I want to do that in my local server at my home. I have two laptops, one is running Win7 another Win8. I want to keep a signalR server in one of them and access from another. How can I do that? what kind of SignalR server API I will write? If you guys please help me step my step?
bellow is my tied code
String android_id = Settings.Secure.getString(arg0.getContext().getContentResolver(), Settings.Secure.ANDROID_ID);
HubConnection con = new HubConnection(Uri.parse("http://10.198.40.32:8090/login/").toString());
HubProxy hub = con.createHubProxy("NotificationHub");
con.start();
try {
hub.invoke( "userID", "password", android_id).get();
} catch (InterruptedException e) {
// Handle ...
System.out.print(e);
} catch (ExecutionException e) {
// Handle ...
System.out.print(e);
}