Activity diagram is basically a flowchart to represent the flow from one activity to another activity. The activity can be described as an operation of the system.
This video explain the main guide lines of creating Activity diagram with some examples.