{"id":21101378,"url":"https://github.com/structr/structr-android-client","last_synced_at":"2025-05-16T18:34:28.600Z","repository":{"id":2758530,"uuid":"3756453","full_name":"structr/structr-android-client","owner":"structr","description":"Android client which connects to the Structr REST server","archived":false,"fork":false,"pushed_at":"2017-05-23T07:48:45.000Z","size":39,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-03-26T01:15:44.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/structr.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}},"created_at":"2012-03-18T17:03:47.000Z","updated_at":"2024-03-26T01:15:44.661Z","dependencies_parsed_at":"2022-09-08T05:51:17.272Z","dependency_job_id":null,"html_url":"https://github.com/structr/structr-android-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/structr%2Fstructr-android-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/structr%2Fstructr-android-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/structr%2Fstructr-android-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/structr%2Fstructr-android-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/structr","download_url":"https://codeload.github.com/structr/structr-android-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225444750,"owners_count":17475353,"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":[],"created_at":"2024-11-19T23:45:57.850Z","updated_at":"2024-11-19T23:45:58.438Z","avatar_url":"https://github.com/structr.png","language":"Java","readme":"structr Android Client\n======================\n\nThe classes in this repository enable your Android App to connect to a REST web service built with structr. You can use structr-core and structr-rest to build a domain-specific REST API. structr is backed by the Neo4j graph database.\n\n## Features\n- Asynchronous connectors to keep the user interface responsive while loading data in the background\n- SSL support\n- Fully automatic serialization and deserialization with GSON\n- Use POJOs in your android code\n- Use @Expose annotation to map POJO fields to structr REST output\n- ...\n\nPlease note that this software is early alpha status. Use carefully at your own risk.\n\n## Step 1: Build structr-android-client\n- Clone this repository\n- mvn package\n- mvn generate-sources javadoc:javadoc\n\n## Step 2: Integrate structr-android-client in your Android app\n- Copy target/structr-android-client-0.1-SNAPSHOT from step 1 into the libs/ directory of your android app\n- Call StructrConnector.initialize() in the onCreate() method of your main activity\n\n## Step 3: Map your structr entities to POJOs\n    public class MyEntitiy extends StructrObject {\n        @Expose private String id;\n        @Expose private String name;\n        @Expose private Date timestamp;\n        @Expose private String location;\n    }\n\n## Step 4: Use one of the various connectors to access the REST server\n    new IdEntityLoader(new EntityHandler() {\n    \n        public void handleProgress(Progress... progress) {\n            // handle progress / exception\n        }\n        \n        public void handleResults(StructrObject result) {\n            // handle result\n        }\n        \n    }).execute(MyEntity.class, id\");\n\n## Tips\n- Use a common base class for all your entities that contains the ID property; that way you don't have to expose the ID field in each of your entities.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstructr%2Fstructr-android-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstructr%2Fstructr-android-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstructr%2Fstructr-android-client/lists"}