UtilSet

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Лицензия

Лицензия

Группа

Группа

com.navercorp
Идентификатор

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

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

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

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

UtilSet
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Скачать utilset

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

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

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
com.google.android : annotations jar 4.1.1.4
com.google.android : support-v4 jar r7
junit : junit jar 4.10

provided (2)

Идентификатор библиотеки Тип Версия
com.google.android : android jar 4.1.1.4
org.hamcrest : hamcrest-all jar 1.3

test (1)

Идентификатор библиотеки Тип Версия
org.robolectric : robolectric jar 2.2

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

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

Android Utilset

Introduction

  Utilset is collections of useful functions to save your valuable time. Because there are a ton of different ways to implement a method,
we often spend our valuable time to search and test those ways. Some may work, but some may not work.
  As such, we collected, tested and refined methods so as to prevent seeking code snippet.


Overview

Utilset includes:

  • DeviceUtils

    • determines whether the device is mobile phone or not
    • determines if the phone has SMS capability
    • etc...
  • ActivityUtils

    • checks if a user specified package is installed
    • gets information of base activity package name and class name
  • NetworkUtils

    • provides listeners which notify when network state changes, , receives a call, or a connection is made
    • checks if WiFi is enabled and if WiFi is connected
    • checks if Mobile Network (3G/4G) is connected
    • obtains IP Address in either v4 or v6 form
    • etc...
  • DiskUtils

    • obtains external storage path for caching
    • obtains external storage path for temporary files
    • obtains MicroSD Card path
  • KeyboardUtils

    • shows, hides, and toggles Software keyboards
    • checks if a device has software menu/home/back button
  • CipherUtils

    • provides simple AES based cryptographic methods
  • StringUtils

    • provides string compression/decompression methods
  • SystemUtils

    • checks if a device is rooted
    • counts the number of processors(more specifically the number of cores)

Download

  The latest version can be downloaded in jar and referenced as a library. Link is here http://repo.nhncorp.com/maven2/com/navercorp/utilset/utilset/1.0/utilset-1.0.jar Just add downloaded jar file into libs folder in your android project.

or

You can also configure pom.xml if using Maven :

<!-- Add utilset dependency in pom.xml -->      
<dependency>
	<groupId>com.navercorp</groupId>
	<artifactId>utilset</artifactId>
	<version>1.0.2</version>
</dependency>

Usage

Please, refer sample project


How to run sample project

(1) Download Utilset Maven Project from https://github.com/nhnopensource/android-utilset/releases/tag/v1.0.2
(2) Import downloaded project as Maven project in Eclipse (Maven plug-in must be installed to run utilset test project)
(3) Right click on utilset-parent in Package Explorer
(4) Select Run As and then Maven Build
(5) If you run utilset-parent for the first time, then Run Configuration will appear
(6) Type clean install to the Goal tab
(7) Click run button on the bottom


License

Copyright 2013 Navercorp

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
com.navercorp

NHN Open Sources

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

Версия
1.0.2