Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
How to detect whether the android device has Internet connection or not?
If your android app is dependent on internet then you need to check whether your device is having internet connection or not at the starting of your app, so to check the same copy the code below :-
To know the Network state in your app you nee...
Network check for wifi 3g 4g
Hi Guys,
You can use this function before hitting any server api. This will check whether your device is connected to network or not.
+ (BOOL)isNetworkAvailble{
const char *host_name = "google.com";
BOOL _isDataSourceAvai...
How to check if your device is connected to Internet
We need to check if device is connected to Internet on making every API call (or call to Remote server).
The function below returns true if device is connected to Internet.
//**This function tells whether the device having an Internet connec...