i have created a broadcast receiver registered it statically..
it is not get called on location changed
have a look on code snippet
and help me out to solve the issu..

public class LocationReceiver extends BroadcastReceiver{

    @Override
    public void onReceive(Context context, Intent intent) {
        // TODO Auto-generated method stub
        Toast.makeText(context,"Receiver", Toast.LENGTH_LONG).show();
}
}

//*xml:manifest*
<receiver android:name="LocationReceiver">
     <intent-filter>
            <action android:name="android.intent.action.LOCATION_CHANGED" />

            <category android:name="android.intent.category.DEFAULT"/>
  </intent-filter>

-- 

 A N K ! T......

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to