im trying to send an email from my app without the user having to confirm. I' ve had some success with the winning answer from this post: sending-email-in-android-using-javamail-api-without-using-the-default-android-app However, this requires to put the email password into the code itself. I'd rather not do this for security reasons. Also I dont want to ask the users for their passwords. That would probably confuse them. (i would get sceptical if an app would aks me for my gmail pass)
Is there any way to avoid having to specify the sending password, maybe by using AccountManager to authenticate with the phone's gmail account?
Or, how would i go about enctypting the password if i chose to use my own?
Thanks!