{"id":19714942,"url":"https://github.com/youngmonkeys/ezyfox-server-android-client","last_synced_at":"2025-06-16T21:39:03.699Z","repository":{"id":40351207,"uuid":"149601784","full_name":"youngmonkeys/ezyfox-server-android-client","owner":"youngmonkeys","description":"ezyfox-server-android-client","archived":false,"fork":false,"pushed_at":"2023-09-09T08:23:47.000Z","size":469,"stargazers_count":6,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-29T20:39:38.870Z","etag":null,"topics":["android","android-client","kotlin-android","kotlin-library","socket-client","tcp-client"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/youngmonkeys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-20T11:54:11.000Z","updated_at":"2023-08-07T00:02:33.000Z","dependencies_parsed_at":"2024-11-11T22:36:52.101Z","dependency_job_id":"52b045af-6df9-482d-9b25-018af5c54d98","html_url":"https://github.com/youngmonkeys/ezyfox-server-android-client","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/youngmonkeys/ezyfox-server-android-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngmonkeys%2Fezyfox-server-android-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngmonkeys%2Fezyfox-server-android-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngmonkeys%2Fezyfox-server-android-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngmonkeys%2Fezyfox-server-android-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youngmonkeys","download_url":"https://codeload.github.com/youngmonkeys/ezyfox-server-android-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngmonkeys%2Fezyfox-server-android-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260246377,"owners_count":22980384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-client","kotlin-android","kotlin-library","socket-client","tcp-client"],"created_at":"2024-11-11T22:36:43.887Z","updated_at":"2025-06-16T21:39:03.679Z","avatar_url":"https://github.com/youngmonkeys.png","language":"Java","readme":"# ezyfox-server-android-client \u003cimg src=\"https://github.com/youngmonkeys/ezyfox-server/blob/master/logo.png\" width=\"64\" /\u003e\n\nandroid client for ezyfox server\n\n# Synopsis\n\nandroid client for ezyfox server\n\n# Documentation\n\n[https://youngmonkeys.org/ezyfox-android-client-sdk/](https://youngmonkeys.org/ezyfox-android-client-sdk/)\n\n# Code Example\n\n**1. Create a TCP Client**\n\n```kotlin\nval clients = EzyClients.getInstance()\nval client = clients.newClient(config)\n```\n\n**2. Setup the client**\n\n```kotlin\nval setup = client.setup()\nsetup.addEventHandler(EzyEventType.CONNECTION_SUCCESS, ExConnectionSuccessHandler())\nsetup.addEventHandler(EzyEventType.CONNECTION_FAILURE, EzyConnectionFailureHandler())\nsetup.addEventHandler(EzyEventType.DISCONNECTION, ExDisconnectionHandler())\nsetup.addDataHandler(EzyCommand.HANDSHAKE, ExHandshakeHandler())\nsetup.addDataHandler(EzyCommand.LOGIN, ExLoginSuccessHandler())\n```\n\n**3. Setup an application**\n\n```kotlin\nval appSetup = setup.setupApp(APP_NAME)\nappSetup.addDataHandler(Commands.SUGGEST_CONTACTS, SuggestContactsResponseHandler())\nappSetup.addDataHandler(Commands.SEARCH_CONTACTS, SearchContactsResponseHandler())\nappSetup.addDataHandler(Commands.ADD_CONTACTS, AddContactsResponseHandler())\n```\n\n# Used By\n\n1. [freechat](https://youngmonkeys.org/asset/freechat/)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungmonkeys%2Fezyfox-server-android-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoungmonkeys%2Fezyfox-server-android-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungmonkeys%2Fezyfox-server-android-client/lists"}