You can use Android AlarmManager service to create alarm, you get a 
callback at the specified time, then you can execute your code.
http://developer.android.com/reference/android/app/AlarmManager.html
I am not sure whether it suits your requirement with sqlite but in general 
AlarmManager is the way to go.

-br
Arun


On Wednesday, 19 December 2012 12:39:47 UTC, srinuvasareddy avula wrote:
>
> Hi,
>
>
>     I have sqLite Table like this
>
> +----------+----------+
> | FireTime | DeviceId |
> +----------+----------+
> |    08:00 | 00000000 |
> +----------+----------+
>
> i want to create a trigger which accepts mDeviceId parameter from user and 
> checks for mDeviceId entry is there in table or not this trigger must be 
> fire on 8 : 00..
>
> How can is do so ? can any one suggest me that .. thanks in advance..
>
>
> is there any mechanism to execute some peace of code based on time .. 
>
> Thanks & Regards
> Srinivas
>

-- 
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