Meaningless Drivel is fun!*
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 Java 8 in Action this week in the Java 8 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: 1032
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: 39576
    
  27
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 - updated with new look and Ping home screen widget
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1032
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: 39576
    
  27
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to hide email address from to field
 
Similar Threads
when i change android:orientation to horizontal it shows blank screen
Layouts, bottom position
Keyboard events for EditText not reaching my event handler.
How to retrieve string from EditText?
nullpointer when i try to initiate onclicklistener