European Commission going to Slap Facebook


European Commission going to Slap Facebook
The European Commission is preparing a Directive to avert Facebook from sharing users’ information — such as their political viewpoint and place — with advertisers unless users purposely allow it.

According to The Telegraph, the Directive — which will be part of an update to current data protection laws — is scheduled for early January release. Should Facebook fail to adjust its privacy settings in compliance with the new legislation, the social network could face prosecution and/or a heavy fine.

Facebook, for its part, says that it shares data incognito and in amassed to advertisers, and that individuals’ own details are not at risk.

This is not the foremost time Facebook has been scrutinized by the European merger. In June 2009, the EU laid out privacy guidelines for social networks, and in June of this year, EU regulators began investigating Facebook’s facial recognition system.

Earlier this month, Facebook released details about how it tracks its 800 million users across the web.

"Kolaveri Di" hits 5 million marks on Youtube


"Kolaveri Di" hits 5 million marks on Youtube
"Kolaveri Di" is much Talked song now days everywhere, Facebook, Twitter and on all the Social media, News paper, Radio and everywhere!

The proof of this songs Success is that this song hits 5 million Views on YouTube in just 10 days. "kolaveri di"is a highly popular slang among Tamil youth, normally used to silence a cranky person in a group.

why this Kolaveri Kolaveri Kolaveri Di ?

Kolaveri, which means murderous rage, is now popular even in other parts of the country, thanks to the peppy song 'Why this kolaveri di?' from upcoming Tamil flick '3'.

Kolaveri nothing but the some meaning less words of Tamil which youngsters use between their routine discussion.

Why its a Huge Success?

Kolaveri di, its huge hit in the short time of period. the main reason behind the huge hit of this song is, As per the Main Singer of this Song, Dhanush, it is in Tinglish, (Tamil + English). In Addition this song also recommended by many big stars in this week, i.e Amitabh bachchan and almost all the Bollywood starts tweeted about it.

Also this song,"Kolaveri Di", having some great lyrics that attract almost all the youth. i.e white skin-u girl-u girl-u, girl-u heart-u black-u, eyes-u eyes-u meet-u meet-u, my future dark!

The song is a rage among millions of students and youngsters, especially in social networking sites like Facebook and Twitter and video sharing site of You Tube. 

According to the Film Director of "3", "It is actually used to put off a cranky person in a group. The slang has been used by us to depict the anguish of a person who has just tasted rejection from the hands of a girl whom he liked.

Also now days, Bollywood also used the SOUTHERN touch to make Bollywood film a huge hit! 

so what are you waiting for? Enjoy the song! Have fun!! why this Kolaveri Kolaveri Kolaveri Di ?

How to Display Progress Dialog Window Using an Activity? - Android Tutorial


After Giving a nice tutorial on how to Display a Dialog Window Using an Activity, i am again come up with a great tutorial for Android.
android tutorial

Today we gonna learn on, how to Display progress dialog window using an Activity? So lets start it!

Step 1: Using the same project created for Creating a dialog window using an activity, add the following  statements in bold to the!

MainActivity.java file: package net.learn2develop.Dialog;

import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.Toast;


import android.app.ProgressDialog; import android.os.Handler;

import android.os.Message;

public class MainActivity extends Activity {

CharSequence[] items = { “Google”, “Apple”, “Microsoft” };

boolean[] itemsChecked = new boolean [items.length];

private ProgressDialog _progressDialog;

private int _progress = 0;

private Handler _progressHandler;

/** Called when the activity is first created. */

@Override

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.main);

Button btn = (Button) findViewById(R.id.btn_dialog);

btn.setOnClickListener(new View.OnClickListener() {

public void onClick(View v) {

showDialog(1);

_progress = 0;

_progressDialog.setProgress(0);

_progressHandler.sendEmptyMessage(0);

}

});

_progressHandler = new Handler() {

public void handleMessage(Message msg) {

super.handleMessage(msg);

if (_progress >= 100) {

_progressDialog.dismiss();

} else {

_progress++;

_progressDialog.incrementProgressBy(1);

_progressHandler.sendEmptyMessageDelayed(0, 100);

}

}

};

    }

@Override

protected Dialog onCreateDialog(int id) {

switch (id) {

case 0:

return new AlertDialog.Builder(this)

            //...

            //...

            .create();

case 1:

_progressDialog = new ProgressDialog(this);

_progressDialog.setIcon(R.drawable.icon);

_progressDialog.setTitle(“Downloading files...”);

_progressDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);

_progressDialog.setButton(DialogInterface.BUTTON_POSITIVE, “Hide”, new

DialogInterface.OnClickListener() {

public void onClick(DialogInterface dialog,

int whichButton)

{

Toast.makeText(getBaseContext(),

“Hide clicked!”, Toast.LENGTH_SHORT).show();

}

});

_progressDialog.setButton(DialogInterface.BUTTON_NEGATIVE, “Cancel”, new

DialogInterface.OnClickListener() {

public void onClick(DialogInterface dialog,

int whichButton)

{

Toast.makeText(getBaseContext(),

“Cancel clicked!”, Toast.LENGTH_SHORT).show();

}

});

return _progressDialog;

}

return null;

    }

}

Step 2 : Press F11 to debug the application on the Android Emulator. Click the button to display the prong-ress dialog. Observe that the progress bar will count up to 100.
How to Display Progress Dialog Window Using an Activity? - Andorid Tutorial

have a happy tuts!!

50% Flat off on Hostgator Hosting : Black Friday 2011 Sale Offer


The Wait is over! Finally the much awaited Black Friday Offer From Hostgator is here! as they promised, Flat 50 % off on all the hosting plans!

50% Flat off on Hostgator Hosting : Black Friday 2011 Sale Offer

Here offer Price for the different Hostgator shared hosting plan on Black Friday offer:

  • Hatchling Plan: $41.7/year
  •  
  • Baby plan: $59.7/year
  • Business plan: $89.7/year
  • VPS plan: $9.98/month (Discount for first month only)
  • Dedicated hosting plan: $87/month (Discount for first month only)
Go to Hostgator now!!

Note: its Valid till 25th November 11.30PM only!! hurry!!

how to Display a Dialog Window Using an Activity ? - Android Tutorial


hey guys, to day i am going to give you a fresh tutorial on android. as many people wants a dialog window in their Android apps.

To Display a dialog window, you must be familiar with basic android coding functionality!

android tutorial
1 . Using Eclipse, create a new Android project and name it Dialog. 
2 . Add the following statements in bold to the main.xml file:
version=”1.0” encoding=”utf-8”?> 
”http://schemas.android.com/apk/res/android

android:orientation=”vertical”

android:layout_width=”fill_parent”

android:layout_height=”fill_parent” > < span="">

android:layout_width=”fill_parent”

android:layout_height=”wrap_content”

android:text=”@string/hello” />

span="">

android:id=”@+id/btn_dialog”

android:layout_width=”fill_parent”

android:layout_height=”wrap_content”

android:text=”Click to display a dialog” />

3 .        3 . Add the following statements in bold to the MainActivity.java file: package net.learn2develop.Dialog;

import android.app.Activity; import android.os.Bundle; import android.app.AlertDialog; import android.app.Dialog;

import android.content.DialogInterface; import android.view.View;

import android.widget.Button; import android.widget.Toast;

public class MainActivity extends Activity {

CharSequence[] items = { “Google”, “Apple”, “Microsoft” };

boolean[] itemsChecked = new boolean [items.length];

/** Called when the activity is first created. */

@Override

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

        setContentView(R.layout.main);

Button btn = (Button) findViewById(R.id.btn_dialog);

btn.setOnClickListener(new View.OnClickListener() {

public void onClick(View v) {

showDialog(0);

}

});

    }

@Override

protected Dialog onCreateDialog(int id) {

switch (id) {

case 0:

return new AlertDialog.Builder(this)

.setIcon(R.drawable.icon)

.setTitle(“This is a dialog with some simple text...”)

.setPositiveButton(“OK”, new

DialogInterface.OnClickListener() {

public void onClick(DialogInterface dialog,

int whichButton)

{

Toast.makeText(getBaseContext(),

“OK clicked!”, Toast.LENGTH_SHORT).show();

}

})

.setNegativeButton(“Cancel”, new

DialogInterface.OnClickListener() {

public void onClick(DialogInterface dialog,

int whichButton)

{

Toast.makeText(getBaseContext(),

“Cancel clicked!”, Toast.LENGTH_SHORT).show();

}

})

3 . 

4 . Press F11 to debug the application on the Android Emulator. Click the button to display the dialog. Checking the various checkboxes will cause the Toast class to display the text of the item checked/unchecked. To dismiss the dialog, click the OK or Cancel button.
how to Display a Dialog Window Using an Activity ?