mobile-detector

Java library to detect mobile devices and tablets

Лицензия

Лицензия

Группа

Группа

de.sstoehr
Идентификатор

Идентификатор

mobile-detector
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

mobile-detector
Java library to detect mobile devices and tablets
Ссылка на сайт

Ссылка на сайт

https://github.com/sdstoehr/mobile-detector
Система контроля версий

Система контроля версий

https://github.com/sdstoehr/mobile-detector.git

Скачать mobile-detector

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/de.sstoehr/mobile-detector/ -->
<dependency>
    <groupId>de.sstoehr</groupId>
    <artifactId>mobile-detector</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/de.sstoehr/mobile-detector/
implementation 'de.sstoehr:mobile-detector:1.0.0'
// https://jarcasting.com/artifacts/de.sstoehr/mobile-detector/
implementation ("de.sstoehr:mobile-detector:1.0.0")
'de.sstoehr:mobile-detector:jar:1.0.0'
<dependency org="de.sstoehr" name="mobile-detector" rev="1.0.0">
  <artifact name="mobile-detector" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.sstoehr', module='mobile-detector', version='1.0.0')
)
libraryDependencies += "de.sstoehr" % "mobile-detector" % "1.0.0"
[de.sstoehr/mobile-detector "1.0.0"]

Зависимости

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

Модули Проекта

Данный проект не имеет модулей.

Mobile Detector

Java library to detect mobile devices and tablets

<dependency>
  <groupId>de.sstoehr</groupId>
  <artifactId>mobile-detector</artifactId>
  <version>1.0.0-SNAPSHOT</version>
</dependency>

Build Status Coverage Status Maven Central

Usage

Detecting device by user agent:

MobileDetector mobileDetector = new MobileDetector();
Device device = mobileDetector.detectBy("userAgent string");

// device.type() - UNKNOWN, DESKTOP, MOBILE, TABLET
// device.platform() - UNKNOWN, IOS, ANDROID

Версии библиотеки

Версия
1.0.0