How to take photo via services in android?

0

I need to develop an app to take pictures without the user noticing, as in the anti-theft programs that exist today.

I need the phone to open the camera app and take a picture when the phone or phone is alerted that it has been stolen.

How can I delve deeper into this search and get a solution?

    
asked by anonymous 05.03.2014 / 14:56

1 answer

1

First the cell phone has to find out that it was stolen. I believe the idea is that, from a website, the person says that the cell phone was stolen and information is sent to it.

For App x Server communication (if this is the case), I believe you should know about webservice. The App may ask the server from time to time whether it is stolen or not, and receive a response. Leaving the app "hidden" has no way. The "owner" of the phone can see in the tasks that this app exists and is running.

You can call some software that takes pictures from inside the "security app", take a photo and take it from the gallery. Or you can take the photo directly from your app.

One of the answers here should solve part of your doubt: link

Here's how to get the image from the gallery, if that's the case. link

More useful information. link

    
07.03.2014 / 17:06