Android Question Intent.ACTION_TIME_TICK

pappicio

Active Member
Licensed User
Longtime User
Hi all, there is a method to receive on a service an Intent.ACTION_TIME_TICK ? and I' m not talking about "startserviceat", but a real intent, like: this one on manifest:
AddReceiverText(service_name,
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>)

thanks in advances.
 

DonManfred

Expert
Licensed User
Longtime User
public static final String ACTION_TIME_TICK
Added in API level 1
Broadcast Action: The current time has changed. Sent every minute. You can not receive this through components declared in manifests,
only by explicitly registering for it with Context.registerReceiver().

I´ve made an small example out of the example from BROADCASTRECIEVER-lib
 

Attachments

  • TIMETICK.zip
    6.8 KB · Views: 161
Upvote 0

pappicio

Active Member
Licensed User
Longtime User
oh... thanks a lot! I've seen your example, very usefull. thanks again.
 
Last edited:
Upvote 0
Top