Dynamically Create View Elements - Android Example
Get Registered Email Accounts - Android Example
Create Notification Alert - Android Example
Skew Or Bind Image On SDCARD - Android Example
Swipe screen left right top bottom
Create Repeating Alarm Start After Each 2 Minutes
In this example creating a date picker to pick day month year of date.
Time Picker With AM_PM Values - Android Example
1. Create button in XML file.
<Button
android:id="@+id/contact"
android:text="CONTACT US"
style="@style/GreenButton"
android:minWidth="240dp"/>
2. Get button object from id created in xml file
Button aContactButton = (Button)findViewById(R.id.contact);
3. Set button click listener.
aContactButton.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
}
});