Send SMS when phone gets switch-off

by Nishant » Fri, 20 Nov 2009 18:13:48 GMT

Sponsored Links

I am working on SMS application.
If i switch-off my phone, at that time i want to send SMS.
Is it possible or not?
If yes, which events are used to handle this?

Nishant Shah


Other Threads

1. Install app on a device?


I have HTC Magic and I want to install an android app (APK) on it.
I did the following:
1. connected phone to PC and then used HTC sync to synchronize with
2. run adb install command

For this I had to install and setup android SDK and HTC sync. Is there
any simple way of installing an app for a normal user, like copying it
to SD card and then selecting it to install?


2. Why does using People._COUNT cause IllegalArgumentException to be thrown?

I tried with your code, it works.
Kindly check two things.

1. You should over 23 contacts, because you write "Uri myPerson =
ContentUris.withAppendedId( People.CONTENT_URI, 23 );"

2. You should write permission code in AndroidManifest.xml like below.

    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <application android:icon="@drawable/icon" android:label="@string/app_name">
        <activity android:name=".ContentProviderExamples"

Have a good day!!

2009/8/26 Pankaj Godbole <>


3. Hi friends

4. unsubscribe me

5. ImageView appearing above soft keyboard

6. using java.sql instead of android.database

7. startup sequence, how do i get from main to launcher.OnCreate()