Back to project page wiki-contacts-android.
The source code is released under:
Apache License
If you think the Android project wiki-contacts-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.kahkong.wikicontacts.link; /*w ww. java 2s . c o m*/ import com.kahkong.wikicontacts.service.IntentService; import com.kahkong.wikicontacts.service.IntentServiceImpl; import android.content.Context; /** * * @author Poh Kah Kong * */ public class EmailLink extends Link { protected IntentService intentService = IntentServiceImpl.getInstance(); protected String email; private EmailLink(Context context) { super(context); } public EmailLink(Context context, String email) { super(context); this.email = email; initValues(); } @Override protected void initValues() { value = email; message = "Send email to " + email + "?"; super.initValues(); } @Override protected void action() { intentService.startEmailActivity(email); } }