Create Network Access Point Name with code,
I will give some examples: Getting default APN information: //path to APN table final Uri APN_TABLE_URI = Uri.parse(“content://telephony/carriers”); //path to preffered APNs final Uri PREFERRED_APN_URI = Uri.parse(“content://telephony/carriers/preferapn”); //receiving cursor to preffered APN table Cursor c = getContentResolver().query(PREFERRED_APN_URI, null, null, null, null); //moving the cursor to beggining of the table c.moveToFirst(); //now the cursor points to … Read more