UtilSet - Parent

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

License

License

GroupId

GroupId

com.navercorp
ArtifactId

ArtifactId

utilset-parent
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

pom
Description

Description

UtilSet - Parent
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Source Code Management

Source Code Management

https://github.com/nhnopensource/android-utilset

Download utilset-parent

Filename Size
utilset-parent-1.0.2.pom 9 KB
Browse

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.0.2