Mobile Website Automation android

Hi.

I am relatively new to Appium but i loved using it to automate some android applications in java.
Now i need to automate a website on android mobile using java.

I need some guidance on how to set up Appium or the Java code to start running automation tests on android mobile websites.

Thanks in advance

I am using the following code for the emulator.
The same code is opening up Chrome on my desktop and opening the URL specified but when i specify the platformName , deviceName and the other parameters for Appium, it opens the Chrome on my emulator but does not enter any URL…

import java.net.URL;
import java.util.concurrent.TimeUnit;
import io.appium.java_client.AppiumDriver;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.remote.CapabilityType;
import org.openqa.selenium.remote.DesiredCapabilities;

public class Webpage
{
AppiumDriver driver;
@Test
public void foo()
{
System.out.println("–Test Passed–");
}

@Before
public void setUp()
{
	DesiredCapabilities capabilities= new DesiredCapabilities();
	capabilities.setCapability(CapabilityType.BROWSER_NAME,"Chrome");
	capabilities.setCapability("platform","Android");
	capabilities.setCapability("platformName", "Android");
	capabilities.setCapability("deviceName", "Android Emulator");
	capabilities.setCapability("version","4.4.2");
	try
	{
		driver= new AppiumDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
		driver.manage().timeouts().implicitlyWait(80, TimeUnit.SECONDS);
		driver.get("https://www.google.co.in");
	} 
	catch(Exception e) 
	{
		//TODO Auto-generated catch block
		e.printStackTrace();
	}
	//driver.manage().timeouts().implicitlyWait(80, TimeUnit.SECONDS);
}
@After
public void tearDown() 
{
}

}

Use selenium-server-standalone-2.42.2.jar. Worked for me.

@pr4bh4sh

Thanks for the answer…
I have already started working using appium for automating moblie websites with the help of a few tutorials.

Thanks Anyway…

@Ram - Can you give me links for the tutorials?