Android sending email from code

Android Internet Permission

Most of the time when developing internet Based application. We often forget to provide the inter permission.


To give internet access permission to your app.

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

eg :
xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android"    package="app.skd.datacol">
    <uses-permission android:name="android.permission.INTERNET" />


Recommend Network Library 
if you are developing networking application. I would recommend okhttp library it is
simple and easy to use. it support both sync and async request. Earlier I was using asyncHTTP library.

Comments