controlling a droid phone with arduino - how do i do it?

just got myself a motorola droid smartphone from amazon

http://www.amazon.com/gp/product/B003DQD5CS/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1

plus i also have the arduino uno, the arduino battery holder, and i have a movie i put onto the phone via a mini sd card.

i know i'll need sketches programming to control the phone to play the movie by default, etc, but, first things first, what i want to know at this point is, how do i physically connect the phone to the arduino and the radio shack on/off button that i'm planning on buying next time i go out that way (b/c i want to power on/off the phone using the radio shack button only and not the phone's default power button)?

thanks in advance.

Bluetooth Serial is your best option to send data to and from Android devices. Using the HC05 or HC06 Bluetooth to serial module attached to the Arduino.

If the phone has an On The Go port (also know as USB Host) You will need to check the specs on your phone, as this information was not listed on Amazon (but it isn’t always listed), you can connect via USB (see GitHub - mik3y/usb-serial-for-android: Android USB host serial driver library for CDC, FTDI, Arduino and other devices.) - However this is much more complex to use than Bluetooth

To do things on Android in response to commands etc from the Arduino, you’ll need to write your own Android application using Google’s Android Development kit (now called Android Studio).

Note. If you are not an experienced programmer or have not programmed Android before, what you propose may involve a steep and time consuming learning curve

SL4A is a simple way to write Android programs if you don't need to use every feature of the Andoid system. It also allows you to use Python (and other languages) so you can avoid the hassle of learning Android Java.

...R

would this work?

its from amazon. http://www.amazon.com/BT2S-Bluetooth-to-Serial-Slave/dp/B006RBK9ZW/ref=sr_1_1?ie=UTF8&qid=1406992380&sr=8-1&keywords=bluetooth+serial+for+android

That is the most popular Bluetooth device for use with Arduino but is about twice the price you pay for it on eBay. Normally, the phone is used to control an Arduino. I don't know how you would use the Arduino to control the phone, and you ought to check that there is an app for that that suits your needs.

or what about this?

i think this one might be even better - what do you guys say?

http://www.amazon.com/Arduino-Wireless-Bluetooth-Transceiver-Module/dp/B0093XAV4U/ref=sr_1_1?ie=UTF8&qid=1406993001&sr=8-1&keywords=bluetooth+serial+module

ok, Nick, i'll go look on ebay, but i don't know exactly what to look for - link, please? (thanks for the heads up, really appreciate it.) i'd be glad to get it cheaper like you said on ebay.

i want to control the phone with the arduino

p.s. that software that rogerClark and Robin linked me to above - i've already d/l it, now i'm looking for the adapter/module to make the arduino talk back and forth to the phone and tell it what to do

@rogerClark & Robin - thank you very much for linking me to that software, I really appreciate it.

rogerClark: Bluetooth Serial is your best option to send data to and from Android devices. Using the HC05 or HC06 Bluetooth to serial module attached to the Arduino.

I took your advice and went on ebay and ordered these two thing,s I hope they are the correct item (s) I would need for this job?

http://www.ebay.com/itm/200924726178?_trksid=p2060778.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

and this

http://www.ebay.com/itm/310646216582?_trksid=p2060778.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

and one (the item with the cable) came the other day.

Ok, how exactly do I connect them or make them (especially the one with the cable) communicate with my arduino unio?

rogerClark: If the phone has an On The Go port (also know as USB Host) You will need to check the specs on your phone, as this information was not listed on Amazon (but it isn't always listed), you can connect via USB (see https://github.com/mik3y/usb-serial-for-android) - However this is much more complex to use than Bluetooth

where do I look on my phone's plastic casing (or its software apps) to check if it has an On the Go port?

EagleBZ: I took your advice and went on ebay and ordered these two thing,s I hope they are the correct item (s) I would need for this job?

http://www.ebay.com/itm/200924726178?_trksid=p2060778.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

and this

http://www.ebay.com/itm/310646216582?_trksid=p2060778.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

and one (the item with the cable) came the other day.

Ok, how exactly do I connect them or make them (especially the one with the cable) communicate with my arduino unio?

The two devices are essentially the same, as will be apparent when you look closely. The first is an HC-06 and the second an HC-05 sans backboard. If you thought you were saving money on the HC-05, you probably didn't. You can get blank backboards on eBay for a dollar or so.

You might find the following background notes useful

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino