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; /* ww w . j a v a 2 s .co m*/ import com.kahkong.wikicontacts.service.IntentService; import com.kahkong.wikicontacts.service.IntentServiceImpl; import android.content.Context; /** * * @author Poh Kah Kong * */ public class NumberLink extends Link { protected IntentService intentService = IntentServiceImpl.getInstance(); protected String number; protected String countryCode; private NumberLink(Context context) { super(context); } public NumberLink(Context context, String number, String countryCode) { super(context); this.number = number; this.countryCode = countryCode; initValues(); } @Override protected void initValues() { value = number; message = "Call +(" +countryCode + ") " + number + "?"; super.initValues(); } @Override protected void action() { intentService.startCallActivity(number, countryCode); } }