Find Jobs
Hire Freelancers

Android > Web Socket > How to check socket connection state?

$10-30 USD

Completed
Posted over 8 years ago

$10-30 USD

Paid on delivery
I'm stuck with a small issue and need help - $20 Workflow of my application is like this: Check row count in SQLite database - If row count = 0, then check if WebSocket = open if yes, close socket connection if no, do nothing else check if WebSocket = open if yes, do nothing if no, open socket connection I'm struggling with finding Socket's current state -- check if WebSocket = open I'm using the following library: [login to view URL] Any suggestion on how to solve this is appreciated. Thanks!
Project ID: 8160623

About the project

3 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi you can use the socket properties and get your checks done. And also it's given in the api you are using let me know I will code it for you.
$25 USD in 1 day
5.0 (3 reviews)
2.9
2.9
3 freelancers are bidding on average $23 USD for this job
User Avatar
onConnect(); Just save state on function : onConnect() in your class Listener , this is function call when socket connected, and when socket disconnect you can save state at function : disconnect() . :) Hope you can solve that problem.
$20 USD in 1 day
5.0 (7 reviews)
2.6
2.6
User Avatar
interested to help you, pm me to talk more .
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Bangalore, India
5.0
27
Payment method verified
Member since Nov 10, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.