-1

For my project, I need to accept all call. I have searched and tested for now 4 days. However thanks to http://prasanta-paul.blogspot.com/2010/09/call-control-in-android.html and How to reject incoming call programatically in android? I have maid an apply but it doesn't work; when I emule my apply, I have an error like this "The application has stopped unexpectedlty.Please try again"

Here the link for download my project : http://dl.free.fr/getfile.pl?file=/FM9HlJMZ (click on "telecharger ce fichier")

Community
  • 1
  • 1

1 Answers1

1

You have not implemented the setContentView() method after extending your class to Activity.

First learn the basics of android (specially lifecycle of an activity) and then try to make an app.

If you don't need any UI there is no need to extend Activity and you can implement other basic component like service.

Sourab Sharma
  • 2,940
  • 1
  • 25
  • 38