Chat app

ma12rkyma12rky Member ✭✭✭
Hi xamarin forum, Is there any working chat app for xamarin forms, I have tried chat using signalr and I got this unexpected http error as per debug shows I enabled internet in Android proj, monkeyChat in xamarin sample is not working on current version of vs

Best Answer

Answers

  • batmacibatmaci DEMember ✭✭✭✭✭

    you asked this question already a few times if i remember correctly!
    are you an individual developer trying to create a chat app? what is your experience with xamarin? what specific question do you ask?
    nobody has time to give you a sample chat app. for any reason, those samples should be either outdated or most probably you couldnt make the connection running if you dont have enough experience with xamarin.
    Instead of asking such generic question, you should try something and ask what you exactly didnt understand or crashing for you, not working for you. so you can go step by step.

  • ma12rkyma12rky Member ✭✭✭
    @batmaci hmm probably im having problems connecting to my local server using those sample specially when I try to re create that chat using signalr as per my reading I just change that http: xamarin azureserver to my http: localhost:port and then thats it I encounter that http error. I even try to contact the creator of that app hoping for answer, I even try to match it up of what I can found on Google that has an error similar to me but still no luck
  • AlbertKAlbertK MYMember ✭✭✭

    You cannot use the localhost from your device instead you have to configure the chat server to accept connection via IP of the server/your pc. Then on the xamarin app you need to point to that IP.

  • ma12rkyma12rky Member ✭✭✭
    @AlbertK actually I use http://192.168.1.4: 8086 something like that but still got that errors
  • AlbertKAlbertK MYMember ✭✭✭

    What is the errors that you are getting? Can we have some reference to the code?

  • ma12rkyma12rky Member ✭✭✭
    @AlbertK as I have said earlier it is saying unexpected http error which I searched google it says I just have to tick Internet in my android proj which I did but still encountering that http error if you need a copy of my proj i'll pm it to you right now im not on my computer
  • AlbertKAlbertK MYMember ✭✭✭

    One simple way to troubleshoot is to open up the web browser on your mobile device and try open the page http://192.168.1.4:8086 if after sometime nothing happens or error then you know that your mobile device cannot reach your chat server.

  • ma12rkyma12rky Member ✭✭✭
    @RHudson thanks for the solution :)
Sign In or Register to comment.