how to receive a phone call?? what do you need in manifest??

by franw » Mon, 07 Apr 2008 01:12:08 GMT


Sponsored Links
 hi,
i want my program to start if the phone rings, so i want to receive
that action but cannot find what you need in the manifest to get this
intent to start - please help!

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=" http://schemas.android.com/apk/res/android" ;
    package="com.google.android.IC">
    <application android:icon="@drawable/icon">
        <receiver android:name=".TestIncomingCall"
android:label="@string/app_name">
            <intent-filter>
                <action
android:name="android.intent.action.TESTINCOMING" />
            </intent-filter>
        </receiver>
    </application>
</manifest>
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. mouse pointer position

Hi,

I am trying to get the mouse pointer position from a native
application.
I found out that WindowManagerService maintains the mouse cursor
surface object.

Problem is, I am not able to find any interface or way to extract the
object or the relevant information anyhow.

Please Help. :(

Regards,
Neel.

2. Junit testing on Android

Morning all,

I am currently setting up a number of JUnit tests to get some decent
coverage of my applications.

I have noticed that Android does not seem to produce XML output files
for the JUnit tests run on device I understand that if I like I can
export them via eclipse however this is not an option for me as these
tests will eventually be automated in some form of CI implementation.

Can anyone tell me is it possible to have the tests produce an XML
document onto the device which I can at least use a pull command for?

Tom

3. I do vs I don't care

4. activity stack issue :help please

5. Question about background task applications?

6. Google Map retains the reference to the context of the enclosing activity?

7. Bitmap formats