android - moving from other activity to navigation activity -


i want go navigation activity other activity when click on textview , application crashed down, dont know whats problem it, have ?

here manifest file

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" package="com.example.nabeel.ask">  <uses-permission android:name="android.permission.internet" /> <uses-permission android:name="android.permission.read_external_storage" />  <application     android:allowbackup="true"     android:icon="@mipmap/ic_launcher"     android:label="@string/app_name"     android:roundicon="@mipmap/ic_launcher_round"     android:supportsrtl="true"     android:theme="@style/apptheme">     <meta-data         android:name="com.facebook.sdk.applicationid"         android:value="@string/facebook_app_id" />      <activity         android:name=".mainactivity"         android:label="@string/app_name"         android:theme="@style/apptheme.noactionbar">         <intent-filter>             <action android:name="android.intent.action.main" />              <category android:name="android.intent.category.launcher" />         </intent-filter>     </activity>     <activity         android:name=".signin"         android:label="@string/title_activity_signin"         android:theme="@style/apptheme.noactionbar" />      <activity         android:name=".home_nav"         android:label="@string/title_activity_home_nav"         android:theme="@style/apptheme.noactionbar"></activity> </application> 

there java file want go navigation activity

    textview tv_si = (textview) findviewbyid(r.id.login);     tv_si.setonclicklistener(new view.onclicklistener() {         @override         public void onclick(view view) {             intent si = new intent(signin.this, home_nav.class);             startactivity(si);         }     }); 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -