I developed an app that does something every X time set. I thought about few ideas how to do that but i learn java and android mySelf and i don't know what is the right method to do that . So, my app runs as a "Service" and i created a While loop that has a if Statement like:
Example = "mySetTim = 6/7/14;"
while(true){
if(currentDate == getTime){
//Do Something....
}
}
and it works, but if i want to do "something" every day. How can i pass it because my SetTime date is not return 2 times in a year .