Android NetHelper


License

License

Categories

Categories

Net
GroupId

GroupId

com.sopinet
ArtifactId

ArtifactId

android-nethelper
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

aar
Description

Description

Android NetHelper
Android NetHelper
Project URL

Project URL

https://github.com/sopinet/android-nethelper
Source Code Management

Source Code Management

https://github.com/sopinet/android-nethelper

Download android-nethelper

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
com.github.kevinsawicki : http-request jar 5.6
com.google.code.gson : gson jar 2.2.4
com.android.support » appcompat-v7 jar 19.+

Project Modules

There are no modules declared in this project.

DEPRECATED

android-nethelper

NetHelper Android Library

Installation

Android-NetHelper is build using Gradle.

Include the following in your proyect's build.gradle and Android-NetHelper will be downloaded automatically from Maven Central repository.

repositories {
    mavenCentral()
}

dependencies {
    compile 'com.sopinet:android-nethelper:1.0.0'
}

Alternatively you can include Android-NetHelper as a sub-module. You just would have to add the Android-NetHelper folder as a sub-module of your proyect.

Using it

Include in manifiest:

 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
 <uses-permission android:name="android.permission.INTERNET" />
 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

Use it:

SimpleContent sc = new SimpleContent(this, "YOUR_PROJECT_OR_KEY_NAME", 0);
try {
    result = sc.getUrlContent(URL_STRING, DATA_STRING);
} catch (SimpleContent.ApiException e) {
    e.printStackTrace();
}
com.sopinet

Sopinet Growing Startups!

Versions

Version
1.0.2
1.0.1
1.0.0