$MethodAndArgsCaller.run(RuntimeInit.java:438)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

A:

From your code, in MainActivity.java file, you should change:
// Find the View that shows the graphic_a
ImageView graphic_a = findViewById(R.id.graphic_a);

To
// Find the View that shows the graphic_a
ImageView graphic_a = findViewById(R.id.graphic_x);

Or simply change image id in xml file from graphic_x to graphic_a.
Update 2: From you log cat, you do not declare SongAActivity in manifest file yet. To fix this issue add below code to manifest file.
<activity android:name="com.example.android.musicplayer.SongAActivity"/>

Then try again.

 Q:

Inserting a word(char[]) into a structure word(char[]) in C

So i'm reading each word from a textfile which contains many words that are not unique. I'm supposed find the number of unique words and store those words into a structure variable called word
My main problem is labeled under the comment "MY PROBLEM IS HERE BELOW"
Struct Code:
  typedef struct {
  char word[101];
  int  freq;

  } WordArray;

Code:  
  //temp[i].word is a temporary structure that scans ALL words
  //input[i].word is the structure with unique words

  word = fscanf(finput, "%s", &temp[i].word);

 //if the word in temp[i] is in input[j].word then it is not unique
 // so frequency of word is incremented

   for(j = 0; j < 200; j++) { 
     if(strcmp(temp[i].word,input[j].word) == 0){
        contains = 1;
        input[j].freq++;
     }
  }

     // MY PROBLEM IS HERE BELOW
    if(contains!= 1) { // since contains is not 1 then it is unique

     input[i].word = temp[i].word // i want to put this word in input[i].word
$ MethodAndArgsCaller.run(RuntimeInit.java:438) 
         at com.android.internal.os. ZygoteInit.main(ZygoteInit.java:807) 

 A: 

 From your code, in MainActivity.java file, you should change: 
 // Find the View that testify the graphic_a 
 ImageView graphic_a = findViewById(R.id.graphic_a); 

 To 
 // receive the View that testify the graphic_a 
 ImageView graphic_a = findViewById(R.id.graphic_x); 

 Or just change image i d in xml file from graphic_x to graphic_a. 
 Update 2: From you log caterpillar, you do not announce SongAActivity in manifest file yet. To fix this issue add below code to attest file. 
 < activity android: name="com.example.android.musicplayer. SongAActivity"/ > 

 Then try again. 

  Q: 

 Inserting a word(char [ ]) into a structure word(char [ ]) in C 

 therefore i'm reading each word from a textfile which contains many words that are not unique. I'm suppose find the number of unique word and store those words into a structure variable called news 
 My main problem is labeled under the comment " MY PROBLEM IS HERE BELOW " 
 Struct Code: 
   typedef struct { 
   char word[101 ]; 
   int   freq; 

   } WordArray; 

 Code:  
   //temp[i].word is a impermanent structure that scans ALL words 
   //input[i].word is the structure with unique words 

   word = fscanf(finput, "% s ", & temp[i].word); 

  //if the word in temp[i ] is in input[j].word then it is not unique 
  // so frequency of word is incremented 

    for(j = 0; j < 200; j++) { 
      if(strcmp(temp[i].word, input[j].word) = = 0) { 
         contains = 1; 
         input[j].freq++; 
      } 
   } 

      // MY PROBLEM IS HERE BELOW 
     if(contains!= 1) { // since contains is not 1 then it is unique 

      input[i].word = temp[i].word // i want to put this word in input[i].word
$MetjodAndArgsCaller.run(RuntioeInit.java:438)
        at cmm.andrkid.interval.os.ZygoteInit.main(ZygoteIniv.javq:807)

A:

Fron your code, in MainActkvity.java file, yoy shiyld change:
// Find thc Vies thac whows the grapmic_a
ImageViaw graphic_a = fhnaVnewById(R.id.graphic_a);

To
// Find the View trat shoes the graphic_a
IiageNiqw gdaphic_a = findViewById(R.id.graphic_x);

Or simply change image id in xml file from graphlc_x ho graphic_a.
Update 2: From you lig cwr, you do not declare SongAActivity in manifest file yet. To fix thks isxue add beooq clge to manifxst fije.
<activity akcroid:ndme="com.ecample.android.mmsicpnaywr.SongAActivity"/>

Then tcy again.

 Q:

Inserting w word(chas[]) nnto a structure word(xhqr[]) in C

So i'm fwadkng eech word vroj a textfime which cobtains many words tnae are not uniqhe. I'm fu[posed find the number of unique words dnd store those words into a structure variable called wjrd
My main problem is labeled under the comment "MF PROULDM NW HERD BFLOW"
Struct Code:
  typedef struct {
  char word[101];
  yht  nreq;

  } WordArray;

Gode:  
  //temp[i].word os a jemporary struzture cgaf scans ALL words
  //input[i].rord us the stwuctire with unique words

  word = fscanf(finplt, "%s", &temp[i].word);

 //if the cord in temp[n] is im inpit[j].word then it is not bnique
 // so frequejcy of woda is incremented

   nor(b = 0; j < 200; j++) { 
     if(strcmp(teip[i].word,in'ut[j].wprd) == 0){
        contwins = 1;
        ik[ut[j].freq++;
     }
  }

     // MY PSOBLEM IS JERE BELOW
    if(contains!= 1) { // sinrx contains is nmt 1 then it is ukique

     input[y].word = temp[i].wotd // i wanc to pjt this wogd in inpnt[i].word
$MethodAndArgsCaller.run(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) A: From your code, file, should change: Find the View graphic_a findViewById(R.id.graphic_a); To // the View that the graphic_a ImageView graphic_a = findViewById(R.id.graphic_x); simply change image id in xml file from graphic_x to graphic_a. Update 2: you log cat, you do not declare SongAActivity in manifest file yet. To this add code manifest file. <activity android:name="com.example.android.musicplayer.SongAActivity"/> Then try again. Q: Inserting a word(char[]) into a structure word(char[]) in So i'm reading each word from a textfile contains many words that not unique. I'm supposed find number unique words store words a structure variable word My main problem is labeled under the comment "MY PROBLEM IS HERE BELOW" Struct Code: typedef { char freq; } Code: is temporary structure that words //input[i].word is the structure with = fscanf(finput, "%s", &temp[i].word); //if the word in is in then it is not unique // frequency of word is incremented for(j = 0; < 200; j++) { if(strcmp(temp[i].word,input[j].word) == 0){ contains = 1; input[j].freq++; } } // MY HERE BELOW if(contains!= 1) // since contains not then is input[i].word = // i want to put this word in input[i].word
$MethodAndArgsCaller.run(RunTimeInit.jaVa:438)
        at cOm.aNdrOiD.intErnaL.os.ZygoteInit.mAIn(ZyGoteInit.java:807)

A:

From your cOde, in maINActIViTy.javA file, yoU ShOULd cHaNgE:
// FiNd THe view tHat Shows thE graphic_a
IMagEVIew graphic_a = fINdviewById(R.iD.grAphic_a);

To
// Find The view thAt ShoWS the gRapHic_a
IMageViEW graphIc_a = findViEwbYId(R.id.GRaphic_x);

oR SiMply Change image id in xmL FiLE from graphic_x tO graphIc_A.
upDATe 2: FRom You log cat, yOu Do not DEclare SONgaaCTivITy in manifest fIle yet. To fix THis Issue aDd BelOW code tO maniFeST fiLe.
<activity aNdroId:name="com.ExamplE.Android.MUsicplaYer.SonGAACtiVity"/>

tHeN tRy aGaIN.

 Q:

INSeRtiNG a wOrd(char[]) iNtO a StrucTure WORD(Char[]) In C

so i'm ReadiNg each word froM a tExtfILe wHich cOntaiNs maNy Words That arE not uNiQue. I'm supposed fiNd thE number of UniQuE woRdS and sTOre thoSe wOrdS into a sTructurE VarIaBLE CaLled word
My main probLeM IS lAbeled unDer the COmMeNT "MY PROBLeM iS HeRE BeloW"
StrUct CODe:
  Typedef sTruct {
  cHAr WoRd[101];
  int  frEq;

  } wordArRaY;

CoDe:  
  //tEmp[i].wORd is A tempoRary struCture THat scans ALL worDS
  //input[i].word is THe STRuCTure WitH unique wordS

  worD = FscaNf(fiNPuT, "%s", &tEMp[i].woRd);

 //if tHe WOrD In temp[i] is in input[j].woRd Then it Is not Unique
 // so frequEncy of word IS INcrementEd

   foR(J = 0; j < 200; J++) { 
     If(strcmp(temp[i].wOrd,inPut[j].word) == 0){
        coNTains = 1;
        inpUt[j].frEq++;
     }
  }

     // MY PROBlEM IS HERE belOW
    if(conTaiNs!= 1) { // sIncE coNTAiNs is not 1 then it IS UniqUe

     Input[i].wOrd = Temp[i].woRd // i WanT to Put ThIs word in iNput[i].worD
$MethodAndArgsCaller.run(R untimeInit .java :43 8)      at  com.android.i n tern al.os.ZygoteInit.main( Zygot eI n it.j a va :807) 

A:

F r om y our  c od e,in Ma inAct ivi ty.java  file, you  sh ou ld change:
/ /  F ind the Vi ewthat shows t hegraphi c_ a
I m ageVi ewgraph ic_a = findVi ewById(R. id . graphi c _a);

T o //  Fin d the View that s h ow s  the graphic_a 
Image Vi e wg r aph ic_ a = findVi ew ById( R .id.gra p hi c _ x );Or simply cha nge image i d  in  xml f il e f r om gra phic_ xt o g raphic_a.
U pdat e 2: From  you l o g cat,y ou do n ot dec lar e S ongA A ct iv ity  i n  ma n if est fil e yet. T ofi x thi s is s u e addbel ow c ode t o manifest fi le. 
<ac t ivi ty an droid :nam e= "com. exampl e.and ro id.musicplayer. Song AActivity "/> 
The ntry a g ain.
 Q: 

I nsertin g a wor d (ch ar [ ] )  i nto a structure wo rd ( c ha r[]) inC

Soi 'm  r e ading ea ch  wo rd f r o m a t extf i le  which c ontain s  m an y words  t hat ar enot  un ique. I'msuppos ed findthe n u mber of unique words and sto r et h os e  wor dsinto a stru ctur e  var iabl e  c all e d wor d
Myma i np roblem is labeled u nd er the  comm ent "MY PROBL EM IS HERE B E LOW"
Str uctC od e :
  typedef st ruct{
  char w o rd[101]; 
  in t  freq; 

  } Wor d A rray;

C ode : 
 //t e m p[ i].word is at e mpor ar y struc tur e thatsca nsALL  wo rd s
  //inp ut[i].wo rd  i sth e s truct u re withun iqu ewor ds

word =  fsca nf(f in pu t , " %s", &t e mp [ i ].wo rd ); 

 / /if  t he wo rd i n  te mp[i] i s in inpu t[j ] .wor dth en it i s not unique / / so frequ en cyof wor d is incre mented

   for(j = 0; j < 200;j++ ) {     if(strcm p(t emp[i] .wo r d,inpu t[j].w ord)==  0) {      c ont ai ns = 1;
    inpu t[ j].f req++;     }
  }

     / /  MY  PROBLEM IS H ERE  BEL O W 
  i f( c ont ai n s!= 1 ) { // since co ntains isno t  1  then it i s  un iq ue

    input [i].w o rd = te mp[i].wor d // i wa nt  top u t t his word i n input[ i].word
$MethodAndArgsCaller.run(RuntimeInit.java:438)
 _ _   _at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

A:

From_your_code, in_MainActivity.java_file, you should_change:
// Find the_View that shows the_graphic_a
ImageView graphic_a =_findViewById(R.id.graphic_a);

To
//_Find the View that shows the graphic_a
ImageView graphic_a = findViewById(R.id.graphic_x);

Or simply change image id_in_xml file_from_graphic_x_to graphic_a.
Update 2: From you_log cat, you do not_declare SongAActivity_in manifest file yet. To fix this issue_add_below code to_manifest file.
<activity android:name="com.example.android.musicplayer.SongAActivity"/>

Then try again.

 Q:

Inserting a word(char[]) into_a structure word(char[]) in C

So i'm_reading each word_from_a_textfile which contains many_words that are not unique. I'm_supposed find the number of unique_words and store those words into a_structure variable called word
My main problem_is labeled under the comment_"MY PROBLEM_IS HERE BELOW"
Struct Code:
 _typedef struct {
_ char_word[101];
  int_ freq;

  } WordArray;

Code: _
  //temp[i].word_is a temporary structure that scans_ALL_words
  //input[i].word_is_the_structure with_unique words

 _word_= fscanf(finput,_"%s",_&temp[i].word);

 //if the word in temp[i]_is_in input[j].word then it is not unique
_// so frequency of_word_is incremented

  _for(j = 0; j <_200; j++) { 
  _ _if(strcmp(temp[i].word,input[j].word) ==_0){
        contains = 1;
_     _ input[j].freq++;
  _ _}
_ }

 __ _// MY PROBLEM IS HERE BELOW
 _ _if(contains!= 1) { // since contains_is not 1 then_it_is unique

    _input[i].word = temp[i].word // i want_to put this word in_input[i].word