{"id":46713992,"url":"https://github.com/hsmnzaydn/easy-csv","last_synced_at":"2026-03-09T10:01:22.011Z","repository":{"id":96505170,"uuid":"158442606","full_name":"hsmnzaydn/easy-csv","owner":"hsmnzaydn","description":"Creates csv file for android","archived":false,"fork":false,"pushed_at":"2025-11-30T12:54:17.000Z","size":375,"stargazers_count":44,"open_issues_count":2,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-02T16:56:54.129Z","etag":null,"topics":["android","csv","csvcreator","easy-to-use"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hsmnzaydn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-11-20T19:44:26.000Z","updated_at":"2025-11-30T12:27:01.000Z","dependencies_parsed_at":"2023-05-30T01:35:20.110Z","dependency_job_id":null,"html_url":"https://github.com/hsmnzaydn/easy-csv","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/hsmnzaydn/easy-csv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsmnzaydn%2Feasy-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsmnzaydn%2Feasy-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsmnzaydn%2Feasy-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsmnzaydn%2Feasy-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hsmnzaydn","download_url":"https://codeload.github.com/hsmnzaydn/easy-csv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsmnzaydn%2Feasy-csv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30290894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","csv","csvcreator","easy-to-use"],"created_at":"2026-03-09T10:01:21.320Z","updated_at":"2026-03-09T10:01:21.996Z","avatar_url":"https://github.com/hsmnzaydn.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n#  easy-csv\n\nCreates csv file for android\n\n\n\u003cimg src=\"./img/ss.png\"  width=\"200\" height=\"400\" /\u003e\n\n##  Download\n\n**Add it in your root build.gradle at the end of repositories:**\n\n\u003cpre\u003e\n\nallprojects {\n\nrepositories {\n...\n    maven { url 'https://jitpack.io' }\n    }\n}\n\n\u003c/pre\u003e\n\n  \n\n**Add the dependency**\n\n\u003cpre\u003e\n\ndependencies {\nimplementation 'com.github.hsmnzaydn:easy-csv:1.0.0'\n}\n\n\u003c/pre\u003e\n\n  \n\n##  Use Steps\n\n**Step 1: Create EasyCsv Object**\n\n``` java\n\nEasyCsv easyCsv = new EasyCsv(MainActivity.this);\n\n```\n* to output the file in diffrent charset create EasyCsv object with below constructer\n``` java\n\nEasyCsv easyCsv = new EasyCsv(MainActivity.this, StandardCharsets.YOUR_CHOOISE);\n\n```\n\n\n\n**Step 2: Create your headerlist and datalist**\n\n``` java\nList\u003cString\u003e headerList = new ArrayList\u003c\u003e();\nheaderList.add(\"Name.Surname.Age-\");\n\nList\u003cString\u003e dataList = new ArrayList\u003c\u003e();\ndataList.add(\"Serkan.Ozaydin.23-\");\n\n```\n\n**Step 3: Select separators for column and line**\n\n``` java\neasyCsv.setSeparatorColumn(\".\");\neasyCsv.setSeperatorLine(\"-\");\n```\n\n**Step 4: Create CSV file**\n\n``` java\n\n/**\n* @param fileName Name of the file to be created\n* @param WRITE_PERMISSON_REQUEST_CODE EasyCsv request runtime permission for Write permission to user. When user \"Accept\" or \"Decline\" for you can handler\n*/\neasyCsv.createCsvFile(fileName, headerList, dataList, WRITE_PERMISSON_REQUEST_CODE, new FileCallback() {\n@Override\npublic void onSuccess(File file) {\n}\n\n@Override\npublic void onFail(String err) {\n}\n});\n\n```\n\n**Step 5 (Optional): Save to a custom path (e.g., Downloads folder)**\n\n``` java\n\n// Get the Downloads folder path\nString downloadPath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath();\n\n/**\n* @param filePath Custom path where the file will be saved\n* @param fileName Name of the file to be created\n* @param WRITE_PERMISSON_REQUEST_CODE EasyCsv request runtime permission for Write permission to user. When user \"Accept\" or \"Decline\" for you can handler\n*/\neasyCsv.createCsvFile(downloadPath, fileName, headerList, dataList, WRITE_PERMISSON_REQUEST_CODE, new FileCallback() {\n@Override\npublic void onSuccess(File file) {\n}\n\n@Override\npublic void onFail(String err) {\n}\n});\n\n```\n# Changelog\n* 3/5/2020\n— you can output the file with chosen Charset like UTF-8 and UTF-16 etc ...\n\n# License\n\u003cpre\u003e\nCopyright 2018 Huseyin Serkan Ozaydin\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsmnzaydn%2Feasy-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhsmnzaydn%2Feasy-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsmnzaydn%2Feasy-csv/lists"}