Hi,
If I want to run a service on a timer what is the correct place to locate the timer event. If I place it on a page load event when the device goes to sleep the timer stops until the device is re-activated.
Regards,
Joe
Hi,
If I want to run a service on a timer what is the correct place to locate the timer event. If I place it on a page load event when the device goes to sleep the timer stops until the device is re-activated.
Regards,
Joe
On page load (or app load) is fine.. but I'm not sure the mobile browsers support invoking the service when the browser is not active. Maybe there is a workaround, but you would need to check that.
Hi Max,
Thanks for the reply I have searched for a solution but have not yet found how to achieve this.
Totally unrelated, I have an image 'myimage' in a grid 'grd1' the image is hidden and I want to show it I have tried Tiggr('myimage').show(); but this does not work, what is the coreect method to do this?
Regards,
Joe
How or on which event do you run the .show() function?
I want to show an Image from the success event of a service call. But I have tested the show function from a button event without success.
Run this:
code
Tiggzi('image_name').parent().show();
/code
Hi max, That's great thanks works from both the service and the button.
Hi Max,
I have found this Blog which describes a method that appears to do exactly what I need:
http://www.newtondev.com/2012/01/andr...
The functionality requires that the application manifest has an additional permission set. android.permission.WAKE_LOCK
If I wish to investigate this will I have to export my finished app then import it into eclipse in order to set it up. Please take a look and let me know what you think.
Regards,
Joe
Yes, you would need to export.
Hi max, is there any plans to extend tiggzi to support these methods.