Back to project page lastUpdates.
The source code is released under:
GNU General Public License
If you think the Android project lastUpdates 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.focusings.focusingsworld.shop; //from ww w . ja v a2 s . c o m import com.focusings.focusingsworld.R; import android.content.Intent; import android.net.Uri; import android.view.View; import android.view.View.OnClickListener; public class GoToStaffWebsiteOnClickListener implements OnClickListener{ public GoToStaffWebsiteOnClickListener(){} @Override public void onClick(View v) { String url = "http://es.qstoms.com/fb/focusingsshop"; Intent goToStaffWebsiteIntent = new Intent(Intent.ACTION_VIEW); goToStaffWebsiteIntent.setData(Uri.parse(url)); v.getContext().startActivity(Intent.createChooser(goToStaffWebsiteIntent, v.getContext().getResources().getText(R.string.goToTheWebsiteThrough))); } }