sushilange
13th July 2008, 04:12 PM
Hi guys,
HTC uses Lua (opensoure programming language) to implement thinks like contacts, weather, etc. to each tab of touchflo3d.
I tried to decompile those scripts with LuaDC and LuaDEC but both decompilers won't work with the htc-files.
Then I tried to code my own script. Just printing 'hello world'.... and I add it to the home-tab like this:
<Page Order="0" Name="home.page" PackageName="HTC" Default="true" Title="[[IDS_HOMETITLE]]" ExternalScriptPath="myfile.luac">
<ComponentReference Name="page" Mode9Path="HTC\home.mode9?testParam=1" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\icons.mode9" Component="Home_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\icons.mode9" Component="Home_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\icons.mode9" Component="Home_Preview" />
</Page>
But after this, manila won't start.
So we have to figure out, how the script files have to look like!
If we got it, then we are able to add own tabs with own functionality to manila like today-plugins for windows mobile!
HTC uses Lua (opensoure programming language) to implement thinks like contacts, weather, etc. to each tab of touchflo3d.
I tried to decompile those scripts with LuaDC and LuaDEC but both decompilers won't work with the htc-files.
Then I tried to code my own script. Just printing 'hello world'.... and I add it to the home-tab like this:
<Page Order="0" Name="home.page" PackageName="HTC" Default="true" Title="[[IDS_HOMETITLE]]" ExternalScriptPath="myfile.luac">
<ComponentReference Name="page" Mode9Path="HTC\home.mode9?testParam=1" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\icons.mode9" Component="Home_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\icons.mode9" Component="Home_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\icons.mode9" Component="Home_Preview" />
</Page>
But after this, manila won't start.
So we have to figure out, how the script files have to look like!
If we got it, then we are able to add own tabs with own functionality to manila like today-plugins for windows mobile!