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; /*www.j a v a2s. c om*/ import com.kahkong.wikicontacts.service.IntentService; import com.kahkong.wikicontacts.service.IntentServiceImpl; import android.content.Context; /** * * @author Poh Kah Kong * */ public class UrlLink extends Link { protected IntentService intentService = IntentServiceImpl.getInstance(); protected String url; private UrlLink(Context context) { super(context); } public UrlLink(Context context, String url) { super(context); this.url = url; initValues(); } @Override protected void initValues() { value = url; message = "Goto to " + url + "?"; super.initValues(); } @Override protected void action() { intentService.startUrlActivity(url); } }