[Tilt, TyTN II, MDA Vario III Themes and Apps] Neevok:
CHelloWorld Sample

Hi guys,

I hope anyone can help me with this problem.

Actually I'm trying to create for educational purposes a Titanium plugin, which shall be as small as possible (the purpose of a Hello World sample ;-) )

The problem is, that I don't get it working. It relies already on existing C*-Plugins, but still no clue what is wrong.

Here is my default.plg (shortened):

<?xml version="1.0" encoding="utf-8" ?>
<plugin>
<name>CHelloWorld</name>
<position>2</position>
<layouts>
<layout screenWidth="240" screenHeight="320">
<!-- CHelloWorld layout templates -->
<Layer ID="CHelloWorldExpanded" Visible="False" Width="240" Height="82" Clip="False">
<Layer ID="Page" Clip="False">
<!-- Large icon in upper right -->
<Image ID="PICTURES" Left="188" Top="-13" Width="43" Height="57" />
<Text ID="TEXT1" Left="20" Top="22" Width="170" Height="21" FontFamily="Tahoma" FontSize="10" FontStyle="Bold" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</Layer>
</Layer>
<Layer ID="CHelloWorldCondensed" Visible="False" Width="240" Height="34">
<Layer ID="Page">
<!-- Condensed Line 1 -->
<Text ID="PluginLabel" Left="10" Top="4" Width="220" Height="34" FontFamily="Tahoma" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" InnerTextType="Resource" Text="cmhomeres.dll,1025">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</Layer>
</Layer>
</layout>
<layout screenWidth="320" screenHeight="240">
<Layer ID="CHelloWorldExpanded" Visible="False" Width="320" Height="82" Clip="False">
<Layer ID="Page" Clip="False">
<!-- Large icon in upper right -->
<Image ID="PICTURES" Left="250" Top="-13" Width="43" Height="57" />
<Text ID="TEXT1" Left="20" Top="22" Width="230" Height="21" FontFamily="Tahoma" FontSize="10" FontStyle="Bold" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</Layer>
</Layer>
<Layer ID="CHelloWorldCondensed" Visible="False" Width="640" Height="68">
<Layer ID="Page">
<!-- Condensed Line 1 -->
<Text ID="PluginLabel" Left="10" Top="4" Width="220" Height="34" FontFamily="Tahoma" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" InnerTextType="Resource" Text="cmhomeres.dll,1025">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</Layer>
</Layer>
</layout>
<layout screenWidth="480" screenHeight="640">
<!-- CHelloWorld layout templates -->
<Layer ID="CHelloWorldExpanded" Visible="False" Width="480" Height="164" Clip="False">
<Layer ID="Page" Clip="False">
<!-- Large icon in upper right -->
<Image ID="PICTURES" Left="376" Top="-26" Width="43" Height="57" />
<Text ID="TEXT1" Left="40" Top="45" Width="340" Height="42" FontFamily="Tahoma" FontSize="10" FontStyle="Bold" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</Layer>
</Layer>
<Layer ID="CHelloWorldCondensed" Visible="False" Width="480" Height="68">
<Layer ID="Page">
<!-- Condensed Line 1 -->
<Text ID="PluginLabel" Left="20" Top="8" Width="440" Height="68" FontFamily="Tahoma" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" InnerTextType="Resource" Text="cmhomeres.dll,1025">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</Layer>
</Layer>
</layout>
<layout screenWidth="640" screenHeight="480">
<!-- CHelloWorld layout templates -->
<Layer ID="CHelloWorldExpanded" Visible="False" Width="640" Height="164" Clip="False">
<Layer ID="Page" Clip="False">
<!-- Large icon in upper right -->
<Image ID="PICTURES" Left="500" Top="-26" Width="43" Height="57" />
<Text ID="TEXT1" Left="40" Top="45" Width="460" Height="42" FontFamily="Tahoma" FontSize="10" FontStyle="Bold" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</Layer>
</Layer>
<Layer ID="CHelloWorldCondensed" Visible="False" Width="640" Height="68">
<Layer ID="Page">
<!-- Condensed Line 1 -->
<Text ID="PluginLabel" Left="20" Top="8" Width="440" Height="68" FontFamily="Tahoma" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" InnerTextType="Resource" Text="cmhomeres.dll,1025">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</Layer>
</Layer>
</layout>
</layouts>
</plugin>

My Registrysettings look like this:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CHome\CHelloWorld\CondensedPage]
"PluginLabel"="Hello World"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CHome\CHelloWorld\Page1]
"PICTURES"="\\Program Files\\CHome Icons\\Word.png"
"TEXT1"="Hello World"
"ACTIONURL"="\\Windows\\pword.exe"
"SK2URL"=""
"SK2Text"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CHome\CHelloWorld]
"Pages"="Page1"
"Updated"=dword:00000000
"LocName"="CHelloWorld"
"Layout"="CHelloWorld"
"GUID"="{2F848FE0-9DF5-4268-A6C9-AD6D1B13FD89}"
"DataSource"="Software\\Microsoft\\CHome\\CHelloWorld"

Attached you find my CAB, if you want to have a brief view on it. Any help is appreciated.

Probably someone has annotations how I could even minimize the default.plg.

Thanks in advance.

Cheers, Peter