Java tutorial
//package com.java2s; import android.content.Context; import android.content.Intent; import android.location.Location; public class Main { public static String POI_INTENTFILTER = "POI_INTENTFILTER"; static public String EXTRA_LOCATION = "EXTRA_LOCATION"; static public Intent broadcastLocationUpdate(Context context, Location location) { Intent intent = new Intent(POI_INTENTFILTER); intent.putExtra(EXTRA_LOCATION, location); return intent; } }