Hi, I am trying to design a code to take pictures automatically(without pressing any button)repeatedly every 1 min.
I am using the AlarmController.java in the sdk APIDemo. Right now, the code AlarmController.java sends a PendingIntent to RepeatingAlarm.java if RepeatingAlarm button is pressed,waits 15seconds and displays Repeating Alarm has gone off. I am trying to modify Repeating Alarm.java which extends Broadcast Receiver so that I can automatically take Pictures without pressing the camera button! The Broadcast Receiver has onReceive method.So do I put the code for taking picture inside the onReceive method of BroadcastReceiver? Pending Indent also has the method getActivity.But Activity does not have onReceive method!!! I can not understand whether I am heading the right way!!!!! Sharmila. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

