{"id":32513066,"url":"https://github.com/stav/kindle-concept-demo","last_synced_at":"2025-10-27T22:49:53.083Z","repository":{"id":140485713,"uuid":"2595794","full_name":"stav/kindle-concept-demo","owner":"stav","description":"Markus Schmidt's demo of a few concepts on how to build a robust Kindlet.","archived":false,"fork":false,"pushed_at":"2011-10-18T00:27:34.000Z","size":1608,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-09T11:51:50.310Z","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/stav.png","metadata":{"files":{"readme":"Readme.txt","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":"2011-10-18T00:02:38.000Z","updated_at":"2023-11-07T12:34:36.000Z","dependencies_parsed_at":"2023-03-21T13:07:41.304Z","dependency_job_id":null,"html_url":"https://github.com/stav/kindle-concept-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stav/kindle-concept-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stav%2Fkindle-concept-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stav%2Fkindle-concept-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stav%2Fkindle-concept-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stav%2Fkindle-concept-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stav","download_url":"https://codeload.github.com/stav/kindle-concept-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stav%2Fkindle-concept-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281355347,"owners_count":26486896,"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","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-27T22:49:45.304Z","updated_at":"2025-10-27T22:49:53.077Z","avatar_url":"https://github.com/stav.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n//\r\n//  Source code (C) Copyright 2010 Markus Schmidt (m.schmidt@emtec.com)\r\n//  Published under MIT License (http://en.wikipedia.org/wiki/MIT_License)  \r\n//  Amazon gift cards welcome.\r\n//\r\n//\r\n//  This demo illustrates a few concepts to build a robust Kindlet\r\n//  - handling life cycle correctly (actually this is rather difficult)\r\n//  - logging\r\n//  - aiding garbage collection when destroying \r\n//  - handling screen sizing to adjust to different kindle models and device orientation\r\n//  - catching five-way controller events and general keyboard handling \r\n//  - understanding screen redraws\r\n//  - painting a game board either with child components or via direct paint()\r\n//  - loading prescaled images to improve drawing speed \r\n//\r\n\r\nThe stuff in this archive is a Kindlet sample application which demonstrates some \r\nessential concepts of writing a robust Kindlet application.\r\n\r\nIt the functionality itself is rather limited, the focus is on showing solutions \r\nto some common Kindle programming problems.  These have been used in our own \r\napplications and they are the result of publishing four Kindle apps.  \r\n\r\n\r\nI strongly recommend to print the two java files and read them top to bottom like a\r\nbook, focusing on the comments.  Also run the applet in the simulator and watch the \r\nconsole output (use the consoles stop/start buttons to simulate a screensaver event too).\r\n\r\nGood luck\r\n\r\n\r\nMarkus Schmidt\r\n(m.schmidt@emtec.com) \r\n\r\n-------------------------------------------------------------------------------------------\r\n\r\nBuild instructions:\r\n \r\n  Check the build.xml file for correct paths.\r\n  - dir.kdk should point to your KDKv1 folder.\r\n  - the dev libs (Kindlet-1.0.jar, json_simple-1.1.jar, log4j-1.2.15.jar, xml-apis.jar) \r\n    should in the \u003cdir.kdk\u003e/lib folder.\r\n  - if you are building a device version, have the developer key in the \u003cdir.kdk\u003e/keys folder\r\n  - for a simulator compile, go to the folder with build.xml and type: ant build-unsigned-active-content \r\n  - for a simulator run, go to the folder with build.xml and type: ant run\r\n  - for a device build, go to the folder with build.xml and type: ant device\r\n\t  \r\n-------------------------------------------------------------------------------------------\r\n\r\nVersions:\r\n\r\n 2011-07-20 v0.80 - first release\r\n \r\n 2011-07-20 v0.81 - some typos fixed.  \r\n                  - added waitForImage() to GameBoard class. \r\n \r\n -------------------------------------------------------------------------------------------\r\n  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstav%2Fkindle-concept-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstav%2Fkindle-concept-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstav%2Fkindle-concept-demo/lists"}