Home screen plugin in Motorola Q

I have compiled and successfully deployed the Smartphone Home Screen pluing memplug sample that comes with the Smartphone 5.0 SDK.

Unfortunately on the Motorola Q this plugin does not work. I get an error "The layout that you have selected cannot be Installed ... " I can't read the rest of the message as it goes off screen and I can't scroll.

The plugin was successfully signed and I run sdkcerts.cab on the device. I don't see any new certificates under Settings->Security->Certificates->Personal. Are these certificates supposed to be stored under personal or root Not sure if this is the problem.

Has anyone been successful getting a Home screen plugin to work on the Motorola Q

Thanks in advance



Answer this question

Home screen plugin in Motorola Q

  • 04-digit0l

    If you have not installed the new ROM update released by Motorola in early September, then you have the release version of the MotoQ. You should install the update, but that is most likely not your problem. (The reason I mentioned ROM version is that I installed a modified home XML layout from the RELEASE version of the Q on the ROM updated version of the Q and it was not compatible--I had to re-get a home screen XML layout from the updated ROM on the Q and modify it to load my plugin.)

    Note that after installing the SdkCerts.cab on the phone, you will not see the certificates listed anywhere on the phone. However, using the Microsoft provided Device Security Manager tool and connecting the device to your PC, you can see what certs are provisioned on the phone.

    You can download the tool from here:

    http://www.microsoft.com/downloads/details.aspx FamilyID=7e92628c-d587-47e0-908b-09fee6ea517a&displaylang=en

    I would guess that your home screen layout XML file may be invalid. Can you confirm that you can copy the home screen to your PC and open it in Internet Explorer to determine if the content is at least valid XML structure If it is, you need to check to see that your <plugin> node is defined properly, with the correct GUID from the sample in your code.

    If you did not change any of the code in the sample, I am not sure what else could be the problem since the sample does work as-is... which leads me to believe something is wrong with the home screen layout you modified in order to load your plugin.

    Rob


  • son of dad

    Rob,

    Thanks for the help.

    I did not modify the code at all. In addition I built the .cab file as it is on the example. Again with out any modifications. I then installed the application from the .cab file. I am pretty sure that my problem has to do with certificates. But I do not know how to check that I have the certificates I need.

    How do you check for the ROM version Can you explain again why the ROM version would be a problem


  • h1

    I spent some time fighting the exact same problem on my Moto Q.

    Looks like the problem doesn't have anything to do with certificates or the C++ code. The problem is the Test.Home.XML file.

    Problems:

    1.) background is set to a file that doesn't exist (\windows\bliss.gif). Change that to a valid filename

    2.) There is another plugin near the bottom of the XML file with name="notifyui". Remove it.

    3.) Along the way of debugging this, I also removed the unprintable text for languages 412 and 804. Not sure if that impacted anything.

    The easiest thing to do is to start with a working XX.Home.xml file, then paste the following to add the Memory Test plugin.

    <plugin clsid="{55EE36E7-7CC3-47e8-85E2-1D8644280E7A}" name="Memory Usage" height="40">

    </plugin>

    Hope this helps,

    Kim

    Synapsys LLC


  • Kristian J&amp;#246;rgensen

    I've successfully deployed a home screen plugin on the Motorola Q and I used that sample as a reference when I built mine. Are you running the Windows Mobile ROM update AKU 2.4 on the phone or the original Verizon release Note that the default verizon home screen layout on AKU 1.x Verizon release is not compatible with the the AKU 2.4 release.

    When you installed the mem plugin, did you just insert its <plugin> tag in one of your existing home screen layouts Are you sure the home screen layout you modified is still valid XML and has a valid home screen layout format Typos can mess it up easily.

    Are you sure the GUID / CLSID is correct in your <plugin> tag Are you sure the memplugin.dll is installed properly and registered on the device

    Did you modify the memplugin sample code at all or compile as-is If none of the above are the problem and you modified the code, perhaps something is wrong there causing the plugin to fail to load--i.e., if you mess up the plugin init process in the way you load your parameters and then persist them for later, your plugin will fail to load.

    Hopefully the above helps you out, let me know and we'll see what we can try next.

    Rob


  • Home screen plugin in Motorola Q