For that specific device, I'm guessing not, this sounds fairly
targeted and (knowing most of the API) nothing stands out to me as a
red flag about how it's done, I'd mess aroudn with the app for a while
and decompile it if I couldn't figure it out..

kris

On Sun, Sep 2, 2012 at 5:42 PM, Jeffrey Peacock <jeffp.ea...@gmail.com> wrote:
>
> Each of those is possible.  Going through the front door channel might
> invoke more resistance as it would then be a kind-of official reply.  I
> was hoping s/he might be on this list.
>
> I'm also betting that someone here knows the answer.
>
> /J
>
>
> On 09/02/2012 02:49 PM, Kristopher Micinski wrote:
>>
>> Jeff,
>>
>> In the worst case scenario, you could just disassemble the app and
>> reverse engineer it...
>>
>> In the best case scenario you should email the developer and ask him
>> how he's doing it, citing your research as why you need it (providing
>> proof you won't rip off his app, presumably)..
>>
>> kris
>>
>> On Sun, Sep 2, 2012 at 4:02 PM, Jeffrey Peacock <jeffp.ea...@gmail.com>
>> wrote:
>>>
>>> I am involved in a project to use camera enabled Android devices to
>>> detect
>>> cosmic ray events (
>>> http://www.distributedsensorweb.org/wiki/index.php/DECO).  It is enjoying
>>> some modest funding from the American Physics Society and interest from
>>> Fermi Labs and Standford Univ.
>>>
>>> The intent of the app is to run while the phone is plugged in and
>>> charging,
>>> like while the user is sleeping.  As such the shutter sound must be
>>> defeated.  In fact, even if you were running it on your desk while
>>> working
>>> the shutter sound is so annoying as to inspire you to reach for a hammer.
>>>
>>> For most phones we have been able to make use of the mechanisms seen in
>>> previous posts:  mute streams and/or set volume to 0.  However, for a
>>> recent
>>> phone, the LG Optimus Elite (were using low cost Virgin Mobile devices as
>>> some of the test devices to reduce costs), none of the old tricks work:
>>> the
>>> shutter sound always plays.  BUT!!!  I can download a camera app from the
>>> Google Play -- aptly named SilentCamera -- which will take pictures,
>>> well,
>>> silently.  And whatever solution it is employing is not using the
>>> MODIFY_AUDIO_SETTINGS permission.
>>>
>>> I have already burned several hours researching and trying a variety of
>>> things.  As I've indicated I have tried muting and setting volume to 0
>>> for
>>> all streams, just before the camera.takePicture() call.  And have tried
>>> to
>>> do the same in onShutter().  What I have learned is (according to the
>>> logs)
>>> that the camera is playing the shutter sound BEFORE the onShutter() call.
>>>
>>> Obviously, I am hoping someone on the list can help.
>>>
>>> Thanks.
>>>
>>> /J
>>>
>>> Note:  The LG Optimus Elite is running 2.3.7
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to