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