Main navigation

android

How to Install Android Studio on Microsoft Windows or Linux (Unix or Ubuntu) OS.

adsense Now you have to configure it on a smartphone or any real android device and run Hello World App . This is the first and simplest program to run. How to Install Android Studio in Windows 7|8|10: For installation in Windows you have to first install Java SE Development Kit . Go to the […]

Connect, Configure App on Real Android device and Run Hello World program with Android Studio.

adsense Pre-requisites: 1) Android Studio installed on your PC (Unix or Windows). You can learn how to install it here . 2) A basic knowledge of Android lifecycle and different classes & functions used in Android Studio. Follow following steps for connecting smartphone with Android Studio: First we need to enable Developer options on Android […]

Checking an Internet Connection in Android

adsense Use following code in the AndroidManifest.xml : Please note that we have used the INTERNET and ACCESS_NETWORK_STATE permissions. INTERNET permission is required by android application to connect to internet. ACCESS_NETWORK_STATE required by ConnectivityMannager to use getActiveNetworkInfo() Create a Layout File We will use a button to get the network status. So we have used […]

Advertisment ad adsense adlogger