Go Down

Topic: Dual-screen Nexus One phone Android accessory (Read 1 time) previous topic - next topic

follower

Always running out of space on your Nexus One phone's display?

Wish you could see who was texting you or know the current time when you're playing full-screen games?



You need a dual-screen Nexus One:



The project hardware includes an Arduino, USB Host Shield, LCD display and a Nexus One phone running Android 2.3.4.

The LCD display accessory is implemented using the Android Open Accessory Protocol (like the ADK): an invisible background service is started automatically when you connect the accessory. The service displays a notification of the accessory found, listens for new text messages and starts sending the current time to the accessory for display. You can use your phone as normal while the service is running in the background.

More details, source and photos on my Labradoc project log.

--Philip;

P.S. If you want to get started with creating Android accessories but don't know how to write Android code check out my post on Handbag it's the easy way to get started without writing Android code.

mowcius

Quote
Always running out of space on your Nexus One phone's display?

No

Quote
Wish you could see who was texting you or know the current time when you're playing full-screen games?

and no.
:p

I don't have a Nexus One...

Cool project though :D

Si

Nice :-)

You may find that your little battery goes flat pretty quickly if the phone decides it wants half an amp ;)

If you have found a software way around this requirement of Open Accessory, it would be great to know.

I have ended up making an 'no-charging' USB extension lead, which is fine, as long as the phone is well charged.

http://srmonk.blogspot.com/2011/06/android-open-accessory-without-charging.html
--
My New Arduino Book: http://www.arduinobook.com

follower

If you have found a software way around this requirement of Open Accessory, it would be great to know.


Alas, no, I haven't--according the original Google IO presentation I saw this is a requirement of the USB host spec.

Quote
I have ended up making an 'no-charging' USB extension lead, which is fine, as long as the phone is well charged.


Nice! I had recalled reading someone mentioning something like that was possible but hadn't actually seen it done.

What's the theory behind why the trick works? I assume it is enough to trigger whatever the phone uses to detect "power" but not enough to actually drain the battery much?

--Philip;

Si

That's the theory, although it only really works when the phone is fairly well charged up anyway.

But it does mean that if the phone decides it wants more, it comes out of accessory mode rather than killing the battery.
--
My New Arduino Book: http://www.arduinobook.com

felis

USB Host Shield library r2.0 supports USB hubs so you can use a hub as a power source, see link at the end of this thread -> http://arduino.cc/forum/index.php/topic,64693.0.html   I checked with both Nexus S and Nexus One, they work well.
/felis

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview