JavaMail currently doesn't work on Android, use javamail-android instead

https://code.google.com/p/javamail-android/
This commit is contained in:
str4d
2014-02-27 09:32:49 +00:00
parent 167f4752ca
commit eb1aecd58e
6 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,8 @@
<target name="copybotelibs" depends="-dirs,buildbote">
<!-- bote -->
<copy todir="${jar.libs.dir}">
<fileset dir="${botebase}/WebContent/WEB-INF/lib" />
<!-- Regular JavaMail currently doesn't work on Android -->
<fileset dir="${botebase}/WebContent/WEB-INF/lib" excludes="mailapi.jar" />
</copy>
</target>
</project>

BIN
libs/activation.jar Normal file

Binary file not shown.

BIN
libs/additionnal.jar Normal file

Binary file not shown.

BIN
libs/mail.jar Normal file

Binary file not shown.

View File

@ -10,6 +10,7 @@
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
dex.force.jumbo=true
# Project target.
target=android-19
# Bote libs

View File

@ -52,9 +52,7 @@ public class EmailListAdapter extends ArrayAdapter<Email> {
} catch (GeneralSecurityException e) {
subject.setText("ERROR: " + e.getMessage());
}
// TODO: Fix library bugs
// The .jar files are getting classes stripped during dexing.
//content.setText(email.getText());
content.setText(email.getText());
return v;
}