Category Archives: android app

android reading inbox and sent box sms and reading call details

MainActivity.java for sent sms : private static final int TYPE_INCOMING_MESSAGE = 2; for recieved sms : private static final int TYPE_INCOMING_MESSAGE = 1; package com.example.inboxlistproject; import java.lang.ref.WeakReference; import java.util.ArrayList; import android.app.Activity; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import android.database.Cursor; import … Continue reading

Posted in android app | 1 Comment

my first app in android

MainAcitivity.java package com.example.myfirstapp; import android.os.Bundle; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.view.Menu; import android.view.View; import android.widget.Toast; import android.util.Log; import android.app.ProgressDialog; import android.content.Intent; public class MainActivity extends Activity {     String tag = “Lifecycle”;     CharSequence[] items = … Continue reading

Posted in android app | Leave a comment