Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting ActivityNotFoundException
    primarykey
    data
    text
    <p>I am getting ActivityNotFoundException though i register the Activity class in the Manifest file. Can you help me please...</p> <p>Thanks..</p> <p> </p> <pre><code>&lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt; &lt;activity android:name="Login" android:label="@string/app_name"&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity android:name=".Registration" android:label="Registration" &gt;&lt;/activity&gt; &lt;activity android:name=".Dashboard" android:label="Dashboard" &gt;&lt;/activity&gt; &lt;activity android:name="com.innominds.BillDetails" &gt;&lt;/activity&gt; &lt;/application&gt; </code></pre> <p></p> <p>This the Manifest file.</p> <p>Now I wrote the below code for BillDetails class</p> <pre><code>import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.Window; import android.view.WindowManager; public class BillDetails extends FragmentActivity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); setContentView(R.layout.details_bill); } public static class BillSearch extends Fragment { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.billsearch, container, false); } public void onActivityCreated(Bundle savedState) { super.onActivityCreated(savedState); } } public static class DetailBill extends Fragment { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.billdetails, container, false); } public void onActivityCreated(Bundle savedState) { super.onActivityCreated(savedState); } } } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload