How to make a round button?

Create an xml file named roundedbutton.xml in drawable folder Finally set that as background to your Button as android:background = “@drawable/roundedbutton” If you want to make it completely rounded, alter the radius and settle for something that is ok for you.

Android : When do we use getIntent()?

http://developer.android.com/reference/android/app/Activity.html#getIntent() Return the intent that started this activity. If you start an Activity with some data, for example by doing you can retrieve this data using getIntent in the new activity: So, it’s not for handling returning data from an Activity, like onActivityResult, but it’s for passing data to a new Activity.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)