Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by mayank ( 14 years ago )
package com.mayank.tarak;

import com.mayank.tarak.R;
import com.mayank.tarak.R.id;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.LinearLayout;

public class LiveTVActivity extends Activity  {
 // VideoView videoView;
  Button next;
 // String tarak1 = "IHumrfdyfUk";
 LinearLayout t1, t2,t3,t4,t5,t6,t7,t8;

 /** Called when the activity is first created. */
 @Override
 public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.movielist);

  next=(Button) findViewById(R.id.nextbtn);
  next.setOnClickListener(new OnClickListener() {
   
   public void onClick(View v) {
    // TODO Auto-generated method stub
    
   }
  });
  // videoView = (VideoView) findViewById(R.id.video);
  t1 = (LinearLayout) findViewById(R.id.tarak1);
  t1.setOnClickListener(new OnClickListener() {
   
   public void onClick(View v) {
    // TODO Auto-generated method stub
     Intent intent = new Intent(getApplicationContext(), Tarak1.class);
      startActivity(intent);
      
   }
  });
  
  t2 = (LinearLayout) findViewById(R.id.tarak2);
  t2.setOnClickListener(new OnClickListener() {
   public void onClick(View v) {

    Intent intent = new Intent(getApplicationContext(),Tarak2.class);
    startActivity(intent);

   }
  });
  
  t3 = (LinearLayout) findViewById(R.id.tarak3);
  t3.setOnClickListener(new OnClickListener() {
   public void onClick(View v) {

    Intent intent = new Intent(getApplicationContext(),Tarak2.class);
    startActivity(intent);

   }
  });
  for (int i = 0; i < id.tarak1; i++) 
  {
   
  }

 }

 
}

 

Revise this Paste

Your Name: Code Language: