I started to experience problems with my iPhone that seem to be related to the dock connector.

Upon plugging my iPhone into my (officially supported) car stereo, I started to get the message  "This accessory is not supported by iPhone" on the screen.  Didn't think much of it as I only use it for charging purposes, and that still worked so I ignored it.  Then I bought a small ANT+ dongle, which is a little accessory you plug into the dock connector to allow your phone to receive data from various health/fitness devices like heart rate monitor, and cycle sensors etc.  It produces the same error message every time I plug it in, and the apps that use the dongle will not recognise it.

The dongle does officially support my hardware and OS level. I've checked that it is not broken by plugging it into an iPhone 5, an iPad 3 and an iPod of some description, none of which showed the error.  The supported apps find the device on the iPad, the iPhone 5 does not have the apps installed but offers to do so as soon as I plug it in, so I know the dongle is working correctly.

In addition to the above, when nothing is plugged into the dock connector, it still occassionally thinks that something is, resulting in a muted phone.  When it's in this state I am not able to hear anything or change any volume settings (music playback or ringer volume) with the physical keys. Going into the Music app shows that it thinks it's outputting the music to the dock connector.

Why is this accessory not working on my iPhone, and how can I get it working?  What causes my iPhone to think that it's docked when it isn't?


Question: How to embed user photo upload form in a page of Drupal 7 site
Answer: You can do it like this:


Open node--37.tpl.php
locate the container(div) where should be placed a form and use drupal_get_form() function.


example:

&lt;div class="some-class"&gt;
&lt;?php print render(drupal_get_form('MY_FORM_ID')); ?&gt;
&lt;/div&gt;