I tried to use query mail content via the interface described at https://github.com/k9mail/k-9/wiki/ThirdPartyApplicationIntegration
The code I use is sl4a python. import sys import android droid = android.Android() mails = droid.queryContent( 'content://com.fsck.k9.messageprovider/inbox_messages/', None, None, None, None) print str(mails) The result in console is dlopen libpython2.6.so java.lang.NullPointerException Result(id=1, result=None, error='java.lang.NullPointerException') Basically, the content provider seems not working with sl4a. Any ideas? PS. All the code and output are manually typed. So, there may be some typo. -- -- You received this message because you are subscribed to the K-9 Mail Users List. To post to this group, send email to [email protected] To unsubscribe, email [email protected] To report an issue with K-9 Mail, visit http://code.google.com/p/k9mail/issues/list For more options, visit this group at http://groups.google.com/group/k-9-mail --- You received this message because you are subscribed to the Google Groups "K-9 Mail" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
