Back to project page slidekeyboard.
The source code is released under:
MIT License
If you think the Android project slidekeyboard 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.asigbe.slidekeyboardpro; /*from w ww. j av a 2 s .c o m*/ import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; /** * Displays an information dialog to the user. * * @author Delali Zigah */ public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { // showDialog(INFORMATION_DIALOG); setContentView(R.layout.explanation); Button goToMarketButton = (Button) findViewById(R.id.goToMarketButton); goToMarketButton.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent .setData(Uri .parse("http://market.android.com/search?q=asigbe skin")); startActivity(intent); } }); Button settingsButton = (Button) findViewById(R.id.settingsButton); settingsButton.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(); intent.setClass(MainActivity.this, LatinIMESettings.class); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); } }); super.onCreate(savedInstanceState); } }