question

robin avatar image
robin asked

KF HD7 - Html5 Silk doesn't render objects while WebKit web-app tester does

While testing a simple canvas object demo, discovered the Silk browser doesn't render portions of the dynamically create div, and therefore never binds the event handler either. May be related to post by unverbraucht 'Semi-transparent bar on left side in landscape' https://forums.developer.amazon.com/forums/thread.jspa?messageID=5229ᑭ The web-app tester does render, along with Opera mini on KF HD7 Also tested in desktop versions, FF, IE, Ch and Op Have online demo to support this anomaly. Validated Html5 using W3.org validator Validated javascript with javascriptlint Validated jQuery with Google closure compiler Latest ver 7.4.6_user_4620220 Silk ver 1.0.135.187-Gen5_38038010 Opera Mini ver 12.10.ADR-1391980958 Robin
iap
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Robin, Thank you for posting. Can you provide more detail about the simple canvas object demo? Is it publicly available for us to try it out? If not, can you provide a complete sample which demonstrates the issue? Thanks
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Robin, Thank you for the live demo. I agree that the demo does not work in Silk browser on KF HD (2nd gen). But it works in Silk in all our 3rd gen devices. And as you said it also works with Amazon web app environment. Are you targeting your web app for Silk browsers in all Kindles? Since this demo does not have any issue with Amazon Web App environment, you should be able to distribute your app through Amazon App Store as an Web app.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

robin avatar image
robin answered
Sujoy, Thank you for the anomaly confirmation and also for testing on the 3rd gen devices. I have a nice grade school educational app that works well on laptop computers. The Html5 event touch-drag-drop within a browser window is a key requirement. As there are an estimated 5M Kindle Fire HD 2nd gen [1] devices in use, with the introduction of the HDX line and the 3rd gen KF HD device line for the 2013 holiday season, now is the perfect time to migrate to the Kindle product line, as the older (KF HD7 2nd gen) perceived now obsolete model will be handed down to the younger siblings as the existing users may upgrade to the more current and OS powerful 3rd gen devices. The end user is familiar and comfortable with the look and feel of web browsing. They know how tabs work, how to save and access favorites, access help, easily grab the chronological history or most visited panel, along with viewing what is trending now, without having to leave the browser interface. It makes no sense for my envisioned Kindle app version to replicate or even duplicate what is already functional within the Silk browser on the Kindle itself. The end use will only blame my app when it isn't what they are used to working (ref: web page navigation) with. Their perception will be that it should be a navigation browsing style app, thus placing the blame on the app and not the implementation limitation. I'm considering your suggestion to have portions of the app run in the .apk instance and hyperlink out to the web via the Silk browser to reveal the others. But to do so would impose a significant re-write. This may however, allow me to capture a large portion of what might be otherwise a lost revenue stream on the older model. Thank you for the feedback detail on the 3rd gen devices. Robin [1] http://bgr.com/tag/kindle/
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Robin, Thank you for nice write up. I understand your point. Amazon's web app runtime is built on the open-source Chromium project. It is GPU-accelerated and optimized for fluid performance on Kindle Fire. The runtime supports the latest HTML5 features and includes standards-based extensions that give you access to offline storage and location sensors. With the web app runtime, your web apps can achieve fluidity and speed approaching that of native apps. Moreover, there are other benefits. 1. You can monetize you app through paid version or using IAP 2. You can reach out to Amazon App users for your app. 3. You can promote your app through us.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.