Android Open Source - CupidoSMSScheduler First Run






From Project

Back to project page CupidoSMSScheduler.

License

The source code is released under:

GNU General Public License

If you think the Android project CupidoSMSScheduler listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package it.tapion.cupidosmsscheduler;
/* w w  w  .j  a va 2 s  .  c  o  m*/
import android.content.Intent;
import android.content.SharedPreferences;
import android.provider.ContactsContract;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.View;

public class FirstRun extends ActionBarActivity {

    String DEBUG_TAG = "MERCURIO";

    SharedPreferences settings = null;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_first_run);
    }

    // seleziona un contatto dalla rubrica
    public void pickContact(View view) {
        Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);
        startActivityForResult(intent, 1);
    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        Utility.changeRecipient(this, requestCode, resultCode, data);
        finish();
    }


}




Java Source Code List

it.tapion.cupidosmsscheduler.AlarmSetter.java
it.tapion.cupidosmsscheduler.DatabaseHandler.java
it.tapion.cupidosmsscheduler.FirstRun.java
it.tapion.cupidosmsscheduler.MainActivity.java
it.tapion.cupidosmsscheduler.NewSMSActivity.java
it.tapion.cupidosmsscheduler.SMSBrodcastReceiver.java
it.tapion.cupidosmsscheduler.SMS.java
it.tapion.cupidosmsscheduler.SettingsActivity.java
it.tapion.cupidosmsscheduler.Utility.java