PrimeFaces : Supporting which Web Browser & which OS platform - primefaces

I am very new in using Primefaces. I & our team planning to write Web Application that need to be running on Web Browser on both Windows OS and Mac OS . Here are my questions that need help for the answers :
(1) Can we develop Web Application be able to run on Web Browser on both Windows OS and Mac OS ?
(2) What are Web Browsers on Windows OS that Primefaces support ? Which ones are the most compatible ?
(3) What are Web Browsers on Mac OS that Primefaces support ? Which ones are the most compatible ?
Thank you very much in advance.
Best Regards
Pearapon
Bangkok, Thailand

I would suggest the following: create a test primefaces application which contains all component that your application will use (even better if you test also nesting the components) with a mocked backend. Then test your test ui in all desired browsers on desired platforms but on differents OS it shouldn't be different. I only work with windows but I test the application on Chrome, Firefox, IE, Safari and Opera. The only significant problems I faced was with CSS. E. g. a component does not use the full width etc.

Related

Google map integration problem: you seem to be using an unsupported browser

When we want to integrate Google map in windows application by using C# it gives the following errors when we run the application
error : you seem to be using an unsupported browser
Based from this forum, it seems that there is/are one or more addons or extension which is not allowing map to load. You can try to check one by one. Maybe it updated and broke maps.
You can also check this SO question which states that maybe the WebBrowser control is emulating an older version of Internet Explorer on your machine.
By default, this feature is enabled for Windows Internet Explorer and for applications hosting the WebBrowser Control. To disable this feature by using the registry, add the name of your executable file to the following setting.
Hope this helps!
You can consider a different web browser embedded control. For example, you can look at Chromium Embedded Framework.
https://en.wikipedia.org/wiki/Chromium_Embedded_Framework
I believe it should work pretty well. According to the documentation this framework embeds a Chromium browser (open-source web browser closely related to the Google Chrome browser) which uses the modern HTML5 and V8 JavaScript engine.

Deploying Games to firefox OS

Im actually facing a problem on submitting an app to Firefox OS marketplace.Recently i developed an HTML5 game using construct 2 and tested it on the Simulator using App manager, and submitted the app on the firefos marketplace.It passed all validation checks, however the reviewer said game stops loading on Firefox OS 1.1,so i was rejected!
Now i have then tested it on Simulator for 1.1, and the game stops loading.
So the problem is with OS 1.1 , other than that the game works fine, esp with OS 2.0
Now , can i submit the game only for versions above 1.1??
I dont want the app to run on 1.1, i just want to submit it for versions higher versions.
Is it possible?? any help??
Thanks in advance
Actually mostly reviewers will be using Firefox OS 1.1 to test the application because it is widely used.
If you have written the working app you can mention the simulator in which you have tested or can tell the device OS version you have used. So other reviewers will know and wont reject the app.
PS:- Try to use the target development environment as Firefox 2.0 in mid of 2015 and as of now Firefox 1.3 and above as many people have 1.1 and above.
Some apps state in their descriptions the minimum version required for it to work. For example: https://marketplace.firefox.com/app/recorder and https://marketplace.firefox.com/app/copy-paste-keyboard.

Firefox OS App Automation

I've been searching about Firefox OS/Firefox for Mobile App Automation.
Though there's Marionette we can try on: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette
I can't seem to find a Selenium library to use in testing Firefox OS Apps. Is there any other way we can test web apps on Firefox for Android/Firefox OS?
Firefox OS app testing framework is what is used in general for automated testing on the platform. I will point this out to start with, Marionette is selenium but a customized version optimized for use within Mozilla's Gecko instances.
https://developer.mozilla.org/en-US/docs/Archive/Firefox_OS/Automated_testing/gaia-ui-tests/Part_2_Marionette_Firefox_OS_interactions
this page will show you how to run interactions inside of firefox os and the guide part3 will show you how to build automated test scripts.
Marionette currently will only work for Firefox os <=2.5 currently as marionette is not working on >2.5.

Multi mobile OS simulator

I am trying to find Simulators for multiple mobile Operating Systems, but i am always getting Emulators instead.
What i need basically is maybe a Web Version of different mobile OS, not to run or test applications, just to navigate through their menu and settings (go at settings, change settings, setup email etc.)
The purpose for this is to guide through users on how to change their settings on their phones, without the need of the actual device or having multiple emulators.
UPDATE
After a lot of search around i managed to find an Android web simulator that suits my needs at Manymo.
It has versions : 4.2 , 4.1 , 4.0.3 , 2.3 , 2.2 , 2.1
Still in search for something similar for iOS, Windows Phone and Blackberry.
You could easily set up such emulators with a bit of CSS and jQuery (for the animations when changing screens).
From time to time I run into such "simulators" on cell-provider companies' websites. But they are very limited to a teaching a few functions, and are accompanied by text on the side.
You might want to hire a web developer, give him 3-4 days and then you have a nice simulator for the 3 popular OSes.
Just beware that having an Android simulator may not be enough; The OS changes with the devices, as manufacturers do whatever they want with the OS and compile for their specific device.
Have you considered creating a free account on http://deviceanywhere.com?
There are some 'fun' apps built for Windows Phone to emulate other phones
iFun - iPhone simulator
Fundroid - Android simulator
B7B - BlackBerry simulator
I haven't tried them out myself so I can't say how well they simulate phone settings, but is this kind of what you're looking for?
Something like http://www.mobilephoneemulator.com/ then perhaps. Or do you want it for apps rather than web pages? Then I don't think it's possible.
There are packages like jQuery Mobile that is designed to generate web apps that look like native mobile apps.

complete client side application using HTML 5

Is it possible to create a complete client side application using HTML 5 (it will embed chat clients, stock ticker) + JavaScript, and then bundle is with underlining Firefox 3.5 engine, so that user can install it as a desktop app on Linux, and then it runs in its own window using firefox 3.5 engine. The app will store everything in local storage - like url, usernames etc, and will not interact with any local server.
It would pure HTML5 + JavaScript based client web app which would be packaged, and can be installed or launched from startup scripts.
Or instead of using firefox 3.5 engine, we can use Mozilla Prism to convert it to web app, and then bundle it.
Well, you should take a look at xulrunner (https://developer.mozilla.org/En/XULRunner). This is an engine to build portable applications... like firefox. You are getting full Gecko engine + full access to the environment, like a plain application. (XUL is something similar to HTML -- it is still XML-based UI description -- but it is better suited to develop desktop applications -- using native/almost native UI).
It sounds like what you're trying to do can be done with Adobe AIR (though there is no HTML5 support yet). Adobe AIR apps can be written with just HTML and JavaScript, though AIR uses the WebKit engine, not FireFox's.
The app part is surely doable (and will work just about everywhere, not just Linux), the bundling appears to be the more problematic part -- not every distro of Linux will like the specific way you built the bundled Firefox, not to mention that you're cutting yourself off from just about any non-Linux box on the planet (and every linux box with a non-x86 compatible processor, etc, etc)... all for the sake of that bundling. Can't you stop at the prism aka webrunner part, without bundling?
I'm almost sure I've seen something like this done with Qt Webkit. It was only a few lines of C++ to create the window with the web browser control and load a local page. The page created the UI of the application. I can't find the link though.
I second what liori said about using XULRunner. You can deploy your HTML application easily, and, more importantly, when you run into limitations of HTML 5 or its level of support in Gecko, you can work around it by using XUL APIs.
(AFAIK, Firefox 3.5 doesn't support any socket APIs in HTML content, and it doesn't support offline storage in web apps, only the localStorage part).