Foren
Using the Device API in liferay 6.2 GA2
Muhammed Shafeek V, geändert vor 8 Jahren.
Using the Device API in liferay 6.2 GA2
Regular Member Beiträge: 140 Beitrittsdatum: 22.07.13 Neueste Beiträge
Hi,
I know Liferay 6.1 includes a new API for detecting the capabilities of the device which is making a request to your portal.
For example, in order to obtain the dimensions of the device you could do:
However, according to the documentation , In order to be able to use this feature, you will need to deploy a plugin called "Device Recognition".
Unfortunately I can't find a plugin named Device Recognition Provider in liferay market place for lifery 6.2 ce.
So what I do for detecting the device programmaticaly which is making a request to my portal.?
Looking forward
Shafeek .
I know Liferay 6.1 includes a new API for detecting the capabilities of the device which is making a request to your portal.
For example, in order to obtain the dimensions of the device you could do:
Dimensions dimensions = device.getScreenSize();
float height = dimensions.getHeight();
float width = dimensions.getWidth();
However, according to the documentation , In order to be able to use this feature, you will need to deploy a plugin called "Device Recognition".
Unfortunately I can't find a plugin named Device Recognition Provider in liferay market place for lifery 6.2 ce.
So what I do for detecting the device programmaticaly which is making a request to my portal.?
Looking forward
Shafeek .
Denis Signoretto, geändert vor 8 Jahren.
RE: Using the Device API in liferay 6.2 GA2
Expert Beiträge: 375 Beitrittsdatum: 21.04.09 Neueste Beiträge
Hi Muhammed,
Device Recognition as reported by documentation it's an EE only feature.
Device Recognition plugin comes bundled inside the Device Recognition Provider EE available from Market Place:
https://www.liferay.com/it/marketplace/-/mp/application/35419014
In this blog post you can find other useful information about this topic and what's changed in Liferay 6.2.
Take a look at the comments because there are some helpful information.
Best Regards,
Denis
Device Recognition as reported by documentation it's an EE only feature.
Device Recognition plugin comes bundled inside the Device Recognition Provider EE available from Market Place:
https://www.liferay.com/it/marketplace/-/mp/application/35419014
In this blog post you can find other useful information about this topic and what's changed in Liferay 6.2.
Take a look at the comments because there are some helpful information.
Best Regards,
Denis