SL4A Utilities using Python Facades - SL4A

Email-based Applications

Email based applications are one of the most common utilities available in a mobile device. One can use the sendEmail API call available through the SL4A Android facade.
This function takes three parameters −
  • to_address − a comma-separated list of recipients.
  • title − represents the title of the email message.
  • message − represents the message to be sent.

The python libraries that have used to build the email program is smtplib. In addition, we have used the email library. This library contains a number of helper functions allowing us to construct our message in the correct form. The mimetypes library helps with the encoding of our message.

Wifi Scanner

The following code lists all available Wi-Fi access spots −

Call Logs

The code for call logs is given below.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

SL4A Topics