title: Intent and Firebase error in Android Studio
body: <p>I have a problem with new intent work on Firebase. I did new intent it's normally working but i wrote firebase connection code and the app. has stopped error. But Firebase connection working new project but i don't working 2 project together. Please help me.</p>
  
  <p>First Screen</p>
  
  <pre><code> @Override
  public void onClick(View v) {
      if (v.getId()==R.id.btn)
      {
          Intent i = new Intent(this,Quiz.class);
          startActivity(i);
      }
  </code></pre>
  
  <p>Quiz Screen</p>
  
  <pre><code>private Button mButtonChoice1,mButtonChoice2,mButtonChoice3,mButtonChoice4;
  
  private int mScore;
  private String mAnswer;
  
  private Firebase mQuestionRef, mchoiceRef,mChoice2Ref,mChoice3Ref,mChoice4Ref,mAnswerRef;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_quiz);mQuestion = (TextView)findViewById(question);
  
  
  
  
  
      mQuestionRef = new Firebase("https://fog-alarm.firebaseio.com/0/question")
  
      mQuestionRef.addValueEventListener(new ValueEventListener() {
          @Override
          public void onDataChange(DataSnapshot dataSnapshot) {
              String question = dataSnapshot.getValue(String.class);
              mQuestion.setText(question);
  
          }
  
          @Override
          public void onCancelled(FirebaseError firebaseError) {
  
          }
  </code></pre>