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

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

Required because, I am written a MailSender class using JavaMail API there I need to send the mail using the details what user configured in Built in Android Email application.

Asked by: Alfred117 | Posted: 20-01-2022

Answer 1

No, that's not accessible by other apps.

Answered by: Wilson605 | Posted: 21-02-2022

Answer 2

I've tried using a valid gmail account and password, and it seems to work. check Sending Email in Android using JavaMail API without using the default/built-in app

Answered by: Sophia260 | Posted: 21-02-2022

Similar questions

android - Application Error : This version of the application is not configured for Market Billing

Since a couple of days it's possible to use in-app-billing in Android apps. Very cool of course. So, I started working on a update for my application to implement this. But now I run into some problems. This is what I did: I first tried the reserved product IDs for testing static in-app billing responses. That works without problems. I uploaded a draft APK to the market (with production signing, no ...

android - Are all .class files in my Java application loaded into memory after application start?

I am making an app for Android, in my Activity I need to load an array of about 10000 strings. Loading it from database was slow, so I decided to put it directly into one .java file (as a private field). I have about 20 of these classes containing string arrays and my question is, are all the classes loaded into memory after my application is started? If so the Activity in which I need these strings would be loaded quickly...

Can my android application be launched from built-in Phone Call Log application?

I would like to know if it is possible to launch my application whenever a new entry is written to phone call log (i.e. out-going, in-coming or missed call). I wrote an application to manage the call log entries as per user preferences by listening to the publication of android.intent.action.PHONE_STATE events. My application is working fine as long as its process is running. However if the user ha...

android - Application lifecycle. How to run something only when application starts

I have a dialog popup to indicate how long I want an activity to run. Seems simple enough, but its difficult to determine when the activity is really starting. If the user opens the keyboard on a G1 and thereby goes into landscape, that reruns the activities onCreate method. I can't have a static for the class or even create an application class, because I can't determine when the 'application' goes away. Even afte...

How to use data of one application into other application in Android

i want to send input data in one application to the other application using "intent" or can we store user input from one application that can be used by other application.

How to call one android application from another android application

I want to call one android application from another application I have tried some examples, but they are not working for me, I'm getting a Package parse error. Consider there are two applications: Application1 and Application2 I want to call Application2 from Application1

android - What is an elegant way to create application access URLs for an existing web application?

I've been assigned to create an RESTful Android application for an existing web service which is built using Django. My current design idea is to have the Android application receive a JSON version of the data that would normally be sent to the Django template on each url. So my view would look like: #The site stores and organizes user's medical experiences by allowing search of # what treatments h...

hide one application in application menu of android

I am new to this Android application Programing. I need to know the thing that, disable and hiding of one application from application menu list. instead of deleting the entire application, that need to do some other changes to hide and disabling any application from menu list.

android - Open another one application from our application?

From my application i have to open a another one application.Is there any possibility to open like this?

java - How can I notify another application that my application has failed?

In my application, I start an activity, that is in another application (Eclipse project) the following way: Intent intent = new Intent(); intent.setAction(game.getLaunch()); intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); startActivityForResult(intent, game.getId()); If this second application is finished, I call: MySecondApplication.this.setResult(getGameId()); MySecondA...

how to start android application from my application but the application should not be visible to others

supposing that i have created an application "MyApp" and it contains a button.When this button is clicked it should start another application say"App".this application "App" should not be available in any other part of the phone. please help me with this. thank you.

android application memory leaks

I am using kind of results search engine, problem is to remember the searching criteria i made singleton static class which keeps only one instance. In my application there are lots of class level private variables, lots of public static variables, a big util class which contains only static final methods. problem is my application get crash any time any where any spot and interesting thing is crash code a...

Android Application data should not be released by android OS

public class MYApplication extends Application { String property; setter getter } does above code make sure property will not be collectied by android OS if not used for a long period of time.

Android Intent for Twitter application

Is it possible to show a list of applications (with intent.createChooser) that only show me my twitter apps on my phone (so htc peep (htc hero) or twitdroid). I have tried it with intent.settype("application/twitter") but it doesnt find any apps for twitter and only shows my mail apps. Thank you, Wouter

webserver - Retrieve data from a web server for android application

I am developing an application that needs to retrieve some data from a web server. But I have no idea how can this be possible?

Should a legacy Android application be rebuilt using SDK 2.1?

I have an Android application that uses the well known Strategies for Legacy Applications. It is build with the Android SDK 2.0 with manifest settings minSdkVersion="3" (API 1.5) and targetSdkVersion="5" (2.0). Question1: Since maxSdkVersion is not specified, the application should be...

android - Intent to pick an installed application slow in my activity, why?

If you long press on your homescreen and pick to add an application shortcut, you will be greeted with a listview showing all of your instal applications. I needed this same functionality in my application so I copied the intent from the launcher source: Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); Intent pic...

web services - How to store data accessible to both a web site and android application?

I’m developing an Android and web application that will function as a service (use the same data). My question is how should the data be stored to allow for both the web and the android application to have access to the same set of data? Should the android application connect to the sites MySQL server to store/access data? If so how do I allow someone to access the data when they are not in ...

Android 1.6 SMS (older application code)

I have HTC Tattoo with Android 1.6. I have maed a Java program for SMS sending. I got the source on the Internet, I think, versions before 1.6. The problem is: SMSs are sent twice. What is a possible cause for this problem? If possible, please simply post sample code what works OK.

How to close Android application?

I want to close my application, so that it no longer runs in the background. How to do that? Is this good practice on Android platform? If I rely on the "back" button, it closes the app, but it stays in background. There is even application called "TaskKiller" just to kill those apps in the background.

listview - android application failing upon user scrolling - no 'obvious' error

I'm having a strange problem with Android 1.6 I have an application that has a ListView (found in Activity #1). The user can click on one of the rows in the ListView and is taken to a 2nd Activity (Activity # 2). User can then use the back button to go back to the ListView. The problem is that if the user scrolls down the list after returning from Activity # 2 the application crashes, bu...

Still can't find your answer? Check out these communities...

Android Google Support | Android Community | Android Community (Facebook) | Android