I have following code for Android to display clock at every second. It works correctly for every minute. But how can change it to fire every second? Appreciated for any help.
BroadcastReceiver mBroadcastTime = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
// Change the time on your widget
}
};
IntentFilter mTime = new IntentFilter(Intent.ACTION_TIME_TICK);
registerReceiver(mBroadcastTime, mTime);