• Home
Name Date Size #Lines LOC

..--

Application/03-May-2024-556258

buildSrc/03-May-2024-1913

gradle/wrapper/03-May-2024-76

screenshots/03-May-2024-

CONTRIB.mdD03-May-20241.6 KiB3627

LICENSED03-May-202411.1 KiB202169

README.mdD03-May-20241.9 KiB5438

build.gradleD03-May-2024259 119

gradlewD03-May-20245 KiB165122

gradlew.batD03-May-20242.3 KiB9166

packaging.yamlD03-May-2024496 1610

settings.gradleD03-May-202422 21

template-params.xmlD03-May-20242.7 KiB7653

README.md

1Android BasicNetworking Sample
2==============================
3
4This sample demonstrates how to use the ConnectivityManager to determine if you have
5a network connection, and if so, what type of connection it is.
6
7A "NetworkInfo" object is retrieved from the ConnectivityManager, which contains information
8on the active connection, and then the connection type is printed to an on-screen console.
9
10Pre-requisites
11--------------
12
13- Android SDK v20
14- Android Build Tools v20
15- Android Support Repository
16
17Getting Started
18---------------
19
20This sample uses the Gradle build system. To build this project, use the
21"gradlew build" command or use "Import Project" in Android Studio.
22
23Support
24-------
25
26- Google+ Community: https://plus.google.com/communities/105153134372062985968
27- Stack Overflow: http://stackoverflow.com/questions/tagged/android
28
29If you've found an error in this sample, please file an issue:
30https://github.com/googlesamples/android-BasicNetworking
31
32Patches are encouraged, and may be submitted by forking this project and
33submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.
34
35License
36-------
37
38Copyright 2014 The Android Open Source Project, Inc.
39
40Licensed to the Apache Software Foundation (ASF) under one or more contributor
41license agreements.  See the NOTICE file distributed with this work for
42additional information regarding copyright ownership.  The ASF licenses this
43file to you under the Apache License, Version 2.0 (the "License"); you may not
44use this file except in compliance with the License.  You may obtain a copy of
45the License at
46
47  http://www.apache.org/licenses/LICENSE-2.0
48
49Unless required by applicable law or agreed to in writing, software
50distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
51WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
52License for the specific language governing permissions and limitations under
53the License.
54