This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Android and the fly likes how to hide email address from to field Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "how to hide email address from to field" Watch "how to hide email address from to field" New topic
Author

how to hide email address from to field

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1087
I need to give users to contact page in my app.
So i add below



below is xml



anyway whether i have hard code the email, when users try to send email to me it shows the my email addredd.is there anyway to hide it ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41572
    
  54
I don't follow. Are you asking how to send an email that does not show the sender's address? If so, that has nothing to do with Android. If you're asking something different, please be more elaborate what that is.


Ping & DNS - my free Android networking tools app
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1087
This is my app.I don't need to show my email to users.So i give them to chance to contatc me via email.So i tried with above as hard coding my email.But when users try to send a email to me,it shows my email address.is there a way to hide it?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41572
    
  54
If you send an email, then it will show the address to which it is sent; there's no way around that, and that's entirely independent of Android.

Why do you want to offer a method to contact you via email if you don't want to show your email address? That seems a strange way of going about things. Maybe email isn't the right approach for this purpose.
 
jQuery in Action, 2nd edition
 
subject: how to hide email address from to field