Hello drop your mail for any query or tutorial for android development. You can also contact me for any android application. Email : androiddevelopmentworld@gmail.com
hi dude,I need some help form you in youtube videos from my channel to be played in my android application after I retrieve them into list view and play the video using onclicklistner here is my question http://stackoverflow.com/questions/16438267/issue-with-onvideoclicklistener-goes-to-youtube-main-page
I have worked with play youtube video from my channel and when user click on perticular video it will play in videoview within application. I will share my code as soon as possible.
It doesnt have any errors ..when i run on my emulator it UNFORTUNATELY STOPS i am trying to make my button when i click it takes me to the next page....kindly help! Here is codes for MyActivity.java
public class MyActivity extends Activity { /** * Called when the activity is first created. */ Button login; Button sign_up; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); login=(Button)findViewById(R.id.Button15); login.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent i = new Intent(MyActivity.this,HomeActivity.class); MyActivity.this. startActivity(i);
} }); sign_up=(Button)findViewById(R.id.signUpButton); sign_up.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent i = new Intent(MyActivity.this,SignUpActivity.class); MyActivity.this. startActivity(i);
} });
}
} and heres my HomeActivity.java - it has buttons linking to other pages
public class HomeActivity extends Activity { /** * Created by eddie kamau on 2/14/14. */ Button button2; Button button3; public void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); setContentView(R.layout.home); button2 = (Button)findViewById(R.id.toEventButton); button2.setOnClickListener(new View.OnClickListener(){ @Override public void onClick(View arg0) { Intent i = new Intent(HomeActivity.this,EventActivity.class); HomeActivity.this. startActivity(i);
} }); button3=(Button)findViewById(R.id.manage_your_guestButton2); button3.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View arg0) { Intent i = new Intent(HomeActivity.this,GuestActivity.class); HomeActivity.this. startActivity(i);
hey , i am developing an android application in which user enter his/her name , phone no , email id , address and then their is a multi selection drop down list for his/her order , and i want all these details to be sent to a particular mail id.
hi dude,I need some help form you in youtube videos from my channel to be played in my android application after I retrieve them into list view and play the video using onclicklistner
ReplyDeletehere is my question
http://stackoverflow.com/questions/16438267/issue-with-onvideoclicklistener-goes-to-youtube-main-page
Hello buddy,
DeleteI have worked with play youtube video from my channel and when user click on perticular video it will play in videoview within application. I will share my code as soon as possible.
Thanks,
Hardik
Answer given Please check at : http://stackoverflow.com/a/16454642/1405983
DeleteHey Hardy !
ReplyDeleteHey Hardy, I have a new problem regarding the scoring system of our game.. Can you please help me with this.. Thanks..
ReplyDeleteYes let me know what is your issue ?
DeleteIt doesnt have any errors ..when i run on my emulator it UNFORTUNATELY STOPS i am trying to make my button when i click it takes me to the next page....kindly help! Here is codes for MyActivity.java
ReplyDeletepackage com.example.INIKO_EVENTS;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class MyActivity extends Activity {
/**
* Called when the activity is first created.
*/
Button login;
Button sign_up;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
login=(Button)findViewById(R.id.Button15);
login.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent i = new Intent(MyActivity.this,HomeActivity.class);
MyActivity.this.
startActivity(i);
}
});
sign_up=(Button)findViewById(R.id.signUpButton);
sign_up.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent i = new Intent(MyActivity.this,SignUpActivity.class);
MyActivity.this.
startActivity(i);
}
});
}
}
and heres my HomeActivity.java - it has buttons linking to other pages
package com.example.INIKO_EVENTS;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class HomeActivity extends Activity {
/**
* Created by eddie kamau on 2/14/14.
*/
Button button2;
Button button3;
public void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.home);
button2 = (Button)findViewById(R.id.toEventButton);
button2.setOnClickListener(new View.OnClickListener(){
@Override
public void onClick(View arg0) {
Intent i = new Intent(HomeActivity.this,EventActivity.class);
HomeActivity.this.
startActivity(i);
}
});
button3=(Button)findViewById(R.id.manage_your_guestButton2);
button3.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent i = new Intent(HomeActivity.this,GuestActivity.class);
HomeActivity.this.
startActivity(i);
}
});
}
}
kindly help
ReplyDeletehey , i am developing an android application in which user enter his/her name , phone no , email id , address and then their is a multi selection drop down list for his/her order , and i want all these details to be sent to a particular mail id.
ReplyDeletecan you provide me the code or any tutorial?
PLEASE HELP