package com.example.ali.myapplication;import android.app.Activity;import android.os.Bundle;import android.view.Menu;import android.view.MenuItem;import android.view.View;import android.widget.Button;import android.widget.TextView;public class MyActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_my); final c1 fer=new c1(); Button b22=(Button)findViewById(R.id.btn1); b22.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { TextView t1=(TextView)findViewById(R.id.txt2); t1.setText(fer.c1(4,5)); } }); //t1.setText( fer.r1(8,10)); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present.,unfortunately has stopped,unfortunately has stopped loop,unfortunately has stopped android studio,unfortunately has stopped htc,unfortunately has stopped s5,unfortunately has stopped android emulator,unfortunately has stopped google play,unfortunately has stopped artinya,unfortunately has stopped all apps,unfortunately has stopped android eclipse ...ادامه مطلب