Closed ChiragRajpal closed 10 years ago
Can you describe the problems you are having further on earlier versions of Android? We have yet to do a lot of testing on devices prior to Kitkat.
Maybe it is not famo.us fault. It's because only Kitkat uses chrome as a default webview component. Previous versions uses android browser in a backend. Writing app for android browser is similar to writing web-app for ie6. Respect to famo.us team for overcoming great number of its limitation.
Does that mean that we cannot write apps for android < 4.4. No. In most cases cordova+android browser+famo.us would run fine. Additionally, for androids 4.0+ you can embed chromeview into an app and use it for html rendering. However it means that your app would be heavier and it is not easy either.
crosswalk-project.org is one of them. It uses blink as rendering engine (api is the same as for chrome). Not tested with famo.us . +20 megabytes...
ludei.com gives you so called webview+ that is just chromeview packed with an app instead of android browser. Unfortunately engine code is closed. Nevertheless famo.us works great, process is easy.
Here are webview replacements (not cordova, not tested yet) you need to set up java project by your own. https://github.com/pwnall/chromeview https://github.com/mogoweb/chromium_webview
And finally something interesting (promise to test it soon) https://github.com/thedracle/cordova-android-chromeview
Hope that someone would fill my knowledge gaps.
great resources: http://www.sys-con.com/node/3051742 http://www.mobilexweb.com/blog/android-4-4-kitkat-browser-chrome-webview https://developer.chrome.com/multidevice/webview/overview
jsHybugger is a great debugging tool for android browser. Probably the cause of your problems is window.requestAnimationFrame missing. Here is the solution: https://gist.github.com/paulirish/1579671
I believe that @zackbrown can close this issue unless you provide any new details
Sounds good @dziwoki, and you gave a really good rundown of the wrapper landscape. (also thanks for the requestAnimationFrame solution.) One update on what you said: Famo.us has been working with Intel Crosswalk internally and they've had a lot of success with it, so that should be a viable Android solution.
Hi
Concerning the solution of window.requestAnimationFrame, do we need to only include the shim javascript file in index.html or there is additional piece of code to be written?
Thanks,
Hello folks, i have tried a demo app using famous/angular and made up an hybrid phonegap app, It works fine with latest android version (i.e, Kitkat), but not with earlier versions, I was unable to find any bug, please any suggestions or solutions will help me a lot.