Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android Email application - Is it possible to get all the details which are configured in Email appl

 
Vinayak Bevinakatti
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is there any way to get in the code:

Email id
Password
SMTP host
SMTP port

which the user used to setup his Email account with the Android built in Email application
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMO, data such as these are private to applications and these would only be available to other apps, if the original application decides to export them or as in Android's case publish them(via a content provider or something alike). I don't think the native email application exports this data.
 
Tim Holloway
Saloon Keeper
Posts: 18359
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, it's even stickier than that, since at least on my phone, the email app allows connecting to more than one email server, so those items vary depending on the connection.

If you can find the app's classname, you might find the source code published as open source on the Internet, and given that, see if it provides an external resource you can tap into.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you can find the app's classname, ..

I normally try to deduce that by reading the component field of the Intent logged (in logcat)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic