No Downloads just see the publish apk to google
See Here
Tuesday, 4 November 2014
Learn Android in Nineth Day
Download Android Day 9 programs to Practice total files compressed ZIP folder link
http://www.4shared.com/zip/3q6hXaT-ce/DAYNINE.html
Learn Android in Eaith Day
Download Android Day 8 programs to Practice total files compressed ZIP folder link
http://www.4shared.com/zip/qaRVb9Mcce/DAYEIGHT.html
Learn Android in Seventh Day
Download Android Day 7 programs to Practice total files compressed ZIP folder
http://www.4shared.com/zip/x5ggNKm8ba/DAYSEVEN.html
Learn Android in Sixth Day
Download Android Day 6 programs to Practice total files compressed ZIP folder link
http://www.4shared.com/zip/l8EA4QrGba/DAYSIX.html
Learn Android in Fifth Day
Download Android Day 5 programs to Practice total files compressed ZIP folder link
http://www.4shared.com/zip/6yVpe8EZba/DAYFIVE.html
Learn Android In Fourth Day
Download Android Day 4 programs to Practice total files compressed ZIP folder link
http://www.4shared.com/zip/RYFbvDRhce/DAYFOUR.html
day 4 by Shiva Kumar
Learn Android in Third Day
Download Android Day 3 programs to Practice total files compressed ZIP folder link
http://www.4shared.com/zip/XkVbqHBgba/AndroidLifeCycle.html
Day3 by Shiva Kumar
Learn Android in Second Day
Download Android Day 2 programs to Practice total files compressed ZIP folder link
http://www.4shared.com/zip/fBwDlFcLce/HelloAndroid.html
Day2 by Shiva Kumar
Saturday, 25 October 2014
Learn Android First Day
Andriod Day 1 practice programs see below:
1)simple helloworld program.
2)simple Inheritence program.
3)methodoverrididing and overloading examples
4)inner class example program
1 ans)
class Hello
{
public static void main(String args[])
{
System.out.println("hello");
}
}
//**************************************************************//
2)class A {
int x;
int y;
int get(int p, int q){
x=p; y=q; return(0);
}
void Show(){
System.out.println(x);
}
}
class B extends A{
public static void main(String args[]){
A a = new A();
a.get(5,6);
a.Show();
}
void display(){
System.out.println("B");
}
}
//*********************************************
//Overloading
3)class MyClass {
int height;
MyClass() {
System.out.println("bricks");
height = 0;
}
MyClass(int i) {
System.out.println("Building new House that is "
+ i + " feet tall");
height = i;
}
void info() {
System.out.println("House is " + height
+ " feet tall");
}
void info(String s) {
System.out.println(s + ": House is "
+ height + " feet tall");
}
}
public class MainClass {
public static void main(String[] args) {
MyClass t = new MyClass(0);
t.info();
t.info("overloaded method");
//Overloaded constructor:
new MyClass();
}
}
3//overriding
public class Findareas{
public static void main (String []agrs){
Figure f= new Figure(10 , 10);
Rectangle r= new Rectangle(9 , 5);
Figure figref;
figref=f;
System.out.println("Area is :"+figref.area());
figref=r;
System.out.println("Area is :"+figref.area());
}
}
class Figure{
double dim1;
double dim2;
Figure(double a , double b) {
dim1=a;
dim2=b;
}
Double area() {
System.out.println("Inside area for figure.");
return(dim1*dim2);
}
}
class Rectangle extends Figure {
Rectangle(double a, double b) {
super(a ,b);
}
Double area() {
System.out.println("Inside area for rectangle.");
return(dim1*dim2);
}
}
4)//inner class program
public class NestedClass{
private String outer = "Outer Class"; //NestedClass instance variable
InnerClass innerClass = new InnerClass();
void getOuterS(){
System.out.println(outer);
}
void getInnerS(){
System.out.println(innerClass.inner);
}
class InnerClass{
private String inner = "Inner Class"; //InnerClass instance variable, uninitialized
void getInnerS(){
System.out.println(inner);
}
void getOuterS(){
System.out.println(NestedClass.this.outer);
}
}
public static void main(String[] args){
NestedClass nestedClass = new NestedClass();
NestedClass.InnerClass nestedInner = nestedClass.new InnerClass();//can also be new NestedClass().new InnerClass ();
nestedClass.getOuterS();
nestedClass.getInnerS();
nestedInner.getInnerS();
nestedInner.getOuterS();
}
}
5)how to install android environment in eclipse ide.
Subscribe to:
Posts (Atom)