Notification
static final int ONGOING_NOTIFICATION = 1;
public void setNotification() {
Notification notification = new Notification(R.drawable.ic_launcher, "clikc me",
System.currentTimeMillis());
Intent notificationIntent = new Intent(this, RemoteServiceActivity.class);
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);
notification.setLatestEventInfo(this, "service run in background","a notify msg", pendingIntent);
}