Friday, December 28, 2018

android.os.NetworkOnMainThreadException sending an email from Android

I have written an application which sends email from an Android device but I get the following exception when I try to send an email:



android.os.NetworkOnMainThreadException



Why is this occurring and how can I fix it?

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...