{"id":23553044,"url":"https://github.com/rhildred/hellophonegap","last_synced_at":"2025-06-17T11:38:21.225Z","repository":{"id":146397172,"uuid":"49279515","full_name":"rhildred/hellophonegap","owner":"rhildred","description":"phonegap hello world","archived":false,"fork":false,"pushed_at":"2018-01-23T18:38:43.000Z","size":2913,"stargazers_count":0,"open_issues_count":0,"forks_count":41,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-13T14:47:26.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/rhildred.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":"2016-01-08T15:26:29.000Z","updated_at":"2016-02-26T03:27:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ea8caa3-f10c-48bb-8e7e-6ce3a4b8d88e","html_url":"https://github.com/rhildred/hellophonegap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rhildred/hellophonegap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2Fhellophonegap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2Fhellophonegap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2Fhellophonegap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2Fhellophonegap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhildred","download_url":"https://codeload.github.com/rhildred/hellophonegap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2Fhellophonegap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260350337,"owners_count":22995736,"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-12-26T11:13:54.577Z","updated_at":"2025-06-17T11:38:16.214Z","avatar_url":"https://github.com/rhildred.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003ca href=\"https://github.com/rhildred/hellophonegap\" target=\"_blank\"\u003ehellophonegap\u003c/a\u003e\n\nphonegap hello world. The config.xml sets the name and id:\n\n```\n\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\" ?\u003e\n\u003cwidget xmlns=\"http://www.w3.org/ns/widgets\" xmlns:gap=\"http://phonegap.com/ns/1.0\" id=\"io.github.rhildred.hellophonegap\" version=\"0.0.1\"\u003e\n\n    \u003cname\u003ehello phonegap\u003c/name\u003e\n\n    \u003cdescription\u003e\n        most basic of examples, responds to deviceready\n    \u003c/description\u003e\n    \u003ccontent src=\"index.html\" /\u003e\n    \u003cauthor href=\"https://rhildred.github.io\"\u003e\n        Rich Hildred\n    \u003c/author\u003e\n    \u003caccess origin=\"*\" /\u003e\n\u003c/widget\u003e\n\n```\n\nThe html5 phonegap code includes the javascript `cordova.js` file, which will be replaced during the build by a cordova.js that is built on the fly.\n\n```\n\n\u003c!Doctype html\u003e\n\u003chtml\u003e\n    \u003chead\u003e\n        \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n    \u003c/head\u003e\n    \u003cbody\u003e\n        \u003ch1\u003ehello phonegap\u003c/h1\u003e\n        \u003ch2\u003e I can't believe it's this simple. ... \u003c/h2\u003e\n        \u003cdiv id=\"connectionStatus\" style=\"color:blue\"\u003eNot connected to phonegap!\u003c/div\u003e\n        \u003cscript src=\"cordova.js\"\u003e\u003c/script\u003e\n        \u003cscript\u003e\n            var phonegapReady = function(){\n                oStatus = document.getElementById(\"connectionStatus\");\n                oStatus.innerHTML = \"Now connected to phonegap\";\n                oStatus.style.color = \"green\";\n            }\n\n            document.addEventListener(\"deviceready\", phonegapReady, false);\n\n        \u003c/script\u003e\n    \u003c/body\u003e\n\u003c/html\u003e\n\n```\n\nTo test this in a local environment:\n\n1. npm install -g browser-sync if you haven't already\n1. `browser-sync start --server --files \"./*\"`\n\nYou can also get the phonegapready event by installing the ripple beta google chrome plugin.\n\nThis can be loaded up on phonegap build, and turned into a apk that can be put on your phone.\nTo install this on phonegap build:\n\n1) sign up for an adobe account and log in to https://build.phonegap.com\n2) push this on to your own github\n3) create an app on phonegap build\n4) Click the `ready to build` button.\n5) Download the APK on to your local machine.\n6) Install [BlueStacks](https://www.bluestacks.com/download.html) if you haven't already.\n\n![telechargement](https://rhildred.github.io/hellophonegap/readmeimages/BlueStacksCapture.PNG \"telechargement\")\n\n7) Load the apk into BlueStacks\n\n![install apk](https://rhildred.github.io/hellophonegap/readmeimages/installApkCapture.PNG \"install apk\")\n\n8) Click on the app in your home screen\n\n![\"spy in this case\"](https://rhildred.github.io/hellophonegap/readmeimages/HomeScreenCapture.PNG \"spy in this case\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhildred%2Fhellophonegap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhildred%2Fhellophonegap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhildred%2Fhellophonegap/lists"}