tag:blogger.com,1999:blog-56978924470727796482024-03-21T06:18:39.364-07:00I M RubelJava / Android Developer, Trainer, Writer, SpeakerAnonymoushttp://www.blogger.com/profile/12881479705237357530noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-5697892447072779648.post-84560577005044996292015-02-18T12:25:00.004-08:002015-02-18T12:32:50.699-08:00JAVA Tutorial : Thread , Multi Thread Example<div dir="ltr" style="text-align: left;" trbidi="on">
Today, we are going to learn about Thread in JAVA.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuPcaWLNgbqYPodpla0so7_QNWryANnrvfveuS9M3PZUIBKiNyjUFQR3a9ujX-0Rqn9a7HHokojZ2P0QpvQKatPBngtXEUa7lr0Jv9PAEgvWMZce-q9ZRwJ97Sn9zcI1E-GtJMAiZEqclx/s1600/java+thread+example.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuPcaWLNgbqYPodpla0so7_QNWryANnrvfveuS9M3PZUIBKiNyjUFQR3a9ujX-0Rqn9a7HHokojZ2P0QpvQKatPBngtXEUa7lr0Jv9PAEgvWMZce-q9ZRwJ97Sn9zcI1E-GtJMAiZEqclx/s1600/java+thread+example.PNG" height="326" width="400" /></a></div>
<br />
<br />
<h2>
simpleThread.java Class </h2>
<br />
<br />
<pre class="brush: csharp"> public class simpleThread implements Runnable {
/*
What is Thread in JAVA Programming?
Ans: Thread is a path of execution within a program. Multi Threading is multiple path
of execution at the same time. Thread is a way, how your computer allows you to do
multiple things at once. This is the simplest definition of thread.
Now, how we will be working with Thread in practice?
Step 1: Creating a thread object from thread class
Step 2: Then we will start thread
Step 3: Just to start, thread will look for RUN method.
Step 4: While finds run method, the code into the RUN method
will be executed.
we will be implementing Runnable interface here.
* */
public static void main(String[] args) {
System.out.println("Downloading two files..:");
// we are creating a thread object below
Thread t1 = new Thread() {
/*
After t1.start , execution comes here to look for run
Then the codes in run should be executed.
*/
public void run() {
for (int k = 0; k <= 20; k++) {
System.out.println("File 1 downloaded " + k * 5 + "%");
try {
// Let the thread sleep for 1200 mili seconds.
sleep(1200);
} catch (InterruptedException threadExep) {
threadExep.printStackTrace();
}
}
}
};
// now, this will call run method
t1.start();
Thread t2 = new Thread() {
public void run() {
for (int k = 0; k <= 20; k++) {
System.out.println("File 2 Downloaded " + k * 5 + "%");
try {
sleep(1000);
} catch (InterruptedException threadExep) {
threadExep.printStackTrace();
}
}
}
};
t2.start();
/*
Using Runnable Interface(run method must be overridden):
Step 1: We will Create an object of the class. Which is obj1 here.
Step 2: Create a thread object and pass the class object through it
Step 3: Start the thread, do operation.
*/
simpleThread obj1 = new simpleThread();
Thread t3 = new Thread(obj1);
t3.start();
/*
This can be written as:
Thread t3 = new Thread(new simpleThread());
t3.start();
* */
}
@Override
public void run() {
for (int p = 0; p <= 10; p++) {
System.out.println("This is my T3 thread!");
}
}
}
/*
What we are doing here:
Creating couple of thread T1, T2. Then both starts and prints a for loop
while both sleeps for 1200 and 1000 mili seconds respectively.
See the outputs!
*/
</pre>
<pre class="brush: csharp">
</pre>
<pre class="brush: csharp">
</pre>
<h2 style="text-align: left;">
<br /></h2>
<h2 style="text-align: left;">
<br /></h2>
<h2 style="text-align: left;">
Output is:</h2>
<div>
<br /></div>
<div>
<div>
Downloading two files..:</div>
<div>
File 1 downloaded 0%</div>
<div>
File 2 Downloaded 0%</div>
<div>
This is my T3 thread!</div>
<div>
This is my T3 thread!</div>
<div>
This is my T3 thread!</div>
<div>
This is my T3 thread!</div>
<div>
This is my T3 thread!</div>
<div>
This is my T3 thread!</div>
<div>
This is my T3 thread!</div>
<div>
This is my T3 thread!</div>
<div>
This is my T3 thread!</div>
<div>
This is my T3 thread!</div>
<div>
This is my T3 thread!</div>
<div>
File 2 Downloaded 5%</div>
<div>
File 1 downloaded 5%</div>
<div>
File 2 Downloaded 10%</div>
<div>
File 1 downloaded 10%</div>
<div>
File 2 Downloaded 15%</div>
<div>
File 1 downloaded 15%</div>
<div>
File 2 Downloaded 20%</div>
<div>
File 1 downloaded 20%</div>
<div>
File 2 Downloaded 25%</div>
<div>
File 2 Downloaded 30%</div>
<div>
File 1 downloaded 25%</div>
<div>
File 2 Downloaded 35%</div>
<div>
File 1 downloaded 30%</div>
<div>
File 2 Downloaded 40%</div>
<div>
File 1 downloaded 35%</div>
<div>
File 2 Downloaded 45%</div>
<div>
File 1 downloaded 40%</div>
<div>
File 2 Downloaded 50%</div>
<div>
File 1 downloaded 45%</div>
<div>
File 2 Downloaded 55%</div>
<div>
File 1 downloaded 50%</div>
<div>
File 2 Downloaded 60%</div>
<div>
File 2 Downloaded 65%</div>
<div>
File 1 downloaded 55%</div>
<div>
File 2 Downloaded 70%</div>
<div>
File 1 downloaded 60%</div>
<div>
File 2 Downloaded 75%</div>
<div>
File 1 downloaded 65%</div>
<div>
File 2 Downloaded 80%</div>
<div>
File 1 downloaded 70%</div>
<div>
File 2 Downloaded 85%</div>
<div>
File 1 downloaded 75%</div>
<div>
File 2 Downloaded 90%</div>
<div>
File 2 Downloaded 95%</div>
<div>
File 1 downloaded 80%</div>
<div>
File 2 Downloaded 100%</div>
<div>
File 1 downloaded 85%</div>
<div>
File 1 downloaded 90%</div>
<div>
File 1 downloaded 95%</div>
<div>
File 1 downloaded 100%</div>
</div>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com15tag:blogger.com,1999:blog-5697892447072779648.post-86268672744813848172015-02-05T00:26:00.002-08:002015-02-05T00:26:30.866-08:00JAVA Tutorial: What is Encapsulation? With Example Codes<div dir="ltr" style="text-align: left;" trbidi="on">
Hi to All!<br />
Today we are going to learn another JAVA OOP concept which is Encapsulation. Let's Start:<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-r8UIDf6nVc9OKVdTfhmQjOOu6pwjzg3Na6K-ujKp-Yr1f_f5aPjCu_Ll-FTafrPuX45Etzwdm9vxup-XUGtgD00vb0wVtbGeL9FKwtYkSBnZC4w2NNUZ6gmBbgtcVObBHvZXH__iqBxU/s1600/Encapsulation.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-r8UIDf6nVc9OKVdTfhmQjOOu6pwjzg3Na6K-ujKp-Yr1f_f5aPjCu_Ll-FTafrPuX45Etzwdm9vxup-XUGtgD00vb0wVtbGeL9FKwtYkSBnZC4w2NNUZ6gmBbgtcVObBHvZXH__iqBxU/s1600/Encapsulation.PNG" height="191" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Encapsulation in JAVA</td></tr>
</tbody></table>
<br />
Let's go through the files:<br />
<br />
<br />
<h3 style="text-align: left;">
1. myEncapsulation.java Class</h3>
<div>
<br /></div>
<pre class="brush: csharp">/*
What is Encapsulation?
Ans: Encapsulation is something like hiding data.
Encapsulation is a system by which we can keep things in a class secret( private )
and access those through public methods from other class.
If anything in a class declared private, that can't be accessed outside the
class. More or less it's like reducing the dependency of our encapsulated class.
Advantage of Encapsulation is, if you need to change the codes, as because of
less dependency you don't have to work much for modification.
*/
public class myEncapsulation {
public static void main(String[] args) {
// Now we will create object of our EncapsulationMethods class.
EncapsulationMethods bankDetails = new EncapsulationMethods();
/*
I'm going to access the encapsulated class through creating object
and the fields which are kept private in that class like
bankBalance,accountNo.
*/
bankDetails.AccountHolderByName("Mosharrof Rubel");
bankDetails.FindAccountByName("Jakir Hossain");
bankDetails.BalanceCheckByPin(1234);
/*
The printed output are:
Name of the account holder is: Mosharrof Rubel
Jakir Hossain is the account holder & Encapsulated account no is: 420
Pin is: 1234 and Encapsulated balance is: 119273.78 BDT
*/
}
}
</pre>
<br />
<br />
<h3 style="text-align: left;">
2. EncapsulationMethods.java Class</h3>
<div>
<br /></div>
<pre class="brush: csharp">public class EncapsulationMethods {
// declaring some private variables
private String person;
private double bankBalance;
private int accountNo;
// declaring some public methods
public void AccountHolderByName(String name){
person = name;
System.out.println("Name of the account holder is: "+person);
}
public void FindAccountByName(String name){
accountNo = 420;
System.out.println(name+" is the account holder & Encapsulated account no is: "+accountNo);
}
public void BalanceCheckByPin(int pin){
bankBalance = 119273.78;
System.out.println("Pin is: "+pin+ " and Encapsulated balance is: "+ bankBalance+" BDT");
}
}
</pre>
<br />
<br />
<a href="http://imrubel.blogspot.com/2014/08/what-are-actually-taught-in-computer.html" target="_blank"><span style="color: #3d85c6;">Read More: What are actually taught in computer science and Engineering ( CSE ) ?</span></a></div>
Unknownnoreply@blogger.com9tag:blogger.com,1999:blog-5697892447072779648.post-23156593302252372112015-02-04T04:42:00.002-08:002015-02-04T04:42:27.340-08:00JAVA Tutorial : Polymorphism Example Codes, Overriding, Overloading<div dir="ltr" style="text-align: left;" trbidi="on">
<h3 style="text-align: left;">
Polymorphism </h3>
<div>
We are going to create four Java class in our Polymorphism class. Those are:</div>
<div>
<br /></div>
<div>
1. human.java class</div>
<div>
2. women.java class</div>
<div>
3. men.java class</div>
<div>
4. main.java class</div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY5alDtZhSwJITEBab4N4kfb_lIfC0Yk8-HruxwqQEpuUP0R4ysG5JDkIv6OWexU5CkjAeM80a8cgnXqn8vE-SHzzHOLy-AFNE_A48sDXHoz8kweBDSsiE1uYYp3OkUlgElZh9B9bJ0yuf/s1600/polymorphism.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY5alDtZhSwJITEBab4N4kfb_lIfC0Yk8-HruxwqQEpuUP0R4ysG5JDkIv6OWexU5CkjAeM80a8cgnXqn8vE-SHzzHOLy-AFNE_A48sDXHoz8kweBDSsiE1uYYp3OkUlgElZh9B9bJ0yuf/s1600/polymorphism.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Polymorphism Classes</td></tr>
</tbody></table>
<div>
<br /></div>
<div>
The codes are given below.</div>
<div>
<br /></div>
<h3 style="text-align: left;">
1. human.java</h3>
<div>
<br /></div>
<div>
<br /></div>
<pre class="brush: csharp">package polymorphism;
/*
What is polymorphism ?
Answer: Coming out in different form when needed is called polymorphism.
Polymorphism is a OOP ( Object Oriented Programming concept ). In more words,
Java's polymorphism means the ability of Java's ability utilize objects
depending on their particular data type and class.
This is my super class.
*/
public class human {
public void goodPublic(){
System.out.println(" In java human class "
+ "im printing good human method to understand polymorphism");
}
}
</pre>
<h3 style="text-align: left;">
2. women.java</h3>
<div>
<br /></div>
<div>
<br /></div>
<pre class="brush: csharp">package polymorphism;
// This is my subclass
public class women extends human{
public void goodPublic(){
System.out.println("This is a method printed output from WOmen class");
}
}
</pre>
<h3 style="text-align: left;">
3. men.java</h3>
<div>
<br /></div>
<div>
<br /></div>
<pre class="brush: csharp">package polymorphism;
// this is my subclass
public class men extends human {
public void goodPublic(){
System.out.println("This is a method printed output from men class");
}
}
</pre>
<h3 style="text-align: left;">
4. main.java</h3>
<div>
<br /></div>
<div>
<br /></div>
<pre class="brush: csharp">package polymorphism;
public class main {
public static void main(String[] args) {
/*
Creating object of human class using inheritance OOP concept!
We can create object as below using the inheritance as those sub class
inherits human super class.
In Below,
meHuman,goodMen,goodWomen are reference variable.
human is working as data type.
*/
human meHuman = new human();
human goodMen = new men();
human goodWomen = new women();
/*
Now I'm going to create a Polymorphism array below of the super class
and put the subclass objects there.
*/
human[] polymorphicArray = new human[3];
polymorphicArray[1] = new women();
polymorphicArray[2] = new men();
polymorphicArray[3] = new human();
// Printing those methods from subclass
polymorphicArray[1].goodPublic();
polymorphicArray[2].goodPublic();
/*
Here, this array is a array of polymorphism. This array has the ability
to utilize objects differently depending on data type or class.
*/
}
/*
In final words, if u call a animal Sound super class and cat, dog subclass.
no matter what the animal is working with the animal sound
will return you the real animal sound.
so, animal sound method is working as cat sound once and dog sound once.
That's the different form! That's called polymorphism.
*/
}
</pre>
<b>Overriding:</b> In inherited subclass, if a method uses same name as the method
declared in super class but the different method body is called as overriding.<br />
<br />
<b><br /></b>
<b>Overloading:</b> In inherited subclass, if a method uses same name as the method
declared in super class but the different method body
and different arguments is called as Overloading.<br />
<br />
<br />
<br />
<a href="http://imrubel.blogspot.com/2014/08/what-are-actually-taught-in-computer.html" target="_blank"><span style="color: red;">Read More: What are actually taught in computer science and Engineering ( CSE ) ?</span></a></div>
Unknownnoreply@blogger.com12tag:blogger.com,1999:blog-5697892447072779648.post-47140672130594386592015-02-04T04:39:00.000-08:002015-02-05T00:18:06.052-08:00Java Tutorial: Polymorphism Example Codes, Overriding,Overloading<div dir="ltr" style="text-align: left;" trbidi="on">
<h3 style="text-align: left;">
Polymorphism </h3>
<div>
We are going to create four Java class in our Polymorphism class. Those are:</div>
<div>
<br /></div>
<div>
1. human.java class</div>
<div>
2. women.java class</div>
<div>
3. men.java class</div>
<div>
4. main.java class</div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY5alDtZhSwJITEBab4N4kfb_lIfC0Yk8-HruxwqQEpuUP0R4ysG5JDkIv6OWexU5CkjAeM80a8cgnXqn8vE-SHzzHOLy-AFNE_A48sDXHoz8kweBDSsiE1uYYp3OkUlgElZh9B9bJ0yuf/s1600/polymorphism.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY5alDtZhSwJITEBab4N4kfb_lIfC0Yk8-HruxwqQEpuUP0R4ysG5JDkIv6OWexU5CkjAeM80a8cgnXqn8vE-SHzzHOLy-AFNE_A48sDXHoz8kweBDSsiE1uYYp3OkUlgElZh9B9bJ0yuf/s1600/polymorphism.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Polymorphism Classes</td></tr>
</tbody></table>
<div>
<br /></div>
<div>
The codes are given below.</div>
<div>
<br /></div>
<h3 style="text-align: left;">
<div>
<br /></div>
<div>
<br /></div>
1. human.java</h3>
<pre class="brush: csharp">package polymorphism;
/*
What is polymorphism ?
Answer: Coming out in different form when needed is called polymorphism.
Polymorphism is a OOP ( Object Oriented Programming concept ). In more words,
Java's polymorphism means the ability of Java's ability utilize objects
depending on their particular data type and class.
This is my super class.
*/
public class human {
public void goodPublic(){
System.out.println(" In java human class "
+ "im printing good human method to understand polymorphism");
}
}
</pre>
<div>
<br /></div>
<div>
<br /></div>
<h3 style="text-align: left;">
2. women.java</h3>
<pre class="brush: csharp">package polymorphism;
// This is my subclass
public class women extends human{
public void goodPublic(){
System.out.println("This is a method printed output from WOmen class");
}
}
</pre>
<div>
<br /></div>
<div>
<br /></div>
<h3 style="text-align: left;">
3. men.java</h3>
<pre class="brush: csharp">package polymorphism;
// this is my subclass
public class men extends human {
public void goodPublic(){
System.out.println("This is a method printed output from men class");
}
}
</pre>
<div>
<br /></div>
<div>
<br /></div>
<h3 style="text-align: left;">
4. main.java</h3>
<pre class="brush: csharp">package polymorphism;
public class main {
public static void main(String[] args) {
/*
Creating object of human class using inheritance OOP concept!
We can create object as below using the inheritance as those sub class
inherits human super class.
In Below,
meHuman,goodMen,goodWomen are reference variable.
human is working as data type.
*/
human meHuman = new human();
human goodMen = new men();
human goodWomen = new women();
/*
Now I'm going to create a Polymorphism array below of the super class
and put the subclass objects there.
*/
human[] polymorphicArray = new human[3];
polymorphicArray[1] = new women();
polymorphicArray[2] = new men();
polymorphicArray[3] = new human();
// Printing those methods from subclass
polymorphicArray[1].goodPublic();
polymorphicArray[2].goodPublic();
/*
Here, this array is a array of polymorphism. This array has the ability
to utilize objects differently depending on data type or class.
*/
}
/*
In final words, if u call a animal Sound super class and cat, dog subclass.
no matter what the animal is working with the animal sound
will return you the real animal sound.
so, animal sound method is working as cat sound once and dog sound once.
That's the different form! That's called polymorphism.
*/
}
</pre>
<b>Overriding:</b> In inherited subclass, if a method uses same name as the method
declared in super class but the different method body is called as overriding.<br />
<br />
<b><br /></b>
<b>Overloading:</b> In inherited subclass, if a method uses same name as the method
declared in super class but the different method body
and different arguments is called as Overloading.<br />
<br />
<br />
<br />
<a href="http://imrubel.blogspot.com/2014/08/what-are-actually-taught-in-computer.html" target="_blank"><span style="color: red;">Read More: What are actually taught in computer science and Engineering ( CSE ) ?</span></a></div>Unknownnoreply@blogger.com9tag:blogger.com,1999:blog-5697892447072779648.post-55645862307814064782015-02-01T21:29:00.000-08:002015-02-01T21:34:27.943-08:00Java Tutorial - Abstract & Interfaces with Example<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
Hi guys!<br />
Today we are going to learn couple of java OOP ( Object Oriented Programming ) concepts.<br />
Before starting, go through this article: <a href="http://imrubel.blogspot.com/2015/01/java-tutorial-inheritance-example-codes.html" target="_blank">JAVA Tutorial : Inheritance Example Codes</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIkRWamrjTzUYgRapv0wTOsE9hds2PscJE509rZYrx2ghVJJ2G_t5wm5a4uuOeEV3rTyYWlEocRu1RDsA0jS9W3snn9akaf80ojRjFjtbZT6HWbxyHrD7uE0yWNXs9ap2Xi8Lr3tYoGq16/s1600/java+interface.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIkRWamrjTzUYgRapv0wTOsE9hds2PscJE509rZYrx2ghVJJ2G_t5wm5a4uuOeEV3rTyYWlEocRu1RDsA0jS9W3snn9akaf80ojRjFjtbZT6HWbxyHrD7uE0yWNXs9ap2Xi8Lr3tYoGq16/s1600/java+interface.PNG" height="197" width="320" /></a></div>
<br />
<br />
<br />
<h3 style="text-align: left;">
<span style="background-color: #93c47d; color: #cc0000;">Abstract Class and Example in JAVA:</span></h3>
<span style="background-color: #6fa8dc;"><br /></span>
<span style="background-color: #6fa8dc;"><br /></span></div>
</div>
<br />
<pre class="brush: csharp">package interfacez;
/*
This is a simple abstract class. An abstract class is a call of which no object
can be created. Use 'abstract' keyword to make a class abstract.
Methods can be abstract too. If in a class a method is abstract the class must have
to be abstract.
*/
public abstract class myabstractclass {
public static void main(String[] args) {
// TODO Auto-generated method stub
}
/*
An abstract method must not have a body.
In an abstract class you can have a non abstract method.
*/
abstract public void specialAbstractMethod();
}
</pre>
</div>
<br />
<h3 style="text-align: left;">
<span style="background-color: #b6d7a8; color: red;">Java interface: Creating Java Interface</span></h3>
<span style="background-color: #6fa8dc;"><br /></span>
<span style="background-color: #6fa8dc;"><br /></span>
<br />
<pre class="brush: csharp">package interfacez;
/* This is my interface. I will inherit this from my main class.
This is also the java super class for my main class from which i will
call this file and access those methods.
*/
public interface createinterface {
// creating four methods
public void website();
public void android_app();
public void ios_app();
public void windows_app();
}
</pre>
<br />
<h3 style="text-align: left;">
<span style="background-color: #93c47d; color: red;">Java interface: Calling methods from main class</span></h3>
<span style="background-color: #6fa8dc;"><br /></span>
<span style="background-color: #6fa8dc;"><br /></span>
<br />
<pre class="brush: csharp">package interfacez;
/*
Interface is a type that brings behaviors which a class can implement according to its need.
implements keyword is used to implement an interface in a java class.
Interface is a class like thing which is 100% abstract. A class can implement
any number of interfaces that it wants.If needed interface can be extended using
inheritance concept of OOP( Object Oriented Programming. )
*/
public class myinterfaceclass implements createinterface{
public static void main(String[] args) {
/* creating object for my class, so that i can call the methods that have
come from interface.
*/
myinterfaceclass Apps_Object = new myinterfaceclass();
/*
Calling the methods using my object.
*/
Apps_Object.website();
Apps_Object.ios_app();
Apps_Object.android_app();
Apps_Object.windows_app();
}
/*
Overriding the abstract methods that have come from interface.
*/
public void website(){
System.out.println("Java tutorials on my website.");
}
public void android_app(){
System.out.println("PHP tutorials on my android app.");
}
public void ios_app(){
System.out.println("JavaScript tutorials on my iOS App.");
}
public void windows_app(){
System.out.println("C Sharp ( C# ) on my windows app.");
}
}
</pre>
Hope this helps you! don't forget to share and subscribe!<br />
<br />
<h3 style="text-align: left;">
<a href="http://imrubel.blogspot.com/2014/09/differences-between-programmers-and.html">Read More: Differences Between Programmers and Coders</a></h3>
</div>
Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-5697892447072779648.post-15108232453462138322015-01-28T01:31:00.000-08:002015-01-28T01:31:58.358-08:00JAVA Tutorial : Inheritance Example Codes<div dir="ltr" style="text-align: left;" trbidi="on">
Today we are going to learn Inheritance in JAVA. I've created four java class file. Those are:<br />
<br />
1. fatherswealth.java ( Superclass )<br />
2. lawyer.java ( Main Class )<br />
3. myself.java ( Subclass )<br />
4. mybrother.java ( Subclass )<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF1gnBOkBch8878jYzLyXfE84-WWGH_XV8rG48T53RdtjzWyhqL2HooIDZGEt0duH6N4_kqq0CZqW9BHrRXSFtO8WeCSzd7kusKRedq6Z22nATAbYJ0jQdpYd_CdFYneXS8FW6pcZ4EwS5/s1600/inheritence.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF1gnBOkBch8878jYzLyXfE84-WWGH_XV8rG48T53RdtjzWyhqL2HooIDZGEt0duH6N4_kqq0CZqW9BHrRXSFtO8WeCSzd7kusKRedq6Z22nATAbYJ0jQdpYd_CdFYneXS8FW6pcZ4EwS5/s1600/inheritence.PNG" height="282" width="400" /></a></div>
<br />
<br />
<br />
<span style="color: red;">Here are the codes:</span><br />
<br />
<span style="color: red;">1. fatherwealth.java</span><br />
<br />
<blockquote class="tr_bq">
/*<br /><blockquote>
Inheritance means inheriting stuffs ( variables, methods etc ) from other class.<br /> <br /> Why inheritance is important?<br /> Well, if we need same stuffs for many classes. We need to write code in every class<br /> rather doing that we will write same thing in one class and access that from other<br /> class through inheritances.<br /><br /> */<br />package myinheritence;<br />//my java super class<br />public class fatherswealth {<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>public static void fatherswealth() {<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>// TODO Auto-generated method stub<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>System.out.println("My car, flat, lands all are for my two sons!");<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />}</blockquote>
</blockquote>
<div>
<br /></div>
<div>
<br /></div>
<div>
<span style="color: red;">2. myself.java </span></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<blockquote class="tr_bq">
package myinheritence;<br /><blockquote>
//my Java Sub class<br />public class myself extends fatherswealth{<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>/* in java writing Extends after class name means, you are inheriting.<br /><span class="Apple-tab-span" style="white-space: pre;"> </span> * Here we are going to inherit everything from the fathers Wealth class.<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>*/<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>public void fromFather(String[] args) {<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>//System.out.println("my father says, ");<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />}</blockquote>
</blockquote>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<span style="color: red;">3. mybrother.java </span></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<blockquote>
package myinheritence;<br />/* This is my my java subclass.<br /><br /> Note: we will inherit a class by using the keyword EXTENDS<br /><br /><br />*/<br />public class mybrother extends fatherswealth{<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>// in this mybrother class we are also inheriting the class fatherswealth<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>public void fromFather(String[] args) {<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>System.out.println("printing from mybrother dot java class, My father says, ");<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>// calling by the power of inheritance<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>fatherswealth fb= new fatherswealth();<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>fb.fatherswealth();<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>// we can use super keyword to call also from super class<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>super.fatherswealth();<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>System.out.println("Ends printing frtom my brother dot java class");<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>}<br /><blockquote class="tr_bq">
}</blockquote>
</blockquote>
<br />
<br />
<br />
<br />
<span style="color: red;">4. lawyer.java</span><br />
<br />
<br />
<blockquote>
package myinheritence;<br />public class lawyer {<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>public static void main( String[] args ) {<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>/*<br /><span class="Apple-tab-span" style="white-space: pre;"> </span> Now i will create the object from the myself class to access the class.<br /><span class="Apple-tab-span" style="white-space: pre;"> </span> as the class is inherited, i can access the fatherwealth class through mybrother class<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>*/<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>myself meObj = new myself();<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>mybrother myBro = new mybrother();<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>/* object and method name separated by dot for printing the outcomes which are<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>inherited from the fatherwealth class<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>*/<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>// calling inheritance for my brother.<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>myBro.fromFather(args);<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>myBro.fatherswealth();<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>// calling inheritance from me<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>meObj.fromFather(args);<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>meObj.fatherswealth();<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>/*<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>if you use the java Static keyword in method, you can access it without creating object.<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>i used static keyword in fatherswealth class, so i can call it without object like below example.<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>*/<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>fatherswealth.fatherswealth();<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />}<br />/* Note 1: only public methods can be inherited.<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>Note 2: If you want to keep one method as same as inherited class, you can write that in your subclass by overriding.<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>Note 3: If you inherit a superclass and that superclass inherits another class. then you will access your immediate superclass<br /><span class="Apple-tab-span" style="white-space: pre;"> </span>and also the superclass that your superclass accessed.<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>Note 4: A static and final method can not be overridden.<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span> Note 5: Method overloading deals with the notion of<br /><span class="Apple-tab-span" style="white-space: pre;"> </span> having two or more methods(functions) in the same class with the same name but different arguments.<br /><span class="Apple-tab-span" style="white-space: pre;"> </span><br /><span class="Apple-tab-span" style="white-space: pre;"> </span><br />*/ </blockquote>
</div>
</div>
Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-5697892447072779648.post-61276419362664548032015-01-24T10:12:00.001-08:002015-01-24T10:13:28.788-08:00JAVA Tutorial : Array Example<div dir="ltr" style="text-align: left;" trbidi="on">
Array: An array is something more or less like a container of data. Array container contains same type of data.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikITb9i2tnQjlfwrMD40r3LY0WXCukGVuxxszR9GHD5DC9xE6W6_datnlsRT4Jd_b71-9m5gEw5uUW1kNB_ZR0II53o42HMSai5KbT4zxg8iwmkN6PV_LeanQyH6blL4gMHivzXIhvAVie/s1600/java+array.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikITb9i2tnQjlfwrMD40r3LY0WXCukGVuxxszR9GHD5DC9xE6W6_datnlsRT4Jd_b71-9m5gEw5uUW1kNB_ZR0II53o42HMSai5KbT4zxg8iwmkN6PV_LeanQyH6blL4gMHivzXIhvAVie/s1600/java+array.jpg" height="312" width="320" /></a></div>
<br />
<br />
<br />
<a href="http://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html" target="_blank">Read More from Oracle >> Here!</a><br />
<br />
Java Code for practicing:<br />
<blockquote class="tr_bq">
<blockquote>
<span style="color: #6aa84f;"><i><br /></i><i>import java.util.Arrays;</i></span></blockquote>
</blockquote>
<blockquote class="tr_bq">
<blockquote>
<span style="color: #6aa84f;"><i>public class myarray {</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>public static void main(String [] args) {</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>// declaring an array in java</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>int[] javaArray = new int[10];</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>// array with values</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>String prof[] = {"lawyear", "engineer", "stupoid", "developer"};</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>// allowed but not preferred declaring java array</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>int buy[];</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>buy = new int[10];</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>// java array of numbers, integer</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>int javaNumberArray[] = {2,3,6,7,78,8};</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>int[] [] learn = { {1,2,3}, {4,5,6}, {7,8,9,81}, {10,11, 12} };</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span> </i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>// how to print a java array length</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>System.out.println( " My Java Array leangth: "+ learn.length );</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>int s;</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>for( s=0; s < javaNumberArray.length; s++ ) {</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>System.out.println( "My Array output, according to index is: "+ javaNumberArray[s] );</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>}</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>// printing a 2d array in java</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>int p,q;</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>for( p=0; p < learn.length; p++ ) {</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>for(q=0; q< learn[p].length; q++ ) {</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>System.out.println( learn[p][q] );</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>}</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>}</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>for(int n: javaNumberArray) {</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span> System.out.println("My Arrar Java Number is: "+ n);</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>} </i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>int[] seo = {1,2,23,3,3,3,4,4,5,6,67,7,8,89,9,76,4,33,3,32 } ;</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>// print a java array in one line</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>System.out.println( "Size of SEO ArrAy is: "+ Arrays.toString(seo)) ;</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>// print a java 2d ( 2 dimentional ) array in one line</i></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>System.out.println( "Size of 2D Learn ArrAy is: "+ Arrays.deepToString(learn)) ;</i></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: #6aa84f;"><i> </i></span></span><br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>}<span class="Apple-tab-span" style="white-space: pre;"> </span></i></span><br />
<span style="color: #6aa84f;"><i>}<span class="Apple-tab-span" style="white-space: pre;"> </span></i></span><br />
<span style="color: #6aa84f;"><i><br /></i></span>
<span style="color: #6aa84f;"><i><br /></i></span>
<br />
<span style="color: #6aa84f;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span></i><i><br /></i></span></blockquote>
</blockquote>
<br />
<br />
<span style="background-color: red;">Output:</span><br />
<br />
<blockquote class="tr_bq">
<span style="color: #6aa84f;"> My Java Array length: 4</span><br />
<blockquote>
<span style="color: #6aa84f;">My Array output, according to index is: 2<br />My Array output, according to index is: 3<br />My Array output, according to index is: 6<br />My Array output, according to index is: 7<br />My Array output, according to index is: 78<br />My Array output, according to index is: 8<br />1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />81<br />10<br />11<br />12<br />My Arrar Java Number is: 2<br />My Arrar Java Number is: 3<br />My Arrar Java Number is: 6<br />My Arrar Java Number is: 7<br />My Arrar Java Number is: 78<br />My Arrar Java Number is: 8<br />Size of SEO ArrAy is: [1, 2, 23, 3, 3, 3, 4, 4, 5, 6, 67, 7, 8, 89, 9, 76, 4, 33, 3, 32]<br />Size of 2D Learn ArrAy is: [[1, 2, 3], [4, 5, 6], [7, 8, 9, 81], [10, 11, 12]]</span></blockquote>
</blockquote>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com18tag:blogger.com,1999:blog-5697892447072779648.post-33105760274302784862015-01-07T07:18:00.002-08:002015-01-07T07:21:54.334-08:00JAVA Tutorial 1: Getting Started<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
Hello Developers! Being a mobile application developer I must have concern on JAVA language. Just thinking to write a tutorial for you guys too. Work as you think! Let's go..<br />
<br />
JAVA: A very high level object oriented programming language. Java was brought in 1995 ( came from a language named OAK )and created by Sun Microsystems. Java is one of the most used and famous programming languages around the world.<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0ZFXZEhGkKcgQ1ZUmetgktPDVXpcj9oStijAMOYqgv_jD4Jq63FkF0XTUQDSErhNxiSHMjg93qfI21AvNkwexm5_5vVDa-oZSUwB3s5g1iGJsNUpy1JNGGGChEkPbZkQBOMFr2VDU1RgE/s1600/java+logo.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0ZFXZEhGkKcgQ1ZUmetgktPDVXpcj9oStijAMOYqgv_jD4Jq63FkF0XTUQDSErhNxiSHMjg93qfI21AvNkwexm5_5vVDa-oZSUwB3s5g1iGJsNUpy1JNGGGChEkPbZkQBOMFr2VDU1RgE/s1600/java+logo.jpg" height="183" width="320" /></a></div>
<br />
<br />
USES OF JAVA: Java can be used to develop desktop applications, mobile applications ( You will be able to developer Android application by Java ) and web applications.<br />
<br />
CASE SENSIVITY: It's very important point to notice about, JAVA is a very much case sensitive language. You have to be careful while coding in JAVA.<br />
<br />
JAVA SE: It stands for Java Standard Edition. It's widely used for developing portable software applications for web severs and desktop computer environment.<br />
<br />
J2SE: Java 2 Standard Edition<br />
JAVA EE: It stands for Java Enterprise Edition<br />
JAVA ME: It stands for Java Micro Edition<br />
JRE: Java Runtime Environment<br />
JDK: Java Development Kit<br />
JVM: Java Virtual Machine<br />
<br />
Some of JAVA IDE( Integrated Development Environment ): Eclipse, NetBeans, drJAVA etc.<br />
<br />
JAVA Package: It's a system or procedure for keeping Java classes into namespaces. Normally, in our program we call a package when needed. Example of a Java package: java.io , java.lang<br />
<br />
NEEDED TOOLS: JRE / JDK , IDE<br />
<br />
I'm planning to go far with these tutorials, let's see what happen. In next tutorial we'll start coding. But I'm going to show an example of Java code how it looks for you.<br />
<br />
<br />
Example:<br />
<br />
<blockquote class="tr_bq">
<span style="background-color: #ffe599;"><i>public class javaclasswithrubel {<br /><br /> public static void main(String[] args) {</i></span></blockquote>
<br />
<blockquote class="tr_bq">
<span style="background-color: #ffe599;"><i> System.out.println(" hi java developers, my name is rubel. You are visiting www.imrubel.blogspot.com , don't forget to stay connected. ");<br /> </i></span></blockquote>
<br />
<blockquote class="tr_bq">
<span style="background-color: #ffe599;"><i> }<br />}</i></span></blockquote>
<i><br /><br />|| The output of this program will be, “ hi java developers, my name is rubel. You are visiting www.imrubel.blogspot.com , don't forget to stay connected. ”</i><br />
<br />
<span style="background-color: #fff2cc;"><span style="color: red;"><i><a href="http://imrubel.blogspot.com/2014/09/differences-between-programmers-and.html" target="_blank">Read More: Differences Between Programmers and Coders</a></i></span></span><br />
<br />
Share for others, Subscribe for you!</div>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-5697892447072779648.post-3637291559321116422014-12-26T23:44:00.001-08:002015-07-20T10:19:33.609-07:00How to change App Icon in Android Studio?<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Google Play Android Developers! Recently, Google is forcing its developers to use Android Studio rather than using Android Development Tools ( ADT ). We were used to in ADT but now Google thinks it's better to develop in Android Studio. Android Studio came in March 2013. And in one and half years it gets good feedback and Google decides to take application developed in Android Studio for Google Play.<br />
<br />
Watch in Video:<br />
<br />
<br />
<center>
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/Q03nQVEs44Y" width="420"></iframe>
</center>
In ADT we used to set application icon when we were creating the application but that's not same in Android Studio. You have to set that letter. Point is how? Well, I'll show you!<br />
<br />
<span style="background-color: #b6d7a8;"><a href="http://imrubel.blogspot.com/2014/09/career-in-mobile-application.html" target="_blank">Read More: Career in Mobile Application Development for You : My Experience</a></span> <br />
<br />
<br />
If you go to AndroidMenifest.xml file you will be able to see something that I pointed with red arrow. We'll have to change that. <br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyDjlNTzHZAoRNOM1P0NSe_sr4rPtCTotW413q6ngJuPaiWmUidz8l9xQt5NbG4h1CQ4_goyoVEPHIUmx7NBD9odx2Vr62IO-W_Nrey9ITedG5c2dfGwqekNh81RkeFQ3wBeaxMeN35xzw/s1600/changing+android+studio+apps+icon.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="340" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyDjlNTzHZAoRNOM1P0NSe_sr4rPtCTotW413q6ngJuPaiWmUidz8l9xQt5NbG4h1CQ4_goyoVEPHIUmx7NBD9odx2Vr62IO-W_Nrey9ITedG5c2dfGwqekNh81RkeFQ3wBeaxMeN35xzw/s1600/changing+android+studio+apps+icon.jpg" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Changing Android App icon</td></tr>
</tbody></table>
<br />
<br />
<br />
<br />
<br />
<br />
Steps:<br />
<br />
<span style="background-color: #fff2cc;">Step 1: </span>See below Image, and right click on 'res' of your android project. A new window will come up. Keep your mouse cursor on 'New' and select 'Image Asset' from there.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9FIz9v9XeJ6Yy5TJsRAN1-1XxXdJnXxJ448LiwWZMI6yKm9qS07TkqRhhZ8n0BzyIyS4ry616yUYRgTZHcaY1J-sjSOnaIf8kYYHcLV9ckvcuUxEcdym1WfyzAF1qeA6RPH-R5hT0E_ls/s1600/How+to+change+android+studio+icon.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9FIz9v9XeJ6Yy5TJsRAN1-1XxXdJnXxJ448LiwWZMI6yKm9qS07TkqRhhZ8n0BzyIyS4ry616yUYRgTZHcaY1J-sjSOnaIf8kYYHcLV9ckvcuUxEcdym1WfyzAF1qeA6RPH-R5hT0E_ls/s1600/How+to+change+android+studio+icon.jpg" width="317" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Android Studio</td></tr>
</tbody></table>
<br />
<span style="background-color: #fff2cc;">Step 2: </span>Now, see this below image too. From Asset Studio, click on the three dotted area ( red marked ) and that will let you pick your designed icon for this Application. Then, Click next and do the rest.<br />
<br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghdWnNewh80oJbdsstOfAYFiwiBzkBQXZjMlIz7cI3jXAkdMhEWXm65IctnNnHPIUuXEty8jgZ3m1q4ZlPVdEh6_b4V-L9Emx4hSmusMonvMxBEZX4tC7GbSN7QAtxZobIyuNd61APElzg/s1600/Android+Studio+Icon+Change.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="438" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghdWnNewh80oJbdsstOfAYFiwiBzkBQXZjMlIz7cI3jXAkdMhEWXm65IctnNnHPIUuXEty8jgZ3m1q4ZlPVdEh6_b4V-L9Emx4hSmusMonvMxBEZX4tC7GbSN7QAtxZobIyuNd61APElzg/s1600/Android+Studio+Icon+Change.jpg" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Android Studio Developing Environment </td></tr>
</tbody></table>
<br />
Now, after building the application, you'll see the icon you set here.<br />
<br />
Hope this helps you.<br />
Subscribe for you!<br />
Share for others!<br />
Happy developing :) <br />
<br />
<span style="background-color: #b6d7a8;"><a href="http://imrubel.blogspot.com/2014/12/open-up-google-play-android-developer.html" target="_blank">Read More: Open up a Google Play Android Developer Account</a></span></div>
Unknownnoreply@blogger.com50tag:blogger.com,1999:blog-5697892447072779648.post-49979215224002141682014-12-15T23:00:00.000-08:002014-12-15T23:01:00.801-08:00Open up a Google Play Android Developer Account<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Hello developers! Hope you are doing well. Many people are coming to application developing, specially in the Android arena. Now, What! They need a developer account.<br />
<br />
<i>How to Open a Android Developer Account?</i><br />
<br />
A lot of people doesn't have Master card of VISA card for opening a account. But, you can easily do that with<a href="http://www.payoneer.com/" target="_blank"> Payoneer Card</a>.<br />
<br />
There is another way out who doesn't have a <a href="http://www.payoneer.com/" target="_blank">Payoneer Card</a>. What's that? That's <a href="http://www.neteller.com/" target="_blank">Neteller</a>. Neteller is a virtual card which can be used for your purpose of opening up a Google Play account. In Neteller virtual card, you can pick any one Master Card, VISA, American Express coping up with your need. You can take real card too if you apply. But for opening up a Google Play account you don't need a card in hand.<br />
<br />
At first go to <a href="http://www.neteller.com/">www.Neteller.com</a> and open up a account. For any kind of help / suggestion <a href="http://www.netelleraccount.com/open-neteller-account/" target="_blank">go here!</a><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglQDrKU7jiy5ytyLUiDqLXSP1FU-MJjoKrFRXJwyB33fy1IcZ60tdGPry9m4q5IOH657HS0z8vo6-SWyAjqxB99Uu9u_vhygKrTM8Oeb3Tc6WuzeFugM7b2rAY3PMBfHhQu9AhF287lgAz/s1600/neteller.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglQDrKU7jiy5ytyLUiDqLXSP1FU-MJjoKrFRXJwyB33fy1IcZ60tdGPry9m4q5IOH657HS0z8vo6-SWyAjqxB99Uu9u_vhygKrTM8Oeb3Tc6WuzeFugM7b2rAY3PMBfHhQu9AhF287lgAz/s1600/neteller.jpg" height="151" width="400" /></a></div>
<br />
<br />
<br />
You will be given a Secure ID, same that somewhere.<br />
Don't forget to email verify your account. Then, go to your Neteller account. For opening a virtual card, click on Net+ Cards from left side.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyBRXW-UiuGS8ujghbHiOT-LAzxtkl5R15G-vLjh51ch8YJMY9HFDf53mrJixkIDrUnSair2aaos5CDlYmCPgcLuSTRl5DgxpgGt5r2BNei8aKi1GhIE2JM60QSJQmZpE7X9jfQ-bIQec0/s1600/open+neteller+account.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyBRXW-UiuGS8ujghbHiOT-LAzxtkl5R15G-vLjh51ch8YJMY9HFDf53mrJixkIDrUnSair2aaos5CDlYmCPgcLuSTRl5DgxpgGt5r2BNei8aKi1GhIE2JM60QSJQmZpE7X9jfQ-bIQec0/s1600/open+neteller+account.jpg" height="426" width="640" /></a></div>
<br />
<br />
Now, click on Add a Virtual Card and create a card for you. Select any of VISA or Master Card. Put your name and save the information. We need those for our Google Play Developer Account. Not clear? See below example:<br />
<span style="background-color: #fff2cc;"><br /></span>
<span style="background-color: #fff2cc;">Cardholder Name: Mosharrof Rubel</span><br />
<span style="background-color: #fff2cc;">Card Name: 1234 6756 3948 230948</span><br />
<span style="background-color: #fff2cc;">CVC: 199</span><br />
<span style="background-color: #fff2cc;">EXP: 1/80</span><br />
<br />
Now, recharge dollar in your account. Recharge at least $30 USD for being safe. You only need $25 for Google Play account. You can buy dollar from your known personal or any where. Careful about cheating. <br />
<br />
Now, go here in<a href="https://play.google.com/apps/publish/signup/" target="_blank"> Google Play Developer Sign Up</a> site and open your account.<br />
<br />
Hope this helps you!<br />
Subscribe for You!<br />
Share for others!<br />
<br />
Post Credit: <a href="http://tech.jakir.me/" target="_blank">Jakir</a> </div>
Unknownnoreply@blogger.com8tag:blogger.com,1999:blog-5697892447072779648.post-34099430067081470202014-12-01T22:47:00.001-08:002014-12-01T22:47:28.031-08:00Solution to the connection to the server was unsuccessful. (file///android_asset/www/index.html) Problem<div dir="ltr" style="text-align: left;" trbidi="on">
Hello mobile apps developers! if you are developing Mobile application in Phonegap platform. You might face a problem in sometime ' Connection to the server was unsuccessful. (file ///android_asset/www/index.html) '<br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj61BSE6FBDdLI9FKw-CD8AfIomFRXuhbd-e0FhOV6IB-4tfSxBP1lsvSIdmEhuyO-PdC4gqOAARQegJ9ILyxKddReuj95qBWCuiQF4_5-ENuuRd3dzflVlqTuS_qig4ya7EhjgP7sN2IQe/s1600/android+server+connection+problem+phonegap.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj61BSE6FBDdLI9FKw-CD8AfIomFRXuhbd-e0FhOV6IB-4tfSxBP1lsvSIdmEhuyO-PdC4gqOAARQegJ9ILyxKddReuj95qBWCuiQF4_5-ENuuRd3dzflVlqTuS_qig4ya7EhjgP7sN2IQe/s1600/android+server+connection+problem+phonegap.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Phonegap problem</td></tr>
</tbody></table>
<br /><br />Well, I have couple of simple solution for you guys on this note.<br />
<br /><span style="background-color: #ffe599;">Solution 1:</span><br />
This might happen for extended loading time. You can add some time for loading. The problem will be solved. Process of doing that is : <br />
<br />
<blockquote class="tr_bq">
Just after super.loadUrl("file:///android_asset/www/index.html");</blockquote>
Add below line: <br /><br />
<blockquote class="tr_bq">
super.setIntegerProperty("loadUrlTimeoutValue", 7000);</blockquote>
<br />Here, I'm giving 7 seconds to the system for loading the files. You can increase the time. But, users will face some kind of problem here. They will have to wait this amount of time after opening the application. For that I've another solution. I experimented this solution, and this worked nicely. You can give a try too.<br /><br /><span style="background-color: #ffe599;">Solution 2:</span><br />Call a simple HTML file from MainActivity.java and call your ' index.html ' file from that simple HTML file. For that:<br />Firstly, create a new html file naming rubel.html and paste below codes into that file:<br /><br />
<blockquote class="tr_bq">
<blockquote class="tr_bq">
<!doctype html><br /><html><br /> <head><br /> <script><br /> window.location='./index.html';<br /> </script><br /></head><br /> <body><br /> </body><br /></html><br /></blockquote>
</blockquote>
Secondly, Rename the code line super.loadUrl("file:///android_asset/www/index.html"); to super.loadUrl("file:///android_asset/www/rubel.html"); from your MainActivity.java File. And keep the rest same!<br /><br />Now, clean, refresh and build! Hope, this helps you!<br /><br />Comment if you face any problem!<br />Subscribe for you!<br />Share for others!</div>
Unknownnoreply@blogger.com5tag:blogger.com,1999:blog-5697892447072779648.post-38577959218773184882014-11-27T10:43:00.001-08:002014-11-27T10:43:23.617-08:00Recover data / drive from old OS / Ubuntu in Ubuntu OS Commands<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Ubuntu Users!<br />If you have changed your OS and came to new OS like Ubuntu and Ubuntu is not letting you access your old OS HDD ( Hard Disk Drive ) files. It might say something like ' You do not have permission to view this drive or access this drive!<br /><br />Simple way to come out! <br />First go to Disk Utility in your Ubuntu! You can have a look at below image.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL1y7rmpINEPyonzaB_5y4E9jEaAGO3-pirP0wNsASoN8lEq0i4Wc9hv1DeGp89IWEDZGK1he8ghEfEIyvw1MYpSvCzVaFQQMNZDAFL65oCOfwnEwaQjbpUHDlH778qjosFkcBtY9RKgpj/s1600/ubuntu-disk-properties.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL1y7rmpINEPyonzaB_5y4E9jEaAGO3-pirP0wNsASoN8lEq0i4Wc9hv1DeGp89IWEDZGK1he8ghEfEIyvw1MYpSvCzVaFQQMNZDAFL65oCOfwnEwaQjbpUHDlH778qjosFkcBtY9RKgpj/s1600/ubuntu-disk-properties.jpg" height="288" width="400" /></a></div>
<br /><br />Now, you need to create folder for a mount point. Command for that: <br />
<blockquote class="tr_bq">
<blockquote class="tr_bq">
<span style="background-color: #ffe599;"><span style="color: #741b47;">sudo mkdir /media/myrecovereddrive</span></span></blockquote>
</blockquote>
<br />Now, from the disk utility find out the drive location that you want to access. You have to mount that. Suppose, the drive you want to access is in the location '/dev/sda1'<br /><br />Now run below command in your terminal to mount the drive:<br />
<blockquote class="tr_bq">
<blockquote class="tr_bq">
<span style="background-color: #ffe599;"><span style="color: #4c1130;">sudo mount -t ext3 /dev/sda1 /media/myrecovereddrive</span></span></blockquote>
</blockquote>
<br />Now go to the drive and you will be able to access. <br />You might face a problem of permission in to the folder. For Accessing those, run below commands:<br />
<blockquote class="tr_bq">
<blockquote class="tr_bq">
<span style="color: #741b47;"><span style="background-color: #ffe599;">sudo chmod 777 -R /media/myrecovereddrive</span></span></blockquote>
</blockquote>
<br />All folders will be unlocked!<br />
<br />Now, you can unmount the drive! For that, you need to run below command:<br />
<blockquote class="tr_bq">
<blockquote class="tr_bq">
<span style="color: #741b47;"><span style="background-color: #ffe599;">sudo umount /media/myrecovereddrive</span></span></blockquote>
</blockquote>
<br /><br />Hope this helps!<br />Comment if you have any query. Subscribe for more!<br />
<br />
<br />
<h3 style="text-align: left;">
<span style="color: #660000;"><span style="background-color: #ffe599;"><a href="http://imrubel.blogspot.com/2014/09/differences-between-programmers-and.html" target="_blank">Read More: Differences Between Programmers and Coders</a></span></span></h3>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5697892447072779648.post-87471912703142693972014-11-16T11:40:00.001-08:002014-11-16T11:40:12.044-08:00Develop Your First Simple Android Application<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="tr_bq">
<br />Well, one of my friend named OJANA MEGH told me to give some kind of basic Android Application Developing Guideline. So, I decided to write a post in simplest way for understanding for the guys who are new to Android Application Development. I'll offer full source code for you guys too. Here we go:-</div>
<br />
<br />
<br />
<br />
<span style="background-color: #ffd966;"><a href="http://imrubel.blogspot.com/2014/09/career-in-mobile-application.html" target="_blank">Read More: Career in Mobile Application Development for You : My Experience</a></span><br />
<br />
<br />
<br />
<br />
<br />
<br /><br /><br /><span style="background-color: #b6d7a8;">Tools you need for developing your first android Application: </span><br /><br />
1. ADT<a href="http://developer.android.com/sdk/index.html" target="_blank"> ( Download ADT from here )</a><br />2. JRE / JAVA Runtime Environment <a href="http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html" target="_blank">( Download from here )</a><br /><span style="background-color: #b6d7a8;"><br />Updates you need to make: </span><br />
<span style="background-color: #b6d7a8;"></span><br />Open up Eclipse from ADT that you downloaded and extracted. From top menu Click on <span style="background-color: #cfe2f3;">Menu > Window > Android SDK manager</span><br />1. Follow this image: <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6pzK9w3RHkzVd5M8wuYtP6IwN3iAbGixLxD8Y4utG5pnmmXObfHvQo3z_NkzdvtIakMVb9w-NSvP-MQeLSY9OR_pdAuJwfrYXkDagtJZf-YvW2EiNwMkuk2Hvt8_lKgtURH_t4uPFxbkn/s1600/android+sdk+admob+setup+2.PNG" target="_blank">SDK Updates 1</a><br />2. Follow this image: <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiudNH688lUj1tvYg3VLyrCV91CelcNVQIDadRfY0haO9VRRcUp3O_zIM1YV2-N8KlZMZPCnGAJOP4tgHkQOWAc-ugOesk42_6DYQr8Nkcn2Z2fgq2AEKGey1BfpmRXVgMItbH9oJySIXXS/s1600/android+lastest+sdk+setup+process++sdk+manager+2.jpg" target="_blank">SDK Updates 2</a><br />Install those whose are installed here. Restart Eclipse.<br /><br /><span style="background-color: #b6d7a8;">Work Flow:</span><br />1. Go in Eclipse. Press <span style="background-color: #9fc5e8;">Alt+Shift+N</span> , a window will appear. Click on <span style="background-color: #9fc5e8;">Android Application Project</span> for new Android Application Project.<br />2. Give a Application Name, as I named my app '<span style="color: #cc0000;">Simple App With Rubel</span>'. For this project name your project exactly same as my one. Nothing Else needed. <span style="background-color: #9fc5e8;">Click Next</span><br />3.<span style="background-color: #9fc5e8;"> Click Next</span> Again. No need to do anything.<br />4. Here you will place icon for your application. Before starting create a icon and set that as your application icon. I placed the carnivalbd icon here. <span style="background-color: #9fc5e8;">Click next.</span><br />5. <span style="background-color: #9fc5e8;">Click Next </span>here too, no need to do anything again.<br />6.<span style="background-color: #9fc5e8;"> Click on Finish!</span> Your new project created successfully!<br /><br /><br /><br /><span style="background-color: #b6d7a8;">What to do next?</span><br />Well, I want a image of mine on my application and some description below. Then, My facebook and twitter link! Ok with you too? Well, after developing the app, it will look like below one:-<br /><br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0sBmddsIb6ifiLH908SodY2DOoEG8Pv1U3NKNQ7vbMNLfW1qiHX7DAmNUFqZvTlOh8I-PC_3cKoinCuzUeuxozdROFZsPrM95i-AQEzko4CJMA4k2Je6nSg5zvlcoIUvBk1-4KnfpEeNY/s1600/my+first+android+app+avd.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0sBmddsIb6ifiLH908SodY2DOoEG8Pv1U3NKNQ7vbMNLfW1qiHX7DAmNUFqZvTlOh8I-PC_3cKoinCuzUeuxozdROFZsPrM95i-AQEzko4CJMA4k2Je6nSg5zvlcoIUvBk1-4KnfpEeNY/s1600/my+first+android+app+avd.PNG" height="400" width="366" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">My Fitst App</td></tr>
</tbody></table>
<br /><span style="background-color: #b6d7a8;">Follow the below steps:</span><br /><br />1. <span style="background-color: #9fc5e8;">Right click</span> on<span style="color: #cc0000;"> res</span> folder from your project and create a new folder called '<span style="color: red;">drawable</span>'. In drawable folder, keep your image naming '<span style="color: red;">kitten</span>'. Keep a facebook icon naming '<span style="color: #cc0000;">fb</span>' and a twitter icon name '<span style="color: #cc0000;"><span style="background-color: white;">tw</span></span>'. Not clear? Follow the below screenshot.<br /><br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGTJKFdvfl1WXJDb1Le8hoTocPCosWetTR7mhazssLx-qe-pmiXpInaFPcJsQK8u22r0MV539eJijpzDePZr749DdwYoGVEMEzK-gNmyXruwSKgR43jAJ4Ty9X26-gdY8UZCKitwhD-tI5/s1600/first+app+res+drawable.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGTJKFdvfl1WXJDb1Le8hoTocPCosWetTR7mhazssLx-qe-pmiXpInaFPcJsQK8u22r0MV539eJijpzDePZr749DdwYoGVEMEzK-gNmyXruwSKgR43jAJ4Ty9X26-gdY8UZCKitwhD-tI5/s1600/first+app+res+drawable.PNG" height="338" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Drawable Files Setup</td></tr>
</tbody></table>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br /><br /><br /><br />2. Now , place the below codes in your <span style="color: red;">activity_main.xml</span> file. Which is located in <span style="color: red;">Project > res > layout</span> folder.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirv9kDvT0Mp0LLw-crnLwM0T79KYelnWpaNRI9hupdHgRDWU-Z2Bd_aFLHFJPn2NHbUHKzZyhm-Eqb8UrPQg83cdqjt108f9E6Y2eFgLQbBYB6uQzyNTy2l3JM2pIVvZRKRYgATsKk5CTv/s1600/first+app+android+main+xml.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirv9kDvT0Mp0LLw-crnLwM0T79KYelnWpaNRI9hupdHgRDWU-Z2Bd_aFLHFJPn2NHbUHKzZyhm-Eqb8UrPQg83cdqjt108f9E6Y2eFgLQbBYB6uQzyNTy2l3JM2pIVvZRKRYgATsKk5CTv/s1600/first+app+android+main+xml.PNG" height="400" width="257" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Location of activity_main.xml file</td></tr>
</tbody></table>
<br />
<blockquote>
<blockquote class="tr_bq">
<blockquote class="tr_bq">
<span style="background-color: #fff2cc;"><i><span style="color: #0b5394;"><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"<br /> xmlns:tools="http://schemas.android.com/tools"<br /> android:layout_width="match_parent"<br /> android:layout_height="match_parent"<br /> android:paddingBottom="@dimen/activity_vertical_margin"<br /> android:paddingLeft="@dimen/activity_horizontal_margin"<br /> android:paddingRight="@dimen/activity_horizontal_margin"<br /> android:paddingTop="@dimen/activity_vertical_margin"<br /> tools:context="com.example.simpleappwithrubel.MainActivity"<br /> android:background="#2b3c50" ><br /><br /> <LinearLayout<br /> android:id="@+id/linearLayout1"<br /> android:layout_width="wrap_content"<br /> android:layout_height="wrap_content"<br /> android:layout_centerHorizontal="true"<br /> android:layout_marginTop="18dp"<br /> android:gravity="center"<br /> android:orientation="vertical" ><br /><br /> <ImageView<br /> android:id="@+id/imageView1"<br /> android:layout_width="200dp"<br /> android:layout_height="200dp" <br /> android:src="@drawable/kitten" /><br /><br /> <TextView<br /> android:id="@+id/textView1"<br /> android:layout_width="wrap_content"<br /> android:layout_height="wrap_content"<br /> android:text="My Name is Ojana Megh. And I&apos;m developing my first application with Rubel. Visit the site of Rubel here in http://imRubel.blogspot.com"<br /> android:textColor="#f9f9f9"<br /> android:textSize="18dp" /><br /> </LinearLayout><br /><br /> <LinearLayout<br /> android:layout_width="wrap_content"<br /> android:layout_height="wrap_content"<br /> android:layout_below="@+id/linearLayout1"<br /> android:layout_centerHorizontal="true"<br /> android:layout_marginTop="16dp" ><br /> <br /> <ImageButton<br /> android:id="@+id/imageButton1"<br /> android:layout_width="80dp"<br /> android:layout_height="80dp"<br /> android:layout_marginRight="20dp"<br /> android:onClick="fbc"<br /> android:src="@drawable/fb" /><br /> <br /> <ImageButton<br /> android:id="@+id/imageButton2"<br /> android:layout_width="80dp"<br /> android:layout_height="80dp"<br /> android:onClick="twc"<br /> android:src="@drawable/tw" /><br /> <br /> <br /> </LinearLayout><br /><br /></RelativeLayout></span></i></span></blockquote>
</blockquote>
</blockquote>
<br />
<br />
<br /><br />3. Place the below codes in your <span style="color: red;">Project > src > com.example.simpleappwithrubel > MainActivity.java </span>file:<br />
<br />
<blockquote class="tr_bq">
<blockquote class="tr_bq">
<blockquote class="tr_bq">
<i><span style="color: #0b5394;"><span style="background-color: #fff2cc;">package com.example.simpleappwithrubel;<br /><br />import android.app.Activity;<br />import android.content.Intent;<br />import android.net.Uri;<br />import android.os.Bundle;<br />import android.view.View;<br />import android.widget.ImageButton;<br /><br />public class MainActivity extends Activity {<br /><br /> public ImageButton fb,tw;<br /> @Override<br /> public void onCreate(Bundle savedInstanceState) {<br /> super.onCreate(savedInstanceState);<br /> setContentView(R.layout.activity_main);<br /> <br /> <br /> fb = (ImageButton) findViewById (R.id.imageButton1);<br /> tw = (ImageButton) findViewById (R.id.imageButton2);<br /> <br /> }<br /><br /> <br /> <br /> public void fbc(View v) { <br /> <br /> Uri uri = Uri.parse("https://facebook.com/rubel007cse");<br /> Intent intent = new Intent(Intent.ACTION_VIEW, uri);<br /> startActivity(intent);<br /><br /> }<br /> <br /> public void twc(View v) { <br /> <br /> Uri uri = Uri.parse("https://twitter.com/rubel007cse");<br /> Intent intent = new Intent(Intent.ACTION_VIEW, uri);<br /> startActivity(intent);<br /><br /> }<br /> <br /> <br />}</span></span></i></blockquote>
</blockquote>
</blockquote>
<span style="background-color: #ffe599;"><br /></span>
<span style="background-color: #ffe599;"><a href="http://imrubel.blogspot.com/2014/09/google-adsense-guideline-to-success.html" target="_blank">Read More: Google Adsense – Guideline to Success from my Experience</a></span><br />
<br />
<br />4. Click on <span style="color: red;">Window</span> from Menu. Then click on <span style="color: red;">Android Virtual device</span>. Click on <span style="color: red;">Device Definition </span>tab. Then, click on<span style="color: red;"> Create AVD</span> from the right side. Then, Select and place options as shown in below. Then,<span style="color: red;"> click OK</span> OK and come out. ( follow below images )<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2LosRbnM4Sq5p2JQCyZF74fZ1QUWRZkeryObYr5QmHjb5CyCs4PA3_ruyqC-BSgvjMzTgA_hWVfE3P6y5FaUPGSLFHaUbEvfQmObhGfmnfOjEQo4K_J8WcU4zOD6CPnTqVOspFDplUjCj/s1600/creating+avd+in+android.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2LosRbnM4Sq5p2JQCyZF74fZ1QUWRZkeryObYr5QmHjb5CyCs4PA3_ruyqC-BSgvjMzTgA_hWVfE3P6y5FaUPGSLFHaUbEvfQmObhGfmnfOjEQo4K_J8WcU4zOD6CPnTqVOspFDplUjCj/s1600/creating+avd+in+android.PNG" height="329" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Select this from device definition</td></tr>
</tbody></table>
<br />
<br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicR85MGyB3g74oUDBbicCeK55yyRLkMhW4AFxWJ1PW8nmCO4vki9aTaCQxw1VtvghvhdFm3MDtvqsmMtjKd3nWugAh9fw66vxjfEbPstrVkadKEdo4F059xmZuD7UBmZiTSGUIDNBNGyT2/s1600/android+virtual+device.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicR85MGyB3g74oUDBbicCeK55yyRLkMhW4AFxWJ1PW8nmCO4vki9aTaCQxw1VtvghvhdFm3MDtvqsmMtjKd3nWugAh9fw66vxjfEbPstrVkadKEdo4F059xmZuD7UBmZiTSGUIDNBNGyT2/s1600/android+virtual+device.PNG" height="342" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Select yours like this and click ok</td></tr>
</tbody></table>
<br /><br />5. <span style="color: red;">Right click</span> on your project. Find '<span style="color: red;">Run As' > 'Android Application</span>'. Then your project will be built up with apk file. Find the apk folder on <span style="color: #cc0000;"><span style="background-color: white;">workspace > your project > bin</span></span> <span style="background-color: white;"><span></span></span>folder. You can take this apk file to your Android Phone and run this application.<br /><br /><br />We are done! Happy developing! Happy coding!<br />Comment if you face any problem!<br />Subscribe for More!<br />Share for others!<br />
<span style="background-color: #ffe599;"><br /></span>
<span style="background-color: #ffe599;"><a href="http://imrubel.blogspot.com/2014/09/9-ideas-for-career-online-money-making.html" target="_blank">Read More: 9 Ideas for Career ( Online Money Making ) based on your Love</a></span></div>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-5697892447072779648.post-9164982984742054332014-11-10T23:48:00.000-08:002014-11-10T23:48:19.678-08:00Setting up PhoneGap AdMob for Google Play Services SDK<div dir="ltr" style="text-align: left;" trbidi="on">
Well! Hello<a href="http://www.android.com/" target="_blank"> Android</a> Developers! It’s been amazing what Google doing since its birth! But, it’s also some kind of pain to cope up with its updates and newer things. It’s been painful for some people to set up new Admob for PhoneGap in new updated system. Previously we used to use an Admob jar file, but now system has been changed. We’ll see this today. The developers who are from web developing background loves to code work with <a href="http://www.phonegap.com/" target="_blank">PhoneGap</a> for Android Application development.<br /><br /><br /><br /><span style="background-color: #ffd966;">For the post, the first recommendation is reading this post: <a href="http://imrubel.blogspot.com/2014/10/google-play-new-android-sdk-setup-for.html" target="_blank">Google Play New Android SDK Setup for AdMob ( AdSense )</a></span><br /><br /><br />In this post I’ll just show the code placement along with file placement.<span style="background-color: #cfe2f3;"> PhoneGap files placement steps:</span><br /><br /><span style="background-color: #93c47d;">Step 1:</span> Place cordova.js file in your project folder > assets > www > from workspace.<br /><br /><span style="background-color: #93c47d;">Step 2:</span> Place XML folder to your project folder > res from workspace.<br /><br /><br /><br />If you don’t know what I’m talking about, or what is cordova.js file / xml folder, please follow this: <a href="http://phonegap.com/install/">http://phonegap.com/install/</a><br /><br /><br />
<span style="background-color: #ffd966;">Read More: <a href="http://imrubel.blogspot.com/2014/09/9-ideas-for-career-online-money-making.html" target="_blank">9 Ideas for Career ( Online Money Making ) based on your Love</a></span><br />
<br /><span style="background-color: #cfe2f3;"></span>
<br /><span style="background-color: #cfe2f3;"></span>
<span style="background-color: #cfe2f3;"><br />Now, The code placement steps:</span><br /><br /><span style="background-color: #93c47d;">Step 1:</span> First of all, place the below code in import section, for PhoneGap cordova:<br /><br />
<blockquote>
<span style="color: #cc0000;">import org.apache.cordova.DroidGap;</span></blockquote>
<br /><br /><br /><span style="background-color: #93c47d;">Step 2: </span>We need more importing for AdMob Advertisement. Place the below codes in import section too:<br /><br /><blockquote class="tr_bq">
<span style="color: #cc0000;">import com.google.android.gms.ads.*;</span></blockquote>
<br /><br /><br /><span style="background-color: #93c47d;">Step 3:</span> Now rename this line<span style="color: #cc0000;"> ‘public class Second extends Activity ‘</span> to <span style="color: #cc0000;">‘public class MainActivity extends DroidGap</span> ‘ for using Phonegap<br /><br /><br /><br /><span style="background-color: #93c47d;">Step 4:</span> Now declare a private variable ‘<span style="color: #cc0000;">private AdView adView;</span>’ just before onCreate method.<br /><br />Step 5: Into onCreate method place this line<span style="color: #cc0000;"> super.loadUrl("file:///android_asset/www/index.html");</span> right after super.onCreate(savedInstanceState);<br /><br />Step 6: Make the onCreate Method <span style="color: #cc0000;">public </span>from protected.<br /><br /><br /><br />Step 7: Now, place the below codes into onCreate method.<br /><br /><blockquote>
<span style="color: #cc0000;"> // Create the adView. [ www.imrubel.blogspot.com ]<br /><br /> adView = new AdView(this);<br /><br /> adView.setAdSize(AdSize.BANNER);<br /><br /> adView.setAdUnitId("ca-app-pub-bbbbb5816378148090/6054xxxxxxxxx");<br /><br /> LinearLayout layout = super.root;<br /><br /> layout.addView(adView);<br /><br /> // [ www.imrubel.blogspot.com ]<br /><br /> AdRequest request = new AdRequest.Builder()<br /><br /> .addTestDevice(AdRequest.DEVICE_ID_EMULATOR)<br /><br /> .build(); <br /><br /> // [ www.imrubel.blogspot.com ]<br /><br /> // Start loading the ad in the background.<br /><br /> adView.loadAd(request);<br /></span></blockquote>
<br /><br />Replace setAdUnitID with your Ad Code.<br /><br />We are done! Now you can compile and see output. If you are not clear yet, you can follow the below image.<br />
<br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFgrDydIRpjJk4iQ-FWh0z_goC9n96MHNEuepEl4Tu6xjMjBpRjRFvP1FZEFef9-UlsLI85xiop6EeBQFPuEcKAXK3HVHhs9JPZhShensAPOeO2Fs5NTQ2gPpzoMulvqXcrjt4RX0f0fKZ/s1600/google+play+services+admob+setup.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFgrDydIRpjJk4iQ-FWh0z_goC9n96MHNEuepEl4Tu6xjMjBpRjRFvP1FZEFef9-UlsLI85xiop6EeBQFPuEcKAXK3HVHhs9JPZhShensAPOeO2Fs5NTQ2gPpzoMulvqXcrjt4RX0f0fKZ/s1600/google+play+services+admob+setup.PNG" height="502" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">admob ad placement in phonegap for android </td></tr>
</tbody></table>
<br />
<br />
<br />
After successful placement, Admob add will appear like below image. I took a screenshot for you guys.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZaN5GGayeUKKUXaKlJcZDesXiZlXNArpsI4cW3ECRKQsoHkNE9HjKIshnGT9CgdXWJ4N5VAavfUitsF7iv8q_SiZWmajZGAUsqHFrMv63OmYXhmXJeF9Cz1ZB_naXK2T4BrsZLmRTXIK_/s1600/admob+add+placement+with+google+play+services+in+phonegap.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZaN5GGayeUKKUXaKlJcZDesXiZlXNArpsI4cW3ECRKQsoHkNE9HjKIshnGT9CgdXWJ4N5VAavfUitsF7iv8q_SiZWmajZGAUsqHFrMv63OmYXhmXJeF9Cz1ZB_naXK2T4BrsZLmRTXIK_/s1600/admob+add+placement+with+google+play+services+in+phonegap.jpg" height="400" width="225" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">PhoneGap Admob add</td></tr>
</tbody></table>
<br /><br /><br /><span style="background-color: #ffe599;">Read More: <a href="http://imrubel.blogspot.com/2014/11/r-cannot-be-resolved-to-variable-error.html" target="_blank">R cannot be resolved to a variable error in Android Development and Solution</a></span><br /><br />I hope you did it successfully, leave a comment if you face any problem. Share this post for others then others will share something good for you too. Subscribe for more.<br />
<br />
<span style="background-color: #fff2cc;"><a href="http://imrubel.blogspot.com/2014/09/career-in-mobile-application.html" target="_blank">Read More: Career in Mobile Application Development for You : My Experience</a></span></div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-5697892447072779648.post-54650091490154697942014-11-08T23:04:00.000-08:002014-11-08T23:04:59.053-08:00R cannot be resolved to a variable error in Android Development and Solution<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
Hello Android developers! This is one of the common problems in Android Application development. Just previous day, while I was developing 7 March Speech Application, I faced this problem for a awkward reason. Normally, this is not a big problem but this hurts. This could be happening for few reasons. I'll tell about the problems and solution as well as.<br />
Basically, when you start and open a project java automatically generates a folder file called 'gen'. After your build there are a file generated called R.java , but if your have error in somewhere that couldn't be generated and problem appears.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilsxE4nfBK3U0hF_X_ajZF3vRPIf0nCEMwMz70ot7F01vq0FbQ6py_ifLA_34PK1olD1ObqVwESkyjP8czfE06XWdcEw-iqkOn6HScqdx0E4qNziX4yrP_GxAeHJm1uAqF07qLI9EM_eCF/s1600/r+java+file.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilsxE4nfBK3U0hF_X_ajZF3vRPIf0nCEMwMz70ot7F01vq0FbQ6py_ifLA_34PK1olD1ObqVwESkyjP8czfE06XWdcEw-iqkOn6HScqdx0E4qNziX4yrP_GxAeHJm1uAqF07qLI9EM_eCF/s1600/r+java+file.PNG" height="320" width="285" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">R.JAVA file</td></tr>
</tbody></table>
<br />
<br />
<span style="background-color: #fff2cc;">Read More: <a href="http://imrubel.blogspot.com/2014/10/google-play-new-android-sdk-setup-for.html" target="_blank">Google Play New Android SDK Setup for AdMob ( AdSense )</a></span><br />
<br />
<br />
<span style="background-color: #6aa84f;">Point 1: </span>First of all, this happens mostly if you have an error in your any of XML file. So, first check your XML files ( could be in layout folder, because you edit that most ) and solve the red pointed error. Solve the error the problem will be gone.<br />
<br />
<span style="background-color: #6aa84f;">Point 2:</span> Sometimes, after fixing error, this could show up again and again. Just go to Project > clean project and clear the project. You can restart your ADT ( Android development Tools )<br />
<br />
<span style="background-color: #6aa84f;">Point 3: </span>In my previous project, I named 'if' an image and kept it to my resources folder. The problem R cannot be resolved to a variable type appeared for that! As soon as i renamed the file, the problem went away. Clean and build again.<br />
<br />
<span style="background-color: #6aa84f;">Point 4:</span> Name your files careful, like your new XML file, new image. This error could be appearing for that too. Write your resource names in lower case, make sure those are not conflicting with anything. You won't find R cannot be resolved to a variable type anymore.<br />
<br />
<br />
<span style="background-color: #fff2cc;"><a href="http://imrubel.blogspot.com/2014/09/career-in-mobile-application.html" target="_blank">Read More: Career in Mobile Application Development for You : My Experience</a></span><br />
<br />
<br />
<span style="background-color: #6aa84f;">Point 5:</span> Make sure your are working with latest <a href="https://developer.android.com/sdk/index.html?hl=i" target="_blank">SDK ( Software Development Kit )</a>. Go to menu and click on SDK manager. Check if any update are available. If available, make sure you updates those. That could be a reason for this error too.<br />
<br />
<span style="background-color: #6aa84f;">Point 6:</span> Make sure you ADT ( Android Development Tools ) are latest and updated. This could help the error to come up.<br />
<br />
<span style="background-color: #6aa84f;">Point 7:</span> Right click on your project. Go to Java Build Path. Then, in Order and Export tab look for your latest Android version ( Ex: Android 5.0 ), check that and click OK. Then from your<br />
<br />
<span style="background-color: #6aa84f;">Point 8: </span>After making changes don't forget to clean your project and then build.<br />
<br />
<br />
Those are Eight points with eight various problems. You could create a new one and face this problem! Just kidding g :P If you find anything new on this type problem, don’t forget to leave a comment. Share this post for others. Others will help you too.<br />
<br />
Happy Programming, Happy developing!<br />
<br />
<span style="background-color: #fff2cc;">Read More: <a href="http://imrubel.blogspot.com/2014/09/9-ideas-for-career-online-money-making.html" target="_blank">9 Ideas for Career ( Online Money Making ) based on your Love</a></span><br />
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-5697892447072779648.post-66240751893311077292014-10-22T06:53:00.002-07:002014-10-22T06:53:52.563-07:00Google Play New Android SDK Setup for AdMob ( AdSense )<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Mobile Application developers! Ya, Google has moved to a change and we developers will have to cope up with that change. To set up <a href="http://admob.com/" target="_blank">Admob</a> in new updated SDK , we need to do some tasks. Few of them are tricky, so be with me and follow my instruction. I faced some problems and that ruined my few days to fix it. If you follow this , I hope you won't have to face the same way.<br /><br />Previously, we used to use<i> <span style="color: #444444;">GoogleAdMobAdsSdk-6.4.1.jar</span></i> in our application for monetization. But now we have to go up. Now, we don't need any <i>.jar</i> file but update our SDK. I would suggest to download a new one.<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUkDx_XgDrdgAgKRRqFRycl5E64qAVD-6bUxMf1-5Z9nMqe6sb9eUsVq_c2WMDJb-Q5pgOAOd0g5_80mT10mIicapmTGytaZ-RO2EWCF9ruMRvsfkTjeSlYOWH1L3qto-azwzYOjz6fRDJ/s1600/admobsdk.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUkDx_XgDrdgAgKRRqFRycl5E64qAVD-6bUxMf1-5Z9nMqe6sb9eUsVq_c2WMDJb-Q5pgOAOd0g5_80mT10mIicapmTGytaZ-RO2EWCF9ruMRvsfkTjeSlYOWH1L3qto-azwzYOjz6fRDJ/s1600/admobsdk.jpg" /></a></div>
<br /><br />So, Let's start:<br /><br /><span style="background-color: #93c47d;">Task 1: </span>Download the fresh and new <a href="https://developer.android.com/sdk/index.html?hl=i" target="_blank">Android SDK from Here.</a> Make sure, you are using a computer with 64 bit, otherwise it won't show up the Android Virtual Device ( AVD ).<br /><br />Now you need to make some updates. <br /><br /><span style="background-color: #93c47d;">Task 2: </span>Open up eclipse from the Android SDK and go to <span style="color: red;">Window > Android SDK Manager. </span>Or, click on the icon shown in below image.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz6mtWhqRhrHVUbSN46mBZtY-E2hmtwYbXSlz_mv9et4KkukGWr2vsdtxBasANlbNah4ApT15a406BXvwuuiSCE37Fw3GekCu5QEVIpCo6x3pYQJ1tFa578Rrh-IqFSCpV416BbLwuyPqx/s1600/android+lastest+sdk+setup+process++sdk+manager.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz6mtWhqRhrHVUbSN46mBZtY-E2hmtwYbXSlz_mv9et4KkukGWr2vsdtxBasANlbNah4ApT15a406BXvwuuiSCE37Fw3GekCu5QEVIpCo6x3pYQJ1tFa578Rrh-IqFSCpV416BbLwuyPqx/s1600/android+lastest+sdk+setup+process++sdk+manager.jpg" height="175" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Android SDK Manager </td></tr>
</tbody></table>
A new window will show up SDK. Here we will make some updates. Look at the below images, and check
those ( Which are installed in below images ) on your Android SDK Manager and click on<span style="background-color: white;"><span style="color: red;"> <i>Install x packages</i></span></span> after
accepting license agreement.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6pzK9w3RHkzVd5M8wuYtP6IwN3iAbGixLxD8Y4utG5pnmmXObfHvQo3z_NkzdvtIakMVb9w-NSvP-MQeLSY9OR_pdAuJwfrYXkDagtJZf-YvW2EiNwMkuk2Hvt8_lKgtURH_t4uPFxbkn/s1600/android+sdk+admob+setup+2.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6pzK9w3RHkzVd5M8wuYtP6IwN3iAbGixLxD8Y4utG5pnmmXObfHvQo3z_NkzdvtIakMVb9w-NSvP-MQeLSY9OR_pdAuJwfrYXkDagtJZf-YvW2EiNwMkuk2Hvt8_lKgtURH_t4uPFxbkn/s1600/android+sdk+admob+setup+2.PNG" height="340" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">You need to install those Installed Packages</td></tr>
</tbody></table>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiudNH688lUj1tvYg3VLyrCV91CelcNVQIDadRfY0haO9VRRcUp3O_zIM1YV2-N8KlZMZPCnGAJOP4tgHkQOWAc-ugOesk42_6DYQr8Nkcn2Z2fgq2AEKGey1BfpmRXVgMItbH9oJySIXXS/s1600/android+lastest+sdk+setup+process++sdk+manager+2.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiudNH688lUj1tvYg3VLyrCV91CelcNVQIDadRfY0haO9VRRcUp3O_zIM1YV2-N8KlZMZPCnGAJOP4tgHkQOWAc-ugOesk42_6DYQr8Nkcn2Z2fgq2AEKGey1BfpmRXVgMItbH9oJySIXXS/s1600/android+lastest+sdk+setup+process++sdk+manager+2.jpg" height="340" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">You need to install those Installed Packages</td></tr>
</tbody></table>
<br />
<br />
<br />
<br />After installation, restart <a href="https://www.eclipse.org/" target="_blank">Eclipse</a>. Now, we are done with installation.<br />
<br />
<span style="background-color: #93c47d;">Task 3: </span>Now, go to your ADT bundle package on your PC and we need to copy a folder from there. Go to, <span style="color: red;">ADT Bundle > SDK > Extras > Google > google_pay_services_libproject</span> . Look at the file path at the below image. Copy the folder name <span style="color: red;">google-play-services_lib</span>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEZ3vmgcAf1OOLl-IopPt6zYYMsJUxvKgNg5XMFUWQfcHJ_F12J12J_X-0H-0i-hls02mFep2haw8F5yc36I2TMFykqQ6aIzN0rlwv3fevRdUf3gNHTxN5yXaZDDCa9v_R6YRtwE0tntHi/s1600/google+play+admob+setup.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEZ3vmgcAf1OOLl-IopPt6zYYMsJUxvKgNg5XMFUWQfcHJ_F12J12J_X-0H-0i-hls02mFep2haw8F5yc36I2TMFykqQ6aIzN0rlwv3fevRdUf3gNHTxN5yXaZDDCa9v_R6YRtwE0tntHi/s1600/google+play+admob+setup.PNG" height="192" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">See the file path and Copy this folder</td></tr>
</tbody></table>
<br />
<br />
<span style="background-color: #93c47d;">Task 4: </span>Done with copying? Now , we need to paste this folder on the project you are doing or the Application you are developing. Go to Eclipse and in project explorer paste this folder in to <span style="color: red;">your project > libs</span>. Now clear? Follow the below image.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrIzgkdlgZd4qd2moqcmiMY4SkFvvoRl7ShKgTIK9HTR3eudRbDD9o0dKNndJV4wUTraE8h_LWK_LQIKE1i56IUgdHPHRG-l2P0l5o0vQNb1b1WZZa1oUStQLeKhcGQJ3Zgstf99jNLom7/s1600/google+play+admob+sdk+setup.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrIzgkdlgZd4qd2moqcmiMY4SkFvvoRl7ShKgTIK9HTR3eudRbDD9o0dKNndJV4wUTraE8h_LWK_LQIKE1i56IUgdHPHRG-l2P0l5o0vQNb1b1WZZa1oUStQLeKhcGQJ3Zgstf99jNLom7/s1600/google+play+admob+sdk+setup.PNG" height="400" width="342" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Paste the folder into libs</td></tr>
</tbody></table>
<br />
<br />
<br />
<br />
Done with pasting? I guess thats easy! :3<br />
<br />
<span style="background-color: #93c47d;">Task 5: </span>Now, we need to import that file. Look on the top left corner on your eclipse, click on <span style="color: red;">File > Import > Android > Existing Android Code into Workspace</span> . You need to import your full libs folder. Through this window, go to <span style="color: red;">Workspace > Your Project > Libs </span>. Select that and the click OK. Not clear yet? See, below screen shots.<br />
<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmxHONcwPeDCI98aIbqYX8IUfA3LLGsOdX0zdQU-lCjRme3Aeyx9ejTkeJxF-BXNm7fB1pinRYrbl-lV0J5AImP4f0UaRA6p5wf4ILrpb29Q1VrM-ILDA8BQwBVYlbkmp26JmD4K0gNaSW/s1600/android+sdk+setup.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmxHONcwPeDCI98aIbqYX8IUfA3LLGsOdX0zdQU-lCjRme3Aeyx9ejTkeJxF-BXNm7fB1pinRYrbl-lV0J5AImP4f0UaRA6p5wf4ILrpb29Q1VrM-ILDA8BQwBVYlbkmp26JmD4K0gNaSW/s1600/android+sdk+setup.PNG" height="400" width="381" /></a></div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrRZFFvOxQJ25XcvFmOceFQF5pbRhbY_wZBrSo55DVyUezELYEWsTkl-Ppigz_lJMWXTu5tltpcGrIavnV7YE0U6h9UzOogkGZ-bhjPJcNGkfy_S9f6sbV-TMfCzfszg-tIdk3KZO-fabi/s1600/android+sdk+admob+setup.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrRZFFvOxQJ25XcvFmOceFQF5pbRhbY_wZBrSo55DVyUezELYEWsTkl-Ppigz_lJMWXTu5tltpcGrIavnV7YE0U6h9UzOogkGZ-bhjPJcNGkfy_S9f6sbV-TMfCzfszg-tIdk3KZO-fabi/s1600/android+sdk+admob+setup.PNG" height="358" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">After clicking on libs, click OK</td></tr>
</tbody></table>
<br />
<br />
<br />
<br />
<span style="background-color: #93c47d;">Task 6: </span>This very simple. Just <span style="color: red;">check</span> the imported file and click on <span style="color: red;">finish</span>. we are almost done! Below image will help you more,<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz4APsx7h48eYux3lh_orWQNHNQK8yL0093m_QyUCHDS9rwxu6nPbT-6A6llUlQAiWDr_r8d37eOunqgiPtm_eWAtBykleiMM_bQHldFV9NGrSfuKo_WeI4Ae39sWnT40UEkXY0dmYUNqG/s1600/android+new+sdk+admob+setup.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz4APsx7h48eYux3lh_orWQNHNQK8yL0093m_QyUCHDS9rwxu6nPbT-6A6llUlQAiWDr_r8d37eOunqgiPtm_eWAtBykleiMM_bQHldFV9NGrSfuKo_WeI4Ae39sWnT40UEkXY0dmYUNqG/s1600/android+new+sdk+admob+setup.PNG" height="400" width="385" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">See the Root Directory Path</td></tr>
</tbody></table>
<br />
Now, if the Imported file show an error and ask for number of SDK in L ( Android Lollipop ) preview, go there and make it L in the place of 8. Like below image:-<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3GtZoXKNy0czTF1ucgnrZ4uSq6z1I99hyphenhyphenxnNN-Mt3yroSKUGvqG63XCWbjs34DpLAhazy6kToe39Xm61F5N7pnDby076OhsQc_uxfhg0SfgZYyXMvI-svEZHDiVgeypL48Hu6Hdkt2gwT/s1600/change+sdk+version+to++L.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3GtZoXKNy0czTF1ucgnrZ4uSq6z1I99hyphenhyphenxnNN-Mt3yroSKUGvqG63XCWbjs34DpLAhazy6kToe39Xm61F5N7pnDby076OhsQc_uxfhg0SfgZYyXMvI-svEZHDiVgeypL48Hu6Hdkt2gwT/s1600/change+sdk+version+to++L.PNG" height="344" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Buddy, Make it L , replace 8</td></tr>
</tbody></table>
<br />
<br />
<br />
<span style="background-color: #6aa84f;">Task 7: </span>Now, go to your <span style="color: red;">AndroidManifest.xml </span>file, We need to add some permission for showing admob Ads. Add bellow codes after <span style="color: red;"><application /></span><br />
<blockquote class="tr_bq">
<span style="color: #134f5c;"><br /></span>
<pre class="prettyprint"><span style="color: #134f5c;"><span class="tag"><meta-data</span><span class="pln"> </span><span class="atn">android:name</span><span class="pun">=</span><span class="atv">"com.google.android.gms.version"</span><span class="pln">
</span><span class="atn">android:value</span><span class="pun">=</span><span class="atv">"@integer/google_play_services_version"</span><span class="pln"> </span><span class="tag">/></span></span><span class="pln">
</span></pre>
</blockquote>
Then, add another activity code, just after the first activity. Not clear? just copy below codes as the image suggests place:<br />
<blockquote class="tr_bq">
<span style="color: #134f5c;"><br /></span>
<span style="color: #134f5c;"><span class="_5yl5" data-reactid=".12h.$mid=11413983495120=297077ebaa1b0ce9520.2:0.0.0.0.0"><span data-reactid=".12h.$mid=11413983495120=297077ebaa1b0ce9520.2:0.0.0.0.0.0"><span data-reactid=".12h.$mid=11413983495120=297077ebaa1b0ce9520.2:0.0.0.0.0.0.$end:0:$2:0"> <activity android:name="com.google.android.gms.ads.AdActivity" </span><br data-reactid=".12h.$mid=11413983495120=297077ebaa1b0ce9520.2:0.0.0.0.0.0.$end:0:$3:0" /><span data-reactid=".12h.$mid=11413983495120=297077ebaa1b0ce9520.2:0.0.0.0.0.0.$end:0:$4:0"> android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|</span><br data-reactid=".12h.$mid=11413983495120=297077ebaa1b0ce9520.2:0.0.0.0.0.0.$end:0:$5:0" /><span data-reactid=".12h.$mid=11413983495120=297077ebaa1b0ce9520.2:0.0.0.0.0.0.$end:0:$6:0"> screenSize|smallestScreenSize" </span><br data-reactid=".12h.$mid=11413983495120=297077ebaa1b0ce9520.2:0.0.0.0.0.0.$end:0:$7:0" /><span data-reactid=".12h.$mid=11413983495120=297077ebaa1b0ce9520.2:0.0.0.0.0.0.$end:0:$8:0"> /></span></span></span></span></blockquote>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcOay7Oq4C-ApRKs8PYWpX-t4EokAqAoULEWenCkAlsxMPyR18RmsOJjVF1BlKJsG9nxdTedGR0BP9WLEHW1lpuHrOBxgh8SnH_9ZAWGNnV7k8yaTsjTTJh657SK9SEe4e3NTJWbHt__Dx/s1600/admob+sdk+permission+set+up.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcOay7Oq4C-ApRKs8PYWpX-t4EokAqAoULEWenCkAlsxMPyR18RmsOJjVF1BlKJsG9nxdTedGR0BP9WLEHW1lpuHrOBxgh8SnH_9ZAWGNnV7k8yaTsjTTJh657SK9SEe4e3NTJWbHt__Dx/s1600/admob+sdk+permission+set+up.jpg" height="358" width="640" /></a></div>
<br />
<br />
<br />
<span style="background-color: #93c47d;">Task 8: </span> Now, we will place the add codes in our main xml file. Open up , <span style="color: red;">res/layout/activity_main.xml.<span style="color: black;"> See below image. Place <com.google.android.gms.ads.AdView> xml tag as show below and replace, <span style="color: red;">adUnitId</span> with your <span style="color: red;">adUnitId</span> , generated from admob.com</span></span><br />
<span style="color: red;"><br /></span>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfDE0e2OUgpXaKAPVbFvHTPolTkoZuBenL8l-KM0wm__OILEAYYL6ftDHpg22OFYb65pJFIU7RU6qRE2Ezaa-IjRNUFbeFCML15GGfvGvQxeqMmNj3HXGZAUzNK_RrJB24UxDwuoeqG8cY/s1600/google+play+sdk+xml+setup.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfDE0e2OUgpXaKAPVbFvHTPolTkoZuBenL8l-KM0wm__OILEAYYL6ftDHpg22OFYb65pJFIU7RU6qRE2Ezaa-IjRNUFbeFCML15GGfvGvQxeqMmNj3HXGZAUzNK_RrJB24UxDwuoeqG8cY/s1600/google+play+sdk+xml+setup.PNG" height="304" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">go to admob.com and generate an add, get adUnitId</td></tr>
</tbody></table>
<span style="color: red;"><br /></span>
<br />
<span style="color: #6aa84f;"><br /></span>
<span style="background-color: #6aa84f;">Task 9: </span>You XML might be showing some errors till now. Add<span style="color: red;"> xmlns:ads = "http..." </span>line on the <ScrllView> or <RelativeLayout> tag. The errors will be gone!<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuQuAb_Ia1mJlv4EYaE8q4ReExSPZ0eBnNVFBQRBw3Zfw9PFZCNvyWmD_guhiMnPZDcKC5RtwVjz_A-HhFoWs5pPQfpymhUfGqPveuzX8AZdkK0t2CIsveB443YgOW0zVLuMrpJz3QE4DL/s1600/google+play+setup.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuQuAb_Ia1mJlv4EYaE8q4ReExSPZ0eBnNVFBQRBw3Zfw9PFZCNvyWmD_guhiMnPZDcKC5RtwVjz_A-HhFoWs5pPQfpymhUfGqPveuzX8AZdkK0t2CIsveB443YgOW0zVLuMrpJz3QE4DL/s1600/google+play+setup.PNG" height="300" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Add xmlns:adds line</td></tr>
</tbody></table>
<br />
<br />
<span style="background-color: #6aa84f;">Task 10: </span>Go to the <span style="color: red;">MainActivity.java</span> file. And couple of imports at the top :<br />
<br />
<blockquote class="tr_bq">
<div class="_5wd9" data-reactid=".1gb.$mid=11413984721423=2641436185393869e69.2:0">
<div class="_5wde" data-reactid=".1gb.$mid=11413984721423=2641436185393869e69.2:0.0">
<div class="_5wdf _5w1r" data-reactid=".1gb.$mid=11413984721423=2641436185393869e69.2:0.0.0" style="max-width: 172px;">
<div data-reactid=".1gb.$mid=11413984721423=2641436185393869e69.2:0.0.0.0">
<span style="color: #38761d;"><span class="_5yl5" data-reactid=".1gb.$mid=11413984721423=2641436185393869e69.2:0.0.0.0.0"><span data-reactid=".1gb.$mid=11413984721423=2641436185393869e69.2:0.0.0.0.0.0"><span data-reactid=".1gb.$mid=11413984721423=2641436185393869e69.2:0.0.0.0.0.0.$end:0:$0:0">import com.google.android.gms.ads.AdRequest;</span><br data-reactid=".1gb.$mid=11413984721423=2641436185393869e69.2:0.0.0.0.0.0.$end:0:$1:0" /><span data-reactid=".1gb.$mid=11413984721423=2641436185393869e69.2:0.0.0.0.0.0.$end:0:$2:0">import com.google.android.gms.ads.AdView;</span></span></span></span></div>
</div>
</div>
</div>
</blockquote>
<br />
Now, add couple more lines into <span style="color: red;">onCreate</span> method: <br />
<blockquote class="tr_bq">
<br />
<blockquote class="tr_bq">
<span style="color: #6aa84f;"><span class="_5yl5" data-reactid=".1gb.$mid=11413984741414=2478466855431f0d039.2:0.0.0.0.0"><span data-reactid=".1gb.$mid=11413984741414=2478466855431f0d039.2:0.0.0.0.0.0"><span data-reactid=".1gb.$mid=11413984741414=2478466855431f0d039.2:0.0.0.0.0.0.$end:0:$2:0">AdView adView = (AdView)this.findViewById(R.id.adView);</span><span data-reactid=".1gb.$mid=11413984741414=2478466855431f0d039.2:0.0.0.0.0.0.$end:0:$4:0"></span></span></span><span class="_5yl5" data-reactid=".1gb.$mid=11413984741414=2478466855431f0d039.2:0.0.0.0.0"><span data-reactid=".1gb.$mid=11413984741414=2478466855431f0d039.2:0.0.0.0.0.0"><span data-reactid=".1gb.$mid=11413984741414=2478466855431f0d039.2:0.0.0.0.0.0.$end:0:$4:0"></span></span></span> </span></blockquote>
</blockquote>
<blockquote>
<blockquote class="tr_bq">
<span style="color: #6aa84f;"><span class="_5yl5" data-reactid=".1gb.$mid=11413984741414=2478466855431f0d039.2:0.0.0.0.0"><span data-reactid=".1gb.$mid=11413984741414=2478466855431f0d039.2:0.0.0.0.0.0"><span data-reactid=".1gb.$mid=11413984741414=2478466855431f0d039.2:0.0.0.0.0.0.$end:0:$4:0">AdRequest adRequest = new AdRequest.Builder().build();</span><br data-reactid=".1gb.$mid=11413984741414=2478466855431f0d039.2:0.0.0.0.0.0.$end:0:$5:0" /><span data-reactid=".1gb.$mid=11413984741414=2478466855431f0d039.2:0.0.0.0.0.0.$end:0:$6:0"> adView.loadAd(adRequest);</span></span></span></span></blockquote>
</blockquote>
<br />
<br />
Well, I guess we are done! :D<br />
<br />
There the ads should be shown up! Like the below image: -<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMf05C8VTrl7GAfXl5q5SwKbnReChT8_TaZl3dsZUfvLM_w9gGyg5xADQbmErL23F0rwVBixOkRPO6f1pnJzD1jp7Nsvvt518DL2Zhd7UlXaBqVqTTlFZHGYXHCOD78J9uOurlHQ_2aREH/s1600/google+play+ads+setup.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMf05C8VTrl7GAfXl5q5SwKbnReChT8_TaZl3dsZUfvLM_w9gGyg5xADQbmErL23F0rwVBixOkRPO6f1pnJzD1jp7Nsvvt518DL2Zhd7UlXaBqVqTTlFZHGYXHCOD78J9uOurlHQ_2aREH/s1600/google+play+ads+setup.PNG" height="270" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Ads are appearing!</td></tr>
</tbody></table>
<br />
<br />
<span style="background-color: #6aa84f;"> Task 11: </span>If yet not shown, you can go <span style="color: red;">right click on Your Project > Android </span>and select things like below image:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVAIB0Dd84Jbcy5qKR8KgPWhFPU1Zn4DM5oFVQjRQM_8y_F5_YR2JqjYoKscaqPqZOZg6VSn2nFL7bz1ifut8RsY3ZV9QrZ_I4yg4EkawOZSiVv80Hya66HytpmGnHkDgJ6jPRdsh311VB/s1600/admob+setup+sdk.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVAIB0Dd84Jbcy5qKR8KgPWhFPU1Zn4DM5oFVQjRQM_8y_F5_YR2JqjYoKscaqPqZOZg6VSn2nFL7bz1ifut8RsY3ZV9QrZ_I4yg4EkawOZSiVv80Hya66HytpmGnHkDgJ6jPRdsh311VB/s1600/admob+setup+sdk.jpg" height="358" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
I hope no more error left! If you find more errors, go die! Just kidding, you can leave a comment below, I'll try to solve! <br />
<br />
If the post helps you, comment, share for others, subscribe for you and buy me a MacBook Air :P<br />
<br />
<h3 style="text-align: left;">
Read More: <a href="http://imrubel.blogspot.com/2014/09/career-in-mobile-application.html" target="_blank">Career in Mobile Application Development for You : My Experience</a>
<a href="https://www.blogger.com/null" name="2483462070974788757"></a>
</h3>
<div class="bposttitle" style="text-align: left;">
<h3>
</h3>
<h3 class="post-title entry-title">
<br />
</h3>
</div>
</div>
Unknownnoreply@blogger.com5tag:blogger.com,1999:blog-5697892447072779648.post-10592987685613809562014-09-29T12:12:00.001-07:002014-09-29T12:12:52.209-07:00There is no comparison and competition between you and me<div dir="ltr" style="text-align: left;" trbidi="on">
Yah, as the title suggests there is no comparison and competition in
between you and me. The only competition and comparison left is in between
me and myself. Point is why I'm writing or talking about this? I think
this is very important for all of us as we use to compare ourselves
with others. Not only us but specially our family does that so often. Let me give
you guys couple of examples: <br />
<br />
<br />
Example 1 :<span class="text_exposed_show"><br />
You are Simon and you have a friend and neighbor Jony. You both are
from same school and attended in School final exam just few months back. You got 70 percent
marks in all subjects and Jony got 85 percent marks in all same
subjects. Now, your parents and family will start comparison between you
and Jony as you got less marks with same facility. Here, I make my
point, there are no comparison and competition between you ( Jony) and
me ( Simon). The only comparison and competition possible is between
me ( Old Simon) and myself ( Simon with Progress). </span><br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisLjKEmUCgRFX68O5dFl25USd9jV65s15PPJQpjoFkPXdvZjmxYLnKhWXDwxKpBb1vxsGGOl-7Oa9gw3ikLeM13wMFpwYlAJWnN-dqm0KVAUNKv012lfvCsdltk0juee-PmgWP7HodCMg-/s1600/There+is+no+comparison+and+competetion+between+you+and+me.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="There is no comparison and competition between you and me!" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisLjKEmUCgRFX68O5dFl25USd9jV65s15PPJQpjoFkPXdvZjmxYLnKhWXDwxKpBb1vxsGGOl-7Oa9gw3ikLeM13wMFpwYlAJWnN-dqm0KVAUNKv012lfvCsdltk0juee-PmgWP7HodCMg-/s1600/There+is+no+comparison+and+competetion+between+you+and+me.png" height="196" title="There is no comparison and competition between you and me!" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">There is no comparison and competition between you and me!</td></tr>
</tbody></table>
<br />
<span class="text_exposed_show"> </span><br />
<div class="text_exposed_show">
Example 2:<br />
Suppose you are Eric and Bela is your friend and colleague. You and Bela
work in same project at office. Now, Bela is doing much more better
than you in that project. You are noticing that and comparing yourself
with Bela. Bela had good background and she works hard , more than
you. You maybe jealous of her. As a human its obvious to be that. You can
defeat her in couple of ways. One is legal and another one is illegal.
First one is, working hard and doing better than her. The second one is
pretending Bela from doing better which is never legal and highly dis inspired. Here also you shouldn't compare and compete with Bela. Then
what should you do? Well, you can take<b> inspiration</b> from Bela and compare yourself with you and compete with yourself to do better. It's all about making yourself better. Nobody is like nobody!<br />
<br />
<br />
This fact is like finger print. In this planet there are no couple of
people who have same finger print. Everyone has his/her own finger print.
You can't match one with another. <a href="http://www.livescience.com/32247-do-identical-twins-have-identical-fingerprints.html" target="_blank">Not even among the twin babies!</a> So, why should one be compared with another? I personally believe no one is like one one and that's why we should not compete and compare with another. The only competitor we have is our own mentality, mind set. We have to fight with that, beat that and win our own personal race.<br />
<br />
Share for others & Subscribe for yourself.<br />
<br />
Read More: <a href="http://imrubel.blogspot.com/2014/08/body-building-gym-build-your-body-at.html" target="_blank">Body Building ( Gym ) ! Build your body at home!</a></div>
</div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-5697892447072779648.post-49954604882170103372014-09-24T03:02:00.000-07:002014-09-25T00:16:36.916-07:00Why > ( Greater Than Symbol ) is used in CSS?<div dir="ltr" style="text-align: left;" trbidi="on">
<style type="text/css">p { margin-bottom: 0.1in; line-height: 120%; }</style>
<br />
<div style="line-height: 100%; margin-bottom: 0in;">
Yes, the bigger
question is what the heck is this Greater Than Symbol in CSS (
Cascading Style Sheet )! Well, I'm going to explain with example
below.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<i>Read More: <a href="http://imrubel.blogspot.com/2014/09/differences-between-programmers-and.html" target="_blank"> Differences Between Programmers and Coders</a></i></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<h2 style="line-height: 100%; margin-bottom: 0in;">
Why > ( Greater
Than Symbol ) is used in CSS?</h2>
<h2 style="line-height: 100%; margin-bottom: 0in;">
</h2>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg95aqS3DRKK_fxRaJXVndhLPlYX1hWxYXIXkzbrGFBYdSAV5OTGLhNLUSYEZr_zSZC5HldvbFbm4hYvwxskRrtUsKXV2U476Qo7M02BtU5a8jj7-PXREqM8f03ml-1TgHHyqanVwY69BHR/s1600/css+greater+than+sign.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="css greater than symbol" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg95aqS3DRKK_fxRaJXVndhLPlYX1hWxYXIXkzbrGFBYdSAV5OTGLhNLUSYEZr_zSZC5HldvbFbm4hYvwxskRrtUsKXV2U476Qo7M02BtU5a8jj7-PXREqM8f03ml-1TgHHyqanVwY69BHR/s1600/css+greater+than+sign.png" height="288" title="" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">css greater than symbol</td></tr>
</tbody></table>
<h2 style="line-height: 100%; margin-bottom: 0in;">
</h2>
<h2>
</h2>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
Greater Than Symbol
( > ) in CSS is used to indicate child on any parent like division
( <div> </div> ) or such kind of things. It's like you
are indicating a child from a parent. If you are not clear yet, I
would like to give an example:</div>
<h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br />
</h2>
<h2 style="text-align: left;">
</h2>
<h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">
HTML Part:</h2>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"><br /></span>
</div>
<span style="color: #444444;">
</span>
<blockquote class="tr_bq">
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"><html></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"><head></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"></head></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"><body></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> <div></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> <p
class="about_me"> Hi! My name is Rubel! I studied in
Computer Science and Engineering. I worked on Mobile Application,
Google Adsense etc.</p></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> <span></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> <p
class="about_me"> I would like to say something about my
career in this section.</p></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> <span></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> </div></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"></body></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"></html></span></div>
</blockquote>
<h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br />
</h2>
<h2 style="text-align: left;">
</h2>
<h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">
CSS Part ( where we
used greater than symbol ):</h2>
<blockquote class="tr_bq">
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"><style></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> body {</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> background:
#2b3c50;</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> color: #00aee5;</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> }</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> div >
p.about_me {</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"><br /></span>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> color: #fff;</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> height: 200px;</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> width: 400px;</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> border: 1px solid
#888;</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> margin: 0 auto;</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> padding: 30px;</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> }</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> div {</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> color: #888;</span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> } </span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"><br /></span>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="color: #444444;"> </style></span></div>
</blockquote>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">
Template with above Code:</h2>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUmRP4KcCP8R7d4Q2rTpj33W2oav6Cou8NxAtRVCbalTidn96J2lGHex8l9qSrC0fIrd7cIXn0mlmhJRSLhgBHAAuJe0qy7ACWddNYy62KUSsYLLIacWRwNqDQlaJJ9jVgjmx1kH65GLL8/s1600/why+greater+than+used+in+css.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="example of CSS greater than symbol use" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUmRP4KcCP8R7d4Q2rTpj33W2oav6Cou8NxAtRVCbalTidn96J2lGHex8l9qSrC0fIrd7cIXn0mlmhJRSLhgBHAAuJe0qy7ACWddNYy62KUSsYLLIacWRwNqDQlaJJ9jVgjmx1kH65GLL8/s1600/why+greater+than+used+in+css.png" title="example of CSS greater than symbol use" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">example of CSS greater than symbol use</td></tr>
</tbody></table>
<h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br />
</h2>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">
What is the Use of >
( Greater than symbol in CSS ) ?</h2>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
To access all the
direct child of any division ( <div> </div ) or same type
class which is not included in other things like span ( <span>
</span> ).
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
In the second
paragraph class ( in to the <span> </span> ), that
doesn't allows the CSS codes written in “ div > p.about_me ”
class as that is not the direct class of division ( <div>
</div> ) for being in span ( <span> </span> ).</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
You can see, though
both paragraph are named same ( about_me ) second one is not running
as the same way of first paragraph and that is because the use of
Greater Than Symbol in CSS.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<i>See more: <a href="http://imrubel.blogspot.com/2014/09/artcell-html-css-responsive-template.html" target="_blank">Artcell HTML / CSS Responsive Template</a></i></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
If you are loving
these article, don't forget to share for others and subscribe for
yourself to get more.</div>
</div>
Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-5697892447072779648.post-75642110780966137332014-09-19T09:40:00.001-07:002014-09-19T09:40:07.541-07:00Artcell HTML / CSS Responsive Template<div dir="ltr" style="text-align: left;" trbidi="on">
Just done with a new template with HTML/CSS. Artcell, one of my favorite bands. I've developed a template for them with my developers team using simple HTML/CSS coding. And of course the template is supported in all kind of devices!<br />
<br />
Browser Support:<br />
- Google Chrome / Chromium<br />
- Mozilla Firefox<br />
- Internet Explorer<br />
- All kind of Mobile Devices<br />
- All kind of Tablets<br />
<br />
Here is the look of the Responsive Artcell HTML/CSS Template:<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6b7UM5WzlW5Rjf6ozIbfBjDaakh0J9fpayi8ZZm739e5CF1pQp0xzzPBJK_EeSPhm4tDPX0Gfm7vdV-r1fQ_JP157kEwNlbEdK1pJvO2Jkv5ANbbXNgDutSd34-00UukW9QfUHMkgYZXn/s1600/artcell-html-css-responsive-template.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6b7UM5WzlW5Rjf6ozIbfBjDaakh0J9fpayi8ZZm739e5CF1pQp0xzzPBJK_EeSPhm4tDPX0Gfm7vdV-r1fQ_JP157kEwNlbEdK1pJvO2Jkv5ANbbXNgDutSd34-00UukW9QfUHMkgYZXn/s1600/artcell-html-css-responsive-template.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">HTML/CSS Artcell Responsive Template</td></tr>
</tbody></table>
<br />
<br />
<br />
<u><br /></u>
<u>Here is the HTML Part: </u><br />
<br />
<blockquote class="tr_bq">
<span style="color: #666666;"><i><html>
<br /><head>
<br /><link href="style.css" rel="Stylesheet"/>
<br /></head>
<br /><body>
<br /><br /><div class="wrapper">
<br /> <div class="top_bar">
<br /> <h2> ARTCELL</h2>
<br /> </div>
<br /> <div class="text_area">
<br /> <p> <br /> Arcell is a famous undergroud rock Band from Dhaka. It was formed in 1999 and there are doing well current time.
<br /> The current band members are Ershad, Shaju, Lincon, Cezanne. They develop their songs based on heavy rock, heavy metal
<br /> format. In country, they are counted as one of the leading bands. Ershad is their main vocal.
<br /> </p>
<br /> </div>
<br /> <div class="albums">
<br /> <h2>Albums</h2>
<br /> </div>
<br /> <div class="albums_holder">
<br /> <a class="link1s" href="#"> Dhushor Somoy </a>
<br /> <a class="link1s" href="#">Aniket Prantor</a>
<br /> <a class="link1s" href="#">Mixed Rockers</a>
<br /> <a class="link1s" href="#">Rock 202</a>
<br /> <a class="link1s" href="#">Unreleased</a>
<br /> </div>
<br /> <div class="bandmembers">
<br /> <h2>Band Members</h2> <br /> </div>
<br /> <div class="band_members_full">
<br /> <div class="single_member"><a class="link2s" href="#"><img class="img1" alt="artist" src="member.PNG" /></a></div>
<br /> <div class="single_member"><a class="link2s" href="#"><img class="img1" alt="artist" src="member.PNG" /></a></div>
<br /> <div class="single_member"><a class="link2s" href="#"><img class="img1" alt="artist" src="member.PNG" /></a></div>
<br /> <div class="single_member"><a class="link2s" href="#"><img class="img1" alt="artist" src="member.PNG" /></a></div>
<br /> </div>
<br /> <br /> <div class="footer">
<br /> <a class="link3" href="http://carnivalbd.com/apps">Developed by: Carnivalbd.com</a>
<br /> </div>
<br /></div>
<br /><br /></body>
<br /></html></i></span></blockquote>
<br />
<br />
<u>And, Here is the CSS Part: </u><br />
<br />
<blockquote class="tr_bq">
<span style="color: #444444;"><i> .wrapper {
<br /> padding: 0% 2% 0% 2%;
<br />}
<br /><br />.top_bar {
<br /> width: 100%;
<br /> height: 80px;
<br /> color: #2b3c50;
<br /> text-align: center;
<br />}
<br /><br />.top_bar h2 {
<br /> font-size: 48px;
<br /> border-bottom: 1px dashed #2b3c50;
<br /> padding-bottom: 20px;
<br /> margin-bottom: 30px;
<br />}
<br /><br />.text_area {
<br /> border-left: 8px solid #2b3c50;
<br /> height: auto;
<br /> width: 94%;
<br /> text-align: justify;
<br /> padding: 5px 4% 5px 2%; <br /> margin-top: 20px;
<br /> margin-bottom: 50px;
<br /> background: #f9f9f9; <br />}
<br /><br /><br />.albums h2 {
<br /> padding: 0px 0px 0px 2%;
<br /> border-left: 8px solid #2b3c50;
<br /> font-size: 30px;
<br /> color: #2b3c50;
<br /> background: #f9f9f9;
<br /> width: 98%;
<br />}
<br /><br />.albums_holder {
<br /> height: auto;
<br /> width: 100%;
<br /> overflow: hidden;
<br />}
<br /><br />a.link1s:link , a.link1s:visited, a.link1s:hover{
<br /> color: #f9f9f9;
<br /> background: #2b3c50;
<br /> width: 96%;
<br /> height: 35px;
<br /> text-decoration: none;
<br /> margin: 5px 2% 5px 2%;
<br /> padding: 10px 0px 0px 10px;
<br /> float: left;
<br />}
<br /><br /><br />.bandmembers {
<br /> height: auto;
<br /> width: 100%;
<br />}
<br /><br />.bandmembers h2 {
<br /> padding: 0px 0px 0px 2%;
<br /> border-left: 8px solid #2b3c50;
<br /> font-size: 30px;
<br /> color: #2b3c50;
<br /> background: #f9f9f9;
<br /> width: 98%;
<br />}
<br /><br />.band_members_full {
<br /> width: 100%;
<br />}
<br /><br />.single_member {
<br /> height: auto;
<br /> width: 20%;
<br /> border: 1px solid #2b3c50;
<br /> float: left;
<br /> margin: 2%;
<br />}
<br /><br />.img1 {
<br /> width: 100%;
<br /> border: none;
<br />}
<br /><br /><br />a.link2s:link , a.link2s:visited {
<br /><br />}
<br /><br /><br />.footer {
<br /> height: 70px;
<br /> width: 98%;
<br /> border-top: 5px solid #000;
<br /> padding: 40px 10px 10px 10px;
<br /> text-align: center;
<br /> background: #2b3c50;
<br /> overflow: hidden;
<br /> margin-top: 15px;
<br />}
<br /><br /><br />a.link3:link , a.link3:visited{
<br /> color: #f9f9f9;
<br /> text-shadow: 1px 1px #000;
<br /> font-size: 20px;
<br /> text-decoration: none;
<br /> display: block;
<br />}
</i></span></blockquote>
<br />
<br />
<blockquote class="tr_bq">
<span style="color: #444444;"><i><br /></i></span></blockquote>
<br />
This is a free template. Anybody is free to use this. Subscribe for more!</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5697892447072779648.post-44080298631223892982014-09-17T05:11:00.003-07:002014-09-17T05:11:38.472-07:00Differences Between Programmers and Coders<div dir="ltr" style="text-align: left;" trbidi="on">
People related to programming and coding often make mistakes or misuse the words Coders and Programmers by not knowing properly. So, question is<br /><br />
<h2 style="text-align: left;">
What are the differences between programmers and coders?</h2>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQQx_9I3nbuoWWL7I2Uz7P4G-k8xIx4QlyLD2J4UovuHwOP8DSJO83GHaFx5yz0NL8Th-jRNWAq0gI8rpcqIFBGDZFZCFSG77Ouu8W1MupSocvucxbfIvzuYUsSl8zt8UWdtwSRAepYw3d/s1600/code-its-fun.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="code its fun" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQQx_9I3nbuoWWL7I2Uz7P4G-k8xIx4QlyLD2J4UovuHwOP8DSJO83GHaFx5yz0NL8Th-jRNWAq0gI8rpcqIFBGDZFZCFSG77Ouu8W1MupSocvucxbfIvzuYUsSl8zt8UWdtwSRAepYw3d/s1600/code-its-fun.jpg" height="298" title="code its fun" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Code It's fun</td></tr>
</tbody></table>
<h2 style="text-align: left;">
</h2>
<div style="text-align: left;">
<br />Let me explain couple of situations first and then I will relate the Programmer and Coder according to their action in that situations.<br /><u><br />Situation 1: </u>A bus was going on a road and faced a tunnel in front. The tunnel is just couple of inches smaller than the bus. The bus stacked for just couple of inches. If the bus were couple of inches smaller it could have gone easily through the tunnel. Now, we called a programmer and a coder to solve this problem. </div>
<div style="text-align: left;">
<br /><u>Coder:</u> He decided to hire a crane and solve the problem. He took two hours and spent 1000 USD for a crane. The crane came and took the bus over the tunnel. Problem solved!</div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSjqMYEBzM602gViz3z_Eg_ShKT7mWPVTkSp1gvDGKPlE9-9thjGBkrow7cgSjbp7puvaSPLB7PBFYd8weSB6KWY10b0m6RJE5Zb2jsMuFJRXii5rKKcC8aeuCGVJxpUMbEYPjd37sC6Jn/s1600/eat-sleep-code.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Eat Sleep Code" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSjqMYEBzM602gViz3z_Eg_ShKT7mWPVTkSp1gvDGKPlE9-9thjGBkrow7cgSjbp7puvaSPLB7PBFYd8weSB6KWY10b0m6RJE5Zb2jsMuFJRXii5rKKcC8aeuCGVJxpUMbEYPjd37sC6Jn/s1600/eat-sleep-code.jpg" title="Eat Sleep Code" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Eat Sleep Code</td></tr>
</tbody></table>
<div style="text-align: left;">
<br /><u>Programmer:</u> A programmer came to the spot and observed the situation. He saw, if the bus could be made couple of inches little it could easily go through the tunnel. He came to the wheels of bus and left the air go into it. Because of releasing air from wheels, the bus came down and were able to go through the tunnel. He saved both time and money.<br /><br /><u>Situation 2:</u> Teacher assigned a assignment for a programmer and a coder. Design a CMS ( Content Management System )</div>
<div style="text-align: left;">
<u><br />Coder:</u> A coder will find out the pseudo code or blueprint of CMS anyhow and code according to that blueprint. </div>
<div style="text-align: left;">
<br /><u>Programmer:</u> A programmer won't look for blueprint or pseudo code. He'd love to design the logic and full work process of the CMS ( Content Management System ). After the sketch and designing he will start coding for this project.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8cSqmTFyL-FkiNr6pcA4HTQISg8d9UBAuLcJuzpu8E5em4-6A6xGM9A49PEG72WvqaDiq-lvtdVOjMrzpXTvrpQt5N-51uvYgIwRRoGJZMkM6WowgjUuK0H6pXemtzx1iWDGAbk10fqZw/s1600/trust+me+im++a+programmer.jpeg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Trust Me, I'm a programmer" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8cSqmTFyL-FkiNr6pcA4HTQISg8d9UBAuLcJuzpu8E5em4-6A6xGM9A49PEG72WvqaDiq-lvtdVOjMrzpXTvrpQt5N-51uvYgIwRRoGJZMkM6WowgjUuK0H6pXemtzx1iWDGAbk10fqZw/s1600/trust+me+im++a+programmer.jpeg" height="320" title="Trust Me, I'm a programmer" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Trust Me, I'm a programmer</td></tr>
</tbody></table>
<div style="text-align: left;">
<br />Now, I guess you are clear about the differences between a programmer and a coder. A coder is who codes and doesn't need to think about anything else like logic, code efficiency etc.<br />But a programmer is someone who is not just a coder but along with coding he creates logic, design logic, thinks, think about the output, thinks about the code efficiency, think to make it better, think to make it working and so on.<br /><br />A programmer is not in the same queue with a coder, he makes his specification with,<br />- better thinking<br />- managing the project<br />- not just code but doing also technical specification<br />- quality of work/project<br />- quality of code<br />and so on.<br /><br />So, what would you like to be ? A programmer or a coder? </div>
<div style="text-align: left;">
<br /><b><u>For your career option, Read : <a href="http://imrubel.blogspot.com/2014/09/9-ideas-for-career-online-money-making.html" target="_blank">9 Ideas for Career ( Online Money Making ) based on your Love</a></u></b><br /><br />If you are loving my articles, don't forget to subscribe for more. I'd love to share my experiences in different Career Paths so that you don't have to face much problem by yourself( what I faced already ) but can go smoothly.</div>
</div>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-5697892447072779648.post-24834620709747887572014-09-10T13:43:00.001-07:002015-02-18T08:38:16.426-08:00Career in Mobile Application Development for You : My Experience<div dir="ltr" style="text-align: left;" trbidi="on">
Even if you are not from Computer Engineering background, still you can have Career in Mobile Application Development. Honestly speaking, being a Software Engineering student, I learned less in class room and more in practical life. So, if you are not from Computer Science background then what are you waiting for?<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF-2JjevfSCNec8C3jnuCjY1Zq8B0R0MYJE1BdizCXCINrrW6ZZMrlCUi3EnTqA3WUd2ANo8eu2tP6stPpkvOJtQtOgq2PUF0knvY8vIEMWC6bWgh_nKQVbh490Qo4VDz9OfXKF6EkxiKm/s1600/mobile_apps.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="career in mobile application development" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF-2JjevfSCNec8C3jnuCjY1Zq8B0R0MYJE1BdizCXCINrrW6ZZMrlCUi3EnTqA3WUd2ANo8eu2tP6stPpkvOJtQtOgq2PUF0knvY8vIEMWC6bWgh_nKQVbh490Qo4VDz9OfXKF6EkxiKm/s1600/mobile_apps.jpg" height="203" title="career in mobile application development" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Mobile Apps Development</td></tr>
</tbody></table>
<br />
<h2 style="text-align: left;">
What is Mobile Application Development?</h2>
<div style="text-align: left;">
This is the era of technology and we use Smart Phones. Like a computer need softwares like <a href="http://www.videolan.org/vlc/index.html" target="_blank">VLC</a>, KMPlayer, <a href="https://www.mozilla.org/en-US/firefox/new/" target="_blank">Mozilla Firefox</a>, <a href="https://www.google.com/chrome/browser/" target="_blank">Google Chrome</a> etc. A smart phone can have applications like <a href="https://play.google.com/store/apps/details?id=com.imangi.templerun&hl=en" target="_blank">Temple Run</a>, Subway Surfers, <a href="https://play.google.com/store/apps/details?id=com.imangi.templerun&hl=en" target="_blank">Kingsoft Office</a>, Music Player, Google Chrome for Mobile etc. If you want to be a mobile application developer you have to develop application like these.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<h2 style="text-align: left;">
Future of Mobile Application Development</h2>
<div style="text-align: left;">
Along with web application development I develop Mobile Application too for <a href="http://carnivalbd.com/apps" target="_blank">Carnivalbd Apps Store</a>. So, I have the opportunity to go through the mobile application development market. In one word the future of mobile application development market is “ Bright ” ! If you develop a medium quality static and content based mobile application and upload it in Application market like Google Play, iTunes and for Windows Phone, you will get minimum 20,000 and maximum 100,000 downloads in few months! And the good news is, you can monetize an application! So, that will bring money for you easily! Image a website with 10,000 visitors per day! Isn't that cool? Now, you have a platform of 100,000 people! Isn't that coolest? That's why I call it as Bright! <br />
<br />
According to <a href="http://emarketer.com/" target="_blank">Emarketer.com</a> , there are 1.75 Billion Smart Phone users in 2014 around the world! Now, by developing applications and reaching those amount of people will be far easy! Isn't it? </div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<h2 style="text-align: left;">
How to start Mobile Application Developing?</h2>
<div style="text-align: left;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9H4G-OcMRCJ0BIIOjI84ZVdqBwxJ10WHAkKeGfh6YmmGnLCp6y5DU5mIGBbU6qtS4ifKoc6FUk22k9AyVNLuMmUbmF9gFk-jV2HC1EoV4QlVcerWGd0ME_N6BlD9I1LEIVrhcK7u7XZrV/s1600/google-play-gift-card3.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="google play card" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9H4G-OcMRCJ0BIIOjI84ZVdqBwxJ10WHAkKeGfh6YmmGnLCp6y5DU5mIGBbU6qtS4ifKoc6FUk22k9AyVNLuMmUbmF9gFk-jV2HC1EoV4QlVcerWGd0ME_N6BlD9I1LEIVrhcK7u7XZrV/s1600/google-play-gift-card3.jpg" height="265" title="google play card" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Google Play Card</td></tr>
</tbody></table>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Mobile Application Development beginner should know few things before
taking first step for developing an application. Those are like basic
programming, knowledge in Java Programming, knowledge in design and of
course unique ideas for Application.<br />
<br />
For example, developing an Android application for <a href="https://play.google.com/" target="_blank">Google Play</a>, you need to <a href="http://developer.android.com/sdk/index.html" target="_blank">download ADT</a>
from Android.com site. Then start finding ideas and implementing those
with code in ADT and build the APK file to upload in Google Play.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<h2 style="text-align: left;">
What is going to be your Million Dollar App ?</h2>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBK2ThejKBIZg502si5e5PgR8ZoWS_uqcP8WDs-8v3H6rKmY93mzBgOQQeYwYpEkvDBK8lT4FV-vDxNEO61EsRGGXkKrMubmpw5q6ZF8yLA1CuYd_yk9G5NbyB66CnXjVUveZs1u6KFVE7/s1600/angry-birds.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="angry birds bird" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBK2ThejKBIZg502si5e5PgR8ZoWS_uqcP8WDs-8v3H6rKmY93mzBgOQQeYwYpEkvDBK8lT4FV-vDxNEO61EsRGGXkKrMubmpw5q6ZF8yLA1CuYd_yk9G5NbyB66CnXjVUveZs1u6KFVE7/s1600/angry-birds.jpg" height="213" title="angry birds bird" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Angry Birds Logo</td></tr>
</tbody></table>
<h2 style="text-align: left;">
</h2>
<div style="text-align: left;">
Did you hear about the application named <a href="https://play.google.com/store/apps/details?id=com.rovio.angrybirdsspace.ads&hl=en" target="_blank">Angry Birds</a>? Which is got a download range of 100,000,000 - 500,000,000 in Google Play Store and many more in Apple iTunes! And we call that type App as million dollar App! If you follow the image in below ( How Angry Birds Started ) , you will come to know how hard it is to make a Million dollar mobile application but definitely not impossible. Your one great idea can change your life! Not just Angry Birds, there are thousands applications which can be called as not just million but billion dollar application. I would like to mention the name of the application <a href="http://www.whatsapp.com/" target="_blank">WhatsApp</a>. Facebook bought WhatsApp for 19.2 Billion dollar! So, why don't you develop a application like WhatsApp and become not just millionaire but billionaire! </div>
<div style="text-align: left;">
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9nj8Ftly4s7UA-fBf5T9luNqdn1Ri3wLrfpJi0_cQTTsrBFWoxtAs-dWcLa3_KTlG3MtbbbbMdUXRWa1YqKLIpor3llm4bHrALM4RbDE3KCquUF5FwKHvmsRrjwiP3Ru7ophRxRwjvPrJ/s1600/how+angry+birds+started.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="How Angry Birds Started" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9nj8Ftly4s7UA-fBf5T9luNqdn1Ri3wLrfpJi0_cQTTsrBFWoxtAs-dWcLa3_KTlG3MtbbbbMdUXRWa1YqKLIpor3llm4bHrALM4RbDE3KCquUF5FwKHvmsRrjwiP3Ru7ophRxRwjvPrJ/s1600/how+angry+birds+started.jpg" height="419" title="How Angry Birds Started" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">How Angry Birds Started</td></tr>
</tbody></table>
<br />
<br /></div>
<div style="text-align: left;">
<i><b><br /></b></i></div>
<div style="text-align: left;">
<i><b>Read More: <a href="http://imrubel.blogspot.com/2014/09/9-ideas-for-career-online-money-making.html" target="_blank">9 Ideas for Career ( Online Money Making ) based on your Love</a></b></i></div>
<div style="text-align: left;">
<br /></div>
<h2 style="text-align: left;">
How to learn Mobile Application Developing?</h2>
<div style="text-align: left;">
You can easily learn from Online resources like Articles, Videos and so on. There are a lot of videos in Youtube.com for free to learn about mobile application development. You can learn from any expert to be expert and learn faster.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<h2 style="text-align: left;">
How to monetize Application?</h2>
<div style="text-align: left;">
You can monetize application with Google Adsense in most famous platforms like Google Play, <a href="https://www.apple.com/itunes/" target="_blank">iTunes</a>, Windows Phone. Not just Google Adsense but there are hundreds more Advertising platform for mobile. You just need some searching in Google.com . You can collect manual advertisements too. Besides, you can work for different company application too.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<b><br /></b></div>
<div style="text-align: left;">
<i><b>Read More: <a href="http://imrubel.blogspot.com/2014/09/google-adsense-guideline-to-success.html" target="_blank">Google Adsense – Guideline to Success from my Experience</a></b></i></div>
</div>
Unknownnoreply@blogger.com36tag:blogger.com,1999:blog-5697892447072779648.post-13168547148393732642014-09-07T00:30:00.004-07:002014-09-07T02:22:09.543-07:009 Ideas for Career ( Online Money Making ) based on your Love<div dir="ltr" style="text-align: left;" trbidi="on">
<style type="text/css">p { margin-bottom: 0.1in; line-height: 120%; }</style>
<br />
<div style="line-height: 100%; margin-bottom: 0in;">
<b>Read First Two Ways : <a href="http://imrubel.blogspot.com/2014/09/being-freelance-career-opportunities-at.html" target="_blank">Being a freelancer – Career Opportunities at On line – Making money at On line</a></b></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b> </b> </div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNqlinlnlUr0HVYJd6sR_Qj2Q68dwUIQ8MVXNw_j3qwZs_xs1pRNN26efWOjKQfhmHwyaHTMbg9Ftwbo1os4plzGi5Tq_tPwepyKHCvz0t32W35KlyqQ7f2E7CiajD4h3Hv0UGi3wgQxJ3/s1600/9+career+tips.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Career Tips" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNqlinlnlUr0HVYJd6sR_Qj2Q68dwUIQ8MVXNw_j3qwZs_xs1pRNN26efWOjKQfhmHwyaHTMbg9Ftwbo1os4plzGi5Tq_tPwepyKHCvz0t32W35KlyqQ7f2E7CiajD4h3Hv0UGi3wgQxJ3/s1600/9+career+tips.jpg" height="225" title="Career Tips" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Career Tips</td></tr>
</tbody></table>
<br />
<h2 style="line-height: 100%; margin-bottom: 0in;">
</h2>
<br />
<br />
<h2 style="line-height: 100%; margin-bottom: 0in;">
3. Do you love
working in Web?</h2>
<br />
<h2>
</h2>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b>Career: </b>You can
easily work for Search Engine Optimization for web site( Putting
sites at top in search engine search results). For learning there are
hundreds videos , articles at Online. You just need to do you a favor
by searching those at Google and apply those. And for more web based
little projects you can work in <a href="http://fiverr.com/">Fiverr.com</a> too.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">
4. Do you love
designing something?</h2>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b>Career:</b> If you are
good at designing, why don't you try <a href="http://graphicriver.net/">GraphicRiver.net</a> and other freelance
sites?</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">
5. Do you love
taking photos?</h2>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b>Career:</b> Why are you
not selling your photos Online? Just search and find sites for
selling photos! I would love to suggest <a href="http://photodune.net/">Photodune.net</a> for you for
selling photos!</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">
6. Do you love web
developing?</h2>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b>Career:</b> Go at
<a href="http://w3schools.com/">W3schools.com</a> and know the basics of web developing and designing.
After that you will understand by yourself what to do how to do! You
have to have love and passion for that. You can build your career by
learning HTML/CSS and designing great templates. You have a lot of
articles and tutorials over Online for learning these. Just need
intension and Attempt.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlFFVlQ_vcLc5LSHsTYV9hcTZo1TnHavdPfF6oKfzFw-IPCkXKNUrYKYmKJ-_d2UQMA29gV84IR-MMny6P6jj6_u-aULyrO4eKkZ3GzFJjBqq09Ac83b7ZsG-uw-9dOJhn8F9Wc9Fzq52n/s1600/w3schools.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="w3schools" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlFFVlQ_vcLc5LSHsTYV9hcTZo1TnHavdPfF6oKfzFw-IPCkXKNUrYKYmKJ-_d2UQMA29gV84IR-MMny6P6jj6_u-aULyrO4eKkZ3GzFJjBqq09Ac83b7ZsG-uw-9dOJhn8F9Wc9Fzq52n/s1600/w3schools.jpg" height="260" title="w3schools" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">W3schools</td></tr>
</tbody></table>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">
7. Do you love
Wordpress?</h2>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b>Career: </b><a href="http://www.wordpress.org/" target="_blank">Wordpress</a>, One of the
most cheered and easy CMS ( Content Management System ) in Internet
world. With Wordpress, you can build up your career. Approximately
25% websites of Internet are developed in Wordpress. So, if you think
of doing something like developing wordpress theme or plugin that
would be a great idea. You can submit your themes, Plugin markets
like Themeforest.net and sell them. Wordpress customization is pretty
easy task to do. You can learn and do that for clients. Finds clients
may be hard but you have to patient there. </div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<h2 style="line-height: 100%; margin-bottom: 0in;">
<br />
</h2>
<h2>
</h2>
<h2 style="line-height: 100%; margin-bottom: 0in;">
8. Do you love
business & marketing? Try Web hosting business!</h2>
<h2>
</h2>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b>Career:</b> If you know
marketing and love doing business you can give a try for web hosting
business. We are heading towards the age of technology and everybody
needs Domain and Hosting. If you are eligible and have enough
investment you can start that business of web hosting and domain
selling. There are giants company like <a href="http://www.bluehost.com/track/rubel007cse/" target="_blank">Bluehost.com </a>, Hostgator.com .
You can follow them and also can buy Reseller Hosting from them for
business.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8N9Jz5Jvd88ZwdIprtnWnsuXRNCBmADoSdvt7h4cGeHi1sAYpHGoZ6RzV_By_YfJjQ-FKNyaSzg2-ClT0h3sxav4zhPEH2iwhSuE8qP7gs1xQ6DdCgRP-BcbtmBJaq2unI56OPGsw0VUG/s1600/bluehost-buy+hosting-hosting+reseller.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="bluehost hosting buy" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8N9Jz5Jvd88ZwdIprtnWnsuXRNCBmADoSdvt7h4cGeHi1sAYpHGoZ6RzV_By_YfJjQ-FKNyaSzg2-ClT0h3sxav4zhPEH2iwhSuE8qP7gs1xQ6DdCgRP-BcbtmBJaq2unI56OPGsw0VUG/s1600/bluehost-buy+hosting-hosting+reseller.jpg" title="bluehost hosting businees" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Bluehost logo</td></tr>
</tbody></table>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">
9. Do you love
Android OS? IOS? Windows Phone OS?</h2>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b>Career: </b>Do you love
mobile application? Want to develop those? You can start with basic
Application development if you are good at programming ( Like Java,
JavaScrit ) . Even if you are not good at programming and don't know
much about that, you can start static application development by
<a href="http://docs.phonegap.com/en/3.5.0/index.html" target="_blank">PhoneGap</a> facilities. There are markets like <a href="https://play.google.com/" target="_blank">Google Play</a>, <a href="http://itunes.apple.com/" target="_blank">iTunes</a> for you to submit your applications. So, what are you waiting for?
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
That's the nine ways
of Online Money Making ideas for you. Remember, in Internet you have
everything for you, you just need to find those. When you are done
with finding, try to work on those, learn those and change them to
earning process for your Career.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<i><b>Read More: <a href="http://imrubel.blogspot.com/2014/09/google-adsense-guideline-to-success.html" target="_blank">Google Adsense – Guideline to Success from my Experience</a></b></i></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
If you are loving my
articles, don't forget to subscribe because more to come!</div>
</div>
Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-5697892447072779648.post-2771190162516731822014-09-05T05:20:00.000-07:002014-09-10T23:18:52.521-07:00Being a freelancer – Career Opportunities at On line – Making money at On line<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
First of all, let
make the 'freelancer' concept
clear! There is a website for people
who works as freelance called Freelancer.com ( same kind as oDesk,
Elance and so on ) so, few people think working at on line may be
Freelancing! But, freelancing could be at off line too! A freelancer
is someone who doesn't work on a fixed place or job, he lances freely
and does what he loves! That's why he's called a freelancer.<br />
<div style="line-height: 100%; margin-bottom: 0in;">
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaIX4VdUdLZnIRGNx7qQunbSCkEO29QgtfGjGbb-fjcqwRFCkLvDHbW6khDqIYILuUMwWY2HyK9zIn1vcMvOPHrDVhgvppgxGLUnR_-c7zJeURxDtHHm5YTnW7XNpfKjjINABFT6BM9mF2/s1600/a+freelancer+who+works+freely.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="freelancer who works freely" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaIX4VdUdLZnIRGNx7qQunbSCkEO29QgtfGjGbb-fjcqwRFCkLvDHbW6khDqIYILuUMwWY2HyK9zIn1vcMvOPHrDVhgvppgxGLUnR_-c7zJeURxDtHHm5YTnW7XNpfKjjINABFT6BM9mF2/s1600/a+freelancer+who+works+freely.jpg" title="freelancer" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Freelancer Image</td></tr>
</tbody></table>
<br />
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
Well, there a
thousands ways of making money rather I say building your career at
on line! For that you need few things like:-</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<h2 style="text-align: left;">
1. Hard work </h2>
There
is no short cut of success. You have to work hard at any corner of
the planet for food and living! </div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<h2 style="text-align: left;">
2. Patience</h2>
Some
people need years to hunt and find a suitable job at on line , some
need few hours! So, you have to be extremely patient on this sector! </div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<h2>
</h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<h2 style="text-align: left;">
3. Discovering
Yourself </h2>
<br />
This is the most important part, you have to know what you
know! You have to find out your weakness and strength. Run on your
strength, walk on your weakness and make the journey possible. Work
harder on your weakness, make yourself unique. )</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br />
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<h2 style="text-align: left;">
4. Target </h2>
<br />
Personally, I hate long term targets. It doesn't works that much.
But, definitely you need target otherwise you don't know where are
you going? During studying Computer Science, I learned Divide &
Conquer algorithm in algorithm course. It's like diving a big problem
into little pieces and winning each pieces. At the end of the day,
you will win the complete war rather I say Target </div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br />
Read More: <a href="http://imrubel.blogspot.com/2014/09/google-adsense-guideline-to-success.html" target="_blank">Google Adsense – Guideline to Success from my Experience</a></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<h2 style="text-align: left;">
</h2>
<h2 style="text-align: left;">
Now, What are the
career opportunities?</h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
Honestly answering,
it could be anything depending on you! You have to find out your
strength and work on it, you will definitely find something for you!</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
Let me give some
example depending on you love of doing things! Ok?</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiB41mX_f7M7obfVWA0VYLqg72d0vhuBf0dckxRRu8XQmLiZ5sPj49WCP9ngVcXZvrMJ6Bp1MAHFNC-ehUy7671KWDMjpDx0aNcb70rNaL9e23Ea8Hx0X1Xh3MJrccvmx7C4sLS-WNslrh/s1600/online-career.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Career Opportunities - Job Search" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiB41mX_f7M7obfVWA0VYLqg72d0vhuBf0dckxRRu8XQmLiZ5sPj49WCP9ngVcXZvrMJ6Bp1MAHFNC-ehUy7671KWDMjpDx0aNcb70rNaL9e23Ea8Hx0X1Xh3MJrccvmx7C4sLS-WNslrh/s1600/online-career.jpg" title="Career Opportunities - Job Search" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Career Opportunities - Job Search</td></tr>
</tbody></table>
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<h2 style="text-align: left;">
1. Do you love
Writing?</h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b>Career:</b> You could
write in <a href="http://freelnacer.com/">Freelnacer.com</a> , <a href="http://elance.com/">Elance.com</a> , <a href="http://odesk.com/">oDesk.com</a> writing section and make a good
profile for good career. You could open a blog for yourself, write
there and monetize with advertisement. You could monetize with
<a href="http://imrubel.blogspot.com/2014/09/google-adsense-guideline-to-success.html" target="_blank">Google Adsense</a>, <a href="http://chitika.com/">Chitika.com</a>, <a href="http://clicksor.com/">Clicksor.com</a>, <a href="http://bidvertise.com/">Bidvertise.com</a> . If you heard the name
of famous blog <a href="http://mashable.com/">Mashable.com</a> you may know the CEO of Mashable.com
<b>Pete Cashmore</b>. He made his career in blogging. You could have
hard the name of John chow for johnchow.com and so on. You can also
write in some sites, they will share revenue with you! There is another
way of monetizing , you can do affiliation ( by, Amazon, Clickbank..
. . etc )</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<h2 style="text-align: left;">
2. Do you love
presenting? Tuition? Saying something?</h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b>Career:</b> Just do a
little bit more, capture the video of what you love to do or
presenting! Upload in <a href="http://youtube.com/">Youtube.com</a> and other video sharing sites and
monetize easily! You should have a look at <a href="http://videohive.net/">Videohive.net</a>. You can sell
your videos in DVD or in on line creating your own platform.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br />
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
Read Next Part: <a href="http://imrubel.blogspot.com/2014/09/9-ideas-for-career-online-money-making.html" target="_blank"> 9 Ideas for Career ( Online Money Making ) based on your Love</a></div>
</div>
Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-5697892447072779648.post-90365404542050694792014-09-03T06:30:00.002-07:002014-09-05T22:48:25.279-07:00Google Adsense – Guideline to Success from my Experience<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div style="line-height: 100%; margin-bottom: 0in;">
<a href="https://google.com/adsense" target="_blank">Google Adsense</a>,
success for a lot of people and failure for a bunch of people too!
Making money with Google Adsene is not easy but not impossible!
Well, <a href="http://imrubel.blogspot.com/2014/08/introducing-myself-mosharrof-rubel.html" target="_blank">me </a>and my team receive a good amount of revenue using Google
Adsense in every month. Personally I have over 4 years of experience
in Google Adsense. So, I can tell you something from my experience
that may help you to generate good output is from Google Adsense.
Google Adsense could be your part time career too!<br />
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcS8z0-0Y5xxC9OI55FewpU74wp8pfYcpVNnjPaF-b6n7izEJrnt7uXQCMTmedRnOZTVnFd6edHuEwiC9KMwwEIVFlmBVgNZOUctqH3bTOm8R59jiBnOLSuPoKfKm0Fj9VO2HCY7hWGYAv/s1600/Google-AdSense-success-tips.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Google Adsense Success experience tips" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcS8z0-0Y5xxC9OI55FewpU74wp8pfYcpVNnjPaF-b6n7izEJrnt7uXQCMTmedRnOZTVnFd6edHuEwiC9KMwwEIVFlmBVgNZOUctqH3bTOm8R59jiBnOLSuPoKfKm0Fj9VO2HCY7hWGYAv/s1600/Google-AdSense-success-tips.jpg" height="243" title="Google Adsense Success experience tips" width="400" /></a></div>
<br />
<br />
<div style="line-height: 100%; margin-bottom: 0in;">
<h2 style="text-align: left;">
<b>Why Google Adsense
is so famous?</b></h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
- Google Adsense
pays in CPC ( Cost Per Click ) and CPM ( Cost Per Mile ) / RPM ( Request Per Mile ) basis to
it's publishers. And it pays much more better than any similar kind
of advertisement company in the market. That's make it famous and
unique! Not only content, Google Adsense gives you opportunities to
make money from your Website search results , <a href="https://youtube.com/" target="_blank">Youtube videos</a>, mobile
applications ( Admob ) and so on. Some people will show you the
alternative of Google Adsense, but honestly speaking there are no
alternative of Google Adsense in current Online world!</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<h2 style="text-align: left;">
<b>How can I get a
Google Adsense account?</b></h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
- Well, it depends
of where you live! If you are a person from India, Bangladesh, China
you have to open a website , provide good quality content without any
plagiarism and continue that more than six months then you will get
a Adsense account! If you are outside of these areas, you will get a
Google Adsense account pretty easily after opening a Gmail account
and a website in Blogger.com. You can also get hosted Google Adsense
account from Youtube by uploading good video ( no copyright problems
) in there. In 2010, I got a Google Adsense account within 2/3 days
just after opening a website in Blogger ( blogspot sites ) with no
real content in there! But, as people in south Asian are making less
qualified sites and for putting the ads of Google Adwards partners in
right and good sites Google made this decision for hold the site for
six months for a review.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<h2>
</h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<h2>
<b>How Google Adsense
account gets banned?
</b></h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
- Google Adsense can
be banned if you are doing anything with ads that doesn't go with
<a href="https://support.google.com/adsense/answer/48182?hl=en" target="_blank">Google Adsense policy</a>! For example, if you are clicking too much on
advertisement, divert invalid and paid traffics to your site, make a
site of porn with Google Adsense advertisement and so on. If your
account once gets banned there are almost no possibilities for
retrieving! So be careful about that.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<h2 style="text-align: left;">
<b>How to withdraw
money from Google Adsense? </b></h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
- It's very easy to
withdraw money from Google Adsense account. Just put your bank
details ( Your name, account number, bank name, swift code ) and
withdraw it easily. If you want to receive money in Check, after
receiving your check bring that in Adsense issued bank and collect
the money. Nothing easier like that!</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<h2>
</h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<h2>
<b>How to make most of
Google Adsense?
</b></h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
- Write quality
content, visitors will get attracted to your site, ultimately the
Adsense will generate good revenue. Blend the advertisements in your
site content make more of it. Write on the topic that you love. At
some topics like ' Hosting buying, Donation, Find a Lawyer, Car
donate ' Google Adwards pays a good amount of money. You can research
and write on these topics to make most of Google Adsense.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b><br /></b>
</div>
<b>
</b>
<br />
<div style="line-height: 100%; margin-bottom: 0in;">
<b><br /></b>
</div>
<b>
</b>
<br />
<div style="line-height: 100%; margin-bottom: 0in;">
<h2 style="text-align: left;">
<b>Where can I use
Google Adsense advertisement?</b></h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
- You can place
Google approved advertisement any sites. Like, your own site that
matches with Google Adsense policy, Mobile application ( by <a href="https://apps.admob.com/" target="_blank">Admob</a> ),
Youtube.com , <a href="http://blogger.com/">Blogger.com</a> and many more.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<h2>
</h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<h2>
<b>How much will I earn
from Google Adsense account?</b></h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
- It depends on many
thing like where you living, what is your content, what kind of
advertisements are shown, how many page views generated ect. But I
can give you a example. Suppose you have a website where you write
about Internet Marketing. Your daily visitors amount is around 5,000
and page views are 15,000 to 20,000 . The CPM ( Cost Per Mile/
Thousands ) is $5 USD. Then approximately you can earn $100 USD for
page views pus cost for clicks on ads. Could be around $150 - $200
per day! That's a good amount for any part time business! What do you
say? ;)</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<h2 style="text-align: left;">
<b>Who are monetizing
with Google Adsense?</b></h2>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
- Many famous
websites are monetizing with Google Adsense. For example,
<a href="http://mashable.com/">Mashable.com</a> , <a href="http://espncricinfo.com/">Espncricinfo.com</a> , <a href="http://ehow.com/">Ehow.com</a> , <a href="https://forums.digitalpoint.com/" target="_blank">Digital Point Forum </a>, <a href="http://pof.com/">POF.com</a> , <a href="http://digg.com/">Digg.com</a> , <a href="http://techcrunch.com/">Techcrunch.com</a> , <a href="http://labnol.org/">Labnol.org</a> etc.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
That's all for you
from me! If you have any Google Adsense related question, you can ask
me in comment or send me a question by Contact form. I'm promising to
answer you as soon as possible.</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
Don't forget to
subscribe me if you are loving the articles! ;)
</div>
</div>
Unknownnoreply@blogger.com5tag:blogger.com,1999:blog-5697892447072779648.post-37630940617178509892014-08-30T11:33:00.000-07:002014-09-05T05:25:50.030-07:00Body Building ( Gym ) ! Build your body at home!<div dir="ltr" style="text-align: left;" trbidi="on">
You could find this topic little bit interesting and may not be hoping from me! Well, I was at gym for almost one year and I think I'm eligible for some kind of tips for you guys! Specially who have got a big sized belly! <br />
<br />
<h2 style="text-align: left;">
Now first question is, “ <b>Do you really need to go at Gym? </b> ”</h2>
Well, being an ex-Gym man, I would like to say 'Yes'! The reasons I will show are:-<br />
<br />
<br />
1. Gym gives your body a good shape no matter how odd looking you are!<br />
2. Gym will give you a good food habit.<br />
3. Gym will give you mental and physical satisfaction on you daily life like if you are a body builder and use to go Gym at morning, your full day will be awesome in term of confidence and movement.<br />
4. Gym gives you boost on anything you are planning.<br />
5. Gym is a place of enjoyment for young bloods! You have so much to gain there, honestly!<br />
<br />
<br />
<br />
Well, I don't have any personal Gym! So, you shouldn't think I am doing publicity of any <a href="http://www.24hourfitness.com/" target="_blank">Body Building Gym</a>!<br />
<br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibQU1Y1Bijux_GbapL4bFhQUq5P875KOAv_m95HsTVYRS4EZCn9lA99p9O_70pdRduQZoAnM49B8H6Jw0GpyNf8nwO7w4qL_WwZcm8cjtCt_CKFjKUxEmH5EFllFSlSNsVjxR6FlE1BRMs/s1600/build+boy+at+fitness+center+gym.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Fitness Tips" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibQU1Y1Bijux_GbapL4bFhQUq5P875KOAv_m95HsTVYRS4EZCn9lA99p9O_70pdRduQZoAnM49B8H6Jw0GpyNf8nwO7w4qL_WwZcm8cjtCt_CKFjKUxEmH5EFllFSlSNsVjxR6FlE1BRMs/s1600/build+boy+at+fitness+center+gym.jpg" height="480" title="Fitness tips" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fitness Maintain Cat</td></tr>
</tbody></table>
<br />
<br />
<h2 style="text-align: left;">
Well the Second and third question are, “<b> Do you really need to go to Gym for having a good shaped body? Can't you make your body building at home?</b>”</h2>
<br />
Answer of the second question is, 'Yes!' you need to go at Gym for a good shaped body! If you buy Gym instruments ( Fitness Equipments ) at home it will be tough for you to do at home. At fitness center you will see competition among the tough boys and certainly you would love that! That will increase your intention and love to Gym. So, being in a <a href="http://www.dodgefitnesscenter.com/" target="_blank">fitness center</a> is important too.<br />
<br />
Answer of third question is also 'Yes!' But, before that you will have to be at Fitness Center for a time being otherwise you won't know what to do! At Gym, I learned that you have to absolutely perfect on every item like push ups, dumbbelll curl, barbel curl and so on. So, leaning first is important! Then, you can come back at home and practice the same to just keep up your basic good shape ( Definitely not a shape like <a href="http://www.schwarzenegger.com/" target="_blank">Arnold Schwarzenegger!</a> For that you have to be at Gym for years and years. )!<br />
<br />
<h2 style="text-align: left;">
Fourth Question, “ <b>What should you do at home to keep your good shape? </b>”</h2>
<br />
At first I'd love to say, only a good habit can give you a good fitness! Push ups are always great for having a good shaped body. You can do that as much as you want! Push ups are got affect on your whole body, so you can continue these. Warm up is also needed for a good fitness at home. You can do arms spreading, jumping, jumping over rope, cycling, walking, running etc.<br />
<br />
Food habit is most important part of having a good fitness. I can mention some for you:-<br />
<br />
1. Eat eggs avoiding yolk.<br />
2. Eat fruits, Chickpea ( not cooked, just after keeping these in water for few hours ), milk.<br />
3. Avoiding foods like beef, oily foods, all kind of Biriyani, Tehri and these kinds of foods<br />
4. All kinds of cold drinks like <a href="http://www.7up.com/" target="_blank">7up</a>, <a href="http://us.coca-cola.com/home/" target="_blank">Cocacola</a> are stickily prohibited.<br />
5. Must avoid fast foods like burger, pizza, noodles and so on.<br />
6. Try to eat protein contained food. If you eat rice, try not to have that. You can eat bread( Ruti ) in stead and vegetables.<br />
7. Try to avoid salt and eat at the same time regularly. And of course don't sleep too much!<br />
<br />
<br />
<br />
Thats all for today. Not sure how much this post is going to help you but if you have suggestion don't forget to leave that in comment for others.<br />
<br />
Don't forget to subscribe / follow for more! ;)</div>
Unknownnoreply@blogger.com41