JavaMail currently doesn't work on Android, use javamail-android instead
https://code.google.com/p/javamail-android/
This commit is contained in:
@ -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
BIN
libs/activation.jar
Normal file
Binary file not shown.
BIN
libs/additionnal.jar
Normal file
BIN
libs/additionnal.jar
Normal file
Binary file not shown.
BIN
libs/mail.jar
Normal file
BIN
libs/mail.jar
Normal file
Binary file not shown.
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user