Having a error with implementing add task into my project
<p>I have ad task manager working in another projec, but when I converted the code it gave me an error when I tried to run it. The error is <pre><code>E/AndroidRuntime(681): java.lang.RuntimeException: Unable to start activity ComponentInf {com.screenssample/com.sudarmuthu.android.taskmanager.ViewTasksActivity}: java.lang.ClassCastException: android.app.Application</code></pre> and I do not know how to find errors by debugging it, but shouldn't be any errors if it works in another project correct? </p>
