[android-developers] Activity throws an exception after the 1st run

2010-09-21 Thread Shahar Rubin
Hi all, I'm trying to run an activity that raise a camera surface, takes a picture and then gone until the next interval. On the first cycle it works well, but on the second cycle it raise an exception. Here is my code (PicTakerActivity is raised on every cycle): http://pastebin.com/MzPZNjwY Here

[android-developers] Running activity from my local service

2010-09-19 Thread Shahar Rubin
Hi all, I'm trying to run an activity that raise a camera surface, takes a picture and then gone until the next interval. On the first cycle it works well, but on the second cycle it raise an exception. Here is my code (PicTakerActivity is raised on every cycle): http://pastebin.com/MzPZNjwY

[android-developers] Running activity from my local service

2010-09-14 Thread Shahar Rubin
Hi, I'm trying to create a program with a service that runs every 10 seconds, puts the camera preview, taking a picture and then leaving the user to continue his work (closing down). Currently I have two problems: 1. After I'm taking the picture, the preview still there. There's no function like

[android-developers] Re: Running activity from my local service

2010-09-14 Thread Shahar Rubin
09-14 18:09:19.566: DEBUG/AK8973(73): Compass CLOSE On 14 ספטמבר, 12:10, Mark Murphy mmur...@commonsware.com wrote: On Mon, Sep 13, 2010 at 2:08 PM, Shahar Rubin shahar.rubi...@gmail.com wrote: 1. After I'm taking the picture, the preview still there. There's no function like close