One quick-but-dirty way would be to have the androids make a notification
sound, for example a 100Hz tone (use audacity to generate the sound file),
and have an headset lead connected to the arduino input pin so  the
firmware can simply wait for the tone and connect the charger...

Best regards,
Fred

On 24 August 2012 11:51, Mark Murphy <[email protected]> wrote:

> Questions regarding modifying the Android OS and hardware to
> accomplish this is out of scope for this list. This list is for
> developing applications with the Android SDK.
>
> On Thu, Aug 23, 2012 at 8:32 AM, Sacha van Tienhoven
> <[email protected]> wrote:
> > This problem is occurring on a research project:
> >
> > Hardware setup:
> > I have a Samsung GT-S5380 phone connected to an Arduino board through
> which
> > it is getting charged. The Arduino board is connected to a battery. The
> > battery requires to be charged regularly.
> >
> > The trail participants forget to charge the battery, because of various
> > reasons (sick, holiday, etc.)
> >
> > As a result the battery goes flat with participants that don't charge the
> > battery in time, the phone (being switched on) runs out of power at some
> > stage as well after the battery connected to the Arduino board has gone
> > flat. As a result the Samsung GT-5380 phone shutsdown, as no power is
> > available at some point in time.
> >
> > Now, when the battery connected to the Arduino board is being recharged
> and
> > reconnected to the Arduino board (the battery requires to be charged by
> > removing its connection from the Arduino board, using an external docking
> > station, reconnect to Arduino board after being charged) I want the
> Android
> > phone to automatically boot android (as it has a power source connected
> > again).
> >
> > The phone is using Rom version CyanogenMod 7 with google apps version
> > 20110828.
> >
> > Any suggestions?
> >
> >
> >
> > --
> > 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
>
>
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training in NYC: http://marakana.com/training/android/
>
> --
> 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
>



-- 
Ubuntu Speech 
input<https://play.google.com/store/apps/details?id=com.nds.ubuntuspeechinput>is
now available on Google Play, along with Magnetic
Door Alarm 
app<https://play.google.com/store/apps/details?id=com.nds.magneticdooralarm>
.

-- 
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

Reply via email to