getting email address of the account on the phone

by bh23 » Tue, 31 Aug 2010 01:53:19 GMT


Sponsored Links
 I am writing an app and I want to send the user a welcome email when
they install the app, in order to do this I could prompt them to enter
their email address, but I would prefer to just detect the email of
their account on the phone and send it without forcing them to type.

Is this possible?

--



getting email address of the account on the phone

by TreKing » Tue, 31 Aug 2010 23:03:13 GMT


 




To take the user's email off the phone, send it to your own server and use
it to send them unsolicited emails? I hope not.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

--


Sponsored Links


getting email address of the account on the phone

by San » Wed, 01 Sep 2010 06:14:17 GMT


 Account[] allAccounts =
AccountManager.get(getApplicationContext()).getAccounts();
for(Account account : allAccounts)
{
   String emailAccName = account.name;
   String emailAccType = account.type;
}

Dont forget to add <uses-permission
android:name="android.permission.GET_ACCOUNTS" /> in manifest

--



getting email address of the account on the phone

by San » Wed, 01 Sep 2010 06:16:18 GMT


 Account[] allAccounts =
AccountManager.get(getApplicationContext()).getAccounts();
for(Account account : allAccounts)
{
   String emailAccName = account.name;
   String emailAccType = account.type;
}

Dont forget to add
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
in the manifest

--



Other Threads

1. Color filter modes and transparent colors

Glad MULTIPLY worked for you.

I think DARKEN should have worked, assuming your op-color had zero
alpha in it (so as not to affect the resulting alpha). e.g. 0x00888888








--~--~---------~--~----~------------~-------~--~----~

2. items of StateListDrawable

hi,

normally in StateListDrawable (defined in XML) one defines either .
9.pngs or normal .pngs.

i wanted my 'normal' state to be defined as LevelListDrawable (also
defined in XML).

and i have problem here: i always see the first item from
LevelListDrawable, calling setLevel on that drawable has no effect at
all. what am i missing?

thanks
--~--~---------~--~----~------------~-------~--~----~

3. Color filter modes and transparent colors

4. FYI easy high quality video encoding for android

5. Suggestion for Android Market

6. the image captured using Intent i = new Intent("android.media.action.IMAGE_CAPTURE"); is very small

7. WPA2 Enterprise Support