Hi, i have an app which works fine in Android 4.
It uses POP3 tu receive emails and SMTP to send emails.
The problem is in Android 5.1, it doesnt work.
In the code SMTP.Send and POP.ListMessages the app stop and dont work.
App permission is disabled in my Android.
Is like it hasnt acces to the internet, but internet is right.
Thanks..
If i add this to the manifest:
AddReplacement(<uses-permission android:name="android.permission.INTERNET"/>,)
When i try to send or receive it shows an error:
"No internet conection"
But in android 4 i dont need this line to work.
It looks like the app dont have access to internet :S
If you want to add a permission then you need to use AddPermission(android.permission.INTERNET).
However the permission will be added automatically by the SMTP object.
Ok.
I change to addpermission but it does the same problem, i Dont have an error but it doesnt work.
Is there some known problem with pop3 or smtp in android 5.1 or is my problem particularly?
I tought that was a permission problem but no.
The strange is in previus versions of Android it works fine
Well, the problem was fixed.
Very strange.
I was sending and receiving in the Main Layout, i made a new layout only to send and receive and it works!
Thanks!