{"id":3553,"url":"https://github.com/alhazmy13/Catcho","last_synced_at":"2025-08-03T20:32:36.101Z","repository":{"id":88125074,"uuid":"56382379","full_name":"alhazmy13/Catcho","owner":"alhazmy13","description":"No Force close messages anymore!","archived":false,"fork":false,"pushed_at":"2017-04-30T11:58:42.000Z","size":656,"stargazers_count":35,"open_issues_count":1,"forks_count":10,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-16T14:34:44.474Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://alhazmy13.net","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/alhazmy13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-04-16T12:26:34.000Z","updated_at":"2023-09-08T17:09:17.000Z","dependencies_parsed_at":"2023-05-18T09:45:58.618Z","dependency_job_id":null,"html_url":"https://github.com/alhazmy13/Catcho","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhazmy13%2FCatcho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhazmy13%2FCatcho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhazmy13%2FCatcho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhazmy13%2FCatcho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alhazmy13","download_url":"https://codeload.github.com/alhazmy13/Catcho/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228567009,"owners_count":17937983,"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-01-05T20:16:44.769Z","updated_at":"2024-12-07T05:30:37.628Z","avatar_url":"https://github.com/alhazmy13.png","language":"Java","funding_links":[],"categories":["Crash Monitoring","Libraries"],"sub_categories":["Crash monitoring"],"readme":"# Catcho\n\n![](https://img.shields.io/badge/Platform-Android-brightgreen.svg)\n![](https://img.shields.io/crates/l/rustc-serialize.svg)\n![](https://img.shields.io/badge/version-1.1.0-blue.svg)\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://cloud.githubusercontent.com/assets/4659608/14591472/b33d5f8a-051a-11e6-9601-807371433097.png\" width=\"500\"\u003e\u003c/p\u003e\n\nAll android developer must have faced force close issue while developing an application.\nHere is a library to catch that errors and treat it elegantly.\n\nCatcho will create an error page kind of mechanism in your android application. So whenever your application is crashed user will not able to see that irritating pop up dialog. Instead of that app will display a predefined view to the user.\n\nYou can report any issue on issues page. \n**Note: If you speak Arabic, you can submit issues with Arabic language and I will check them. :)**\n\n## Installation\n\n**Maven**\n\n```xml\n\u003cdependency\u003e\n\u003cgroupId\u003enet.alhazmy13.catcho\u003c/groupId\u003e\n\u003cartifactId\u003elibrary\u003c/artifactId\u003e\n\u003cversion\u003e1.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n**Gradle**\n\n```gradle\ndependencies {\n\tcompile 'net.alhazmy13.catcho:library:1.1.0'\n}\n```\n\n## ScreenShots\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/4659608/14599362/9b5b58d2-055f-11e6-9e9f-441069877977.gif\"\u003e\u003c/img\u003e\u003c/p\u003e\n\n## Usage\n--\nThough it is very simple. Copy following line of code in your each (Activity or BaseActivity) class, just after the call of super method in your overriden onCreate method.\n\n```java\n       Catcho.Builder(this)\n       .recipients(\"your-email@domain.com\")\n       .build();\n\n```\n\nYour Activity may look something like this…\n\n```java\npublic class AnyActivity extends Activity {\n    /** Called when the activity is first created. */\n    @Override\n    public void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n\n       Catcho.Builder(this)\n       .recipients(\"your-email@domain.com\")\n       .build());\n\n        setContentView(R.layout.main);\n\n        // Your mechanism is ready now.. In this activity from anywhere \n        // if you get force close error it will be redirected to the Catcho.\n    }\n}\n```\n\n## Custom Activity\n\nIf you want to change the default activity, then just pass the refrance of your activity to catcho and from your activity you can get `CatchoError` serializable object.\n\n```java\n Catcho.Builder(this)\n       .activity(ACTIVITY.class)\n       .build();\n```\n\n```java\npublic class CustomActivity extends AppCompatActivity {\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_custom);\n        CatchoError error = (CatchoError) getIntent().getSerializableExtra(Catcho.ERROR);\n\n    }\n}\n```\n\n### Comming Soon\n--\n\n`SMTP Service` \u0026 `Gmail SMTP Service`\n\n### Theme and Resource\n--\nYou can theme the activity by overwriting the color resources as well as you can translate it to any language \n\n```xml\n    \u003ccolor name=\"catcho_primary\"\u003e#FF9800\u003c/color\u003e\n    \u003ccolor name=\"catcho_primary_dark\"\u003e#F57C00\u003c/color\u003e\n    \u003ccolor name=\"catcho_text_light\"\u003e#FFFFFF\u003c/color\u003e\n    \u003ccolor name=\"catcho_accent\"\u003e#607D8B\u003c/color\u003e\n    \u003ccolor name=\"catcho_text\"\u003e#212121\u003c/color\u003e\n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falhazmy13%2FCatcho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falhazmy13%2FCatcho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falhazmy13%2FCatcho/lists"}