{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/a33b2c4061260f4697528c7ec1805c52?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a33b2c4061260f4697528c7ec1805c52","url":"https://api.github.com/users/wolberd","login":"wolberd","id":1023995},"milestone":null,"labels":[{"name":"SWE","color":"02e10c","url":"https://api.github.com/repos/derrell/App-Inventor-Gallery/labels/SWE"}],"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/8d4bd01082763ae71baabdc073a99eca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"8d4bd01082763ae71baabdc073a99eca","url":"https://api.github.com/users/efernand","login":"efernand","id":1063708},"updated_at":"2011-11-13T20:14:35Z","comments":8,"closed_at":null,"url":"https://api.github.com/repos/derrell/App-Inventor-Gallery/issues/78","body":"When browsing apps in the gallery, on the web, we want folks to be able to easily download/install an app to their device. So each app page should show a qr code that can be scanned.\r\nlabel: enhancement","html_url":"https://github.com/derrell/App-Inventor-Gallery/issues/78","title":"QR code for each app in web galler","number":78,"id":1591841,"created_at":"2011-09-07T18:07:02Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/8d4bd01082763ae71baabdc073a99eca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"8d4bd01082763ae71baabdc073a99eca","url":"https://api.github.com/users/efernand","login":"efernand","id":1063708},"updated_at":"2011-11-13T20:14:35Z","url":"https://api.github.com/repos/derrell/App-Inventor-Gallery/issues/comments/2724104","body":"Yes, that is exactly what I was searching for thank you. I now have the qr code working for the title of the app. I am generating the qr code of the app's title because I do not see an entry for the url of the download link in ObjAppData.js . I think it is not implemented yet. Is the url string somewhere else and if not what should I encode in the meantime?\r\n\r\n--Edwin\r\n\r\n________________________________________\r\nFrom: Derrell Lipman [reply@reply.github.com]\r\nSent: Saturday, November 12, 2011 8:20 PM\r\nTo: Fernandez, Edwin A\r\nSubject: Re: [App-Inventor-Gallery] QR code for each app in web galler (#78)\r\n\r\nFor some context to what I'm going to say, take a look at the top of qx/ui/core/Widget.js, at the documentation that begins, \"This is the base class for all widgets.\". That section discusses the \"content element\".\r\n\r\nFrom looking at the source code of qx.ui.embed.Canvas, it creates as its content element, a qx.html.Canvas, and that class creates the actual \"canvas\" element in the DOM. That \"canvas\" element is retrievable by calling the getCanvas() method of qx.html.Canvas. It therefore looks like you can get the actual DOM canvas element that JSQR wants, from the qrCode variable (which was an instantiation of qx.ui.embed.Canvas) by this incantation:\r\n\r\nvar domCanvas = qrCode.getContentElement().getCanvas();\r\n\r\nDoes that help?\r\n\r\nDerrell\r\n\r\n---\r\nReply to this email directly or view it on GitHub:\r\nhttps://github.com/derrell/App-Inventor-Gallery/issues/78#issuecomment-2720350","id":2724104,"created_at":"2011-11-13T20:14:35Z"}}