Jump to content

Recommended Posts

Guest crafty
Posted

Hi to all the clever programmers out there. I was wondering if anyone (looking at you RemyJ :)) could write a new homescreen plugin for me. What i want is something that reports the number of new SMS, MMS and Emails but only appears when you have a new message - in a similar way to the missed calls plugin etc. it also needs to support the bgimage="..." format as well.

The orange plugin does something similar, but doesn't seem to support the bgimage attribute.

The ides behind this is to have the plugin at the top of the homescreen and set the height to 200 with an appropriate background image when selected so that you can have a full screen alert when you recieve a new message. Could either set different bgimages for SMSs, E-Mails etc within the plugin or just repeat the plugin in the xml once for each message type so the

I have no idea about programming of any sort so don't know how easy/possible this would be but wouldlove to see this.

Thanks in advance!

crafty

8)

Guest Taoski
Posted

That sounds like a cool idea. Lets hope someone can help!

Guest crafty
Posted

Never mind - have worked out how to do this. The orange Uber Plugin DOES do this, only just realised that bgimage="..." files MUST be bitmaps! Guess it'll work on E200s then but unlucky for everyone else!

I'm working on a new homescreen at the mo so look out for a full page message alert soon!

For those interested in doing this for an E200 homescreen, you need to put this code as the first plugin:

<plugin  clsid="{A2536C54-6AC2-4c31-9542-B144B0E9D077}" height="200" width="100%" wrap="1" autohide="1" autoheight="0">

 <format padding-bottom="3" padding-top="2"/>

 <format state="selected" padding-bottom="3" padding-top="2"/>

 <background>

 <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT" bgimage="StorageApplication



DataHomeFull Screen Message Pic.bmp"/>

 </background>

 <label><text><sms/><mms/><email/></text></label>

</plugin>[/code]

Note that autohide MUST equal 0.

thankyou please

Guest drblow
Posted

:) Crafty - you're a genius!!

Thats a great & innovative way to use the stupendous O plugin. I like it alot!! :lol: You should make a feature of this in your next skin release so as to draw peoples attention to it - I think alot of people will like this. I'm certainly going to include it in my next homescreen! (that is, if thats quite alright with you!? :wink: )

Guest crafty
Posted

hmmmmmmm been playing around with this (thank god for free SMSs from 02.co.uk :))and can't quite get it to work properly.

When you recieve a new text, the plugin "unhides" itself but the screen does not "scroll up" if you get what i mean. You can press up and then you get your nice new message alert screen but it does not seem to appear on it's own :lol:.

Anyone got any ideas about this? Shame as this would be a pretty nice feature.

I'm not really sure what the wrap="1" bit does (nor what other values do for that matter) might have to play around with this some moe. Damn i wish that Orange would release some documentation about this plugin.

Guest MrMagoo
Posted
hmmmmmmm been playing around with this (thank god for free SMSs from 02.co.uk :))and can't quite get it to work properly.

When you recieve a new text, the plugin "unhides" itself but the screen does not "scroll up" if you get what i mean.  You can press up and then you get your nice new message alert screen but it does not seem to appear on it's own :lol:.

Anyone got any ideas about this?  Shame as this would be a pretty nice feature.

I'm not really sure what the wrap="1" bit does (nor what other values do for that matter) might have to play around with this some moe.  Damn i wish that Orange would release some documentation about this plugin.

have a look at this - it does something similar except without the background image - which u could still do...

<?xml version="1.0"?>


<home>


	<author>MrMagoo</author>




	<contacturl>mailto:me@there</contacturl>




	<title lang="0x0409">BlindLemon</title>


	<title lang="0x0809">BlindLemon</title>


	<title lang="0x040c">BlindLemon</title>


	<title lang="0x0407">BlindLemon</title>


	<title lang="0x0410">BlindLemon</title>


	<title lang="0x0816">BlindLemon</title>


	<title lang="0x040a">BlindLemon</title>


	<title lang="0x0406">BlindLemon</title>


	<title lang="0x0413">BlindLemon</title>




	<version>1.0</version>




	<background bgimage="black.gif" valign="bottom"/>




	<scheme>


  <color name="COLOR_WINDOW" value="#FFFFFF"/>


  <color name="COLOR_STATIC" value="#FFFFFF"/>


  <color name="COLOR_STATICTEXT" value="#000000"/>


  <color name="COLOR_HIGHLIGHT" value="#000000"/>


  <color name="COLOR_HIGHLIGHTTEXT" value="#ffff00"/>


  <color name="COLOR_MENU" value="#CECECE"/>


  <color name="COLOR_MENUTEXT" value="#000000"/>


  <color name="COLOR_GRAYTEXT" value="#666666"/>


  <color name="COLOR_GRADLEFT" value="#FFFFFF"/>


  <color name="COLOR_GRADRIGHT" value="#FFFFFF"/>


  <color name="COLOR_INTGRADLEFT" value="#FFFFFF"/>


  <color name="COLOR_INTGRADRIGHT" value="#FFFFFF"/>


  <color name="COLOR_TRAYGRADLEFT" value="#000000"/>


  <color name="COLOR_TRAYGRADRIGHT" value="#000000"/>


  <color name="COLOR_HIGHGRADLEFT" value="#000000"/>


  <color name="COLOR_HIGHGRADRIGHT" value="#FFFFFF"/>


  <color name="COLOR_TRAYTEXT" value="#FFFFFF"/>


  <color name="COLOR_WINDOWFRAME" value="#000000"/>


  <color name="COLOR_BTNFACE" value="#CCCCCC"/>


  <color name="COLOR_BTNTEXT" value="#000000"/>


  <color name="COLOR_SCROLLBAR" value="#CCCCCC"/>


  <color name="COLOR_HOMETEXT" value="#FFFFFF"/>


  <color name="COLOR_HOMEHIGHLIGHT" value="#FFFF99"/>


  <color name="COLOR_HOMEHIGHLIGHTTEXT" value="#FFFF00"/>


  <color name="COLOR_HOMERULE" value="#FFFFFF"/>


  <color name="COLOR_alertWINDOW" value="#FFFFFF"/>


  <color name="COLOR_alertTITLE" value="#FF6600"/>


  <color name="COLOR_alertRULE" value="#FFFFFF"/>


  <color name="COLOR_alert" value="#0000FF"/>


  <color name="COLOR_ACCENTTEXT" value="#000000"/>


  <color name="COLOR_CALOFFHOURS" value="#DDDDDD"/>


  <color name="COLOR_CALONHOURS" value="#CCFFFF"/>


  <color name="COLOR_TODAYTEXT" value="#993300"/>


  <color name="COLOR_STARTICONBACKGROUND" value="#A22E08"/>


  <color name="COLOR_TODAYSEPARATOR" value="#FF9966"/>


  <color name="COLOR_TODAYMENU" value="#C0C0C0"/>


  <color name="COLOR_NAVBAR" value="#F18112"/>


  <color name="COLOR_NAVBARTEXT" value="#FFFFFF"/>


  <color name="COLOR_NAVBARHILITE" value="#A06E6E"/>


  <!-- <color name="COLOR_NOTIFTRAY" value="#A06E6E"/> -->


  <color name="COLOR_NOTIFTRAY" value="#999999"/> 


  <color name="COLOR_NOTIFTRAYHILITE" value="#E6B4B4"/>


  <color name="COLOR_PHONEDIalertEXT" value="#FFFFFF"/>


  <color name="COLOR_TRAYBKGND" value="#C0C0C0"/>


  <color name="COLOR_DIALPADBKGND" value="#C38484"/>


  <color name="COLOR_CRITGRADLEFT" value="#1E83FF"/>


  <color name="COLOR_CRITGRADRIGHT" value="#0000C8"/>


  <color name="COLOR_BUBBLETITLE" value="#FFFFFF"/>


  <color name="COLOR_CRITBUBBLETITLE" value="#CCFFFF"/>


	</scheme>




	<default font-face="A.C.M.E. Secret Agent" halign="center" valign="center" font-size="30" font-weight="bold" fgcolor="#FFFFFF" bgcolor="transparent" b-border-width="0">


  <format state="selected" fgcolor="COLOR_HOMEHIGHLIGHTTEXT"/>


	</default>




	<plugin clsid="{837FC251-FE69-43ad-84E0-EBCEDEBA0884}" name="iconbar" height="10" width="100%">


  <iconbar font-face="Comic Sans MS" fgcolor="#FFFFFF"/>


  <background gradient="title" bgcolor="COLOR_TRAYGRADLEFT" b-border-color="COLOR_WINDOWFRAME" b-border-width="1"/>


	</plugin>




	<plugin focus="PARTIAL" highlight="COLOR_HOMEHIGHLIGHT"  half-highlight="COLOR_HOMEHIGHLIGHT" clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}" height="34" group="p" padding-left="8" width="160">


  <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHTTEXT" /> 


  <background b-border-width="1" />


  <shortcut imagesource="StorageProgram FilesBlindLemonBTtoggle.exe" icon="105" icon-size="32" width="36" action="StorageProgram FilesBlindLemonBTtoggle.exe"></shortcut>


  <shortcut imagesource="StorageProgram FilesBinarysSmart Explorer ENSmartExplorerEN.exe" icon="105" icon-size="32" width="36" action="StorageProgram FilesBinarysSmart Explorer ENSmartExplorerEN.exe"></shortcut>


  <shortcut imagesource="StorageProgram FilesBlindLemonBLautoBT.exe" icon="105" icon-size="32" width="36" action="StorageProgram FilesBlindLemonBLautoBT.exe"></shortcut>


  <shortcut imagesource="StorageProgram FilesBinarysSP Task Manager ENSPTaskMgrEN.exe" icon="101" icon-size="32" width="36" action="StorageProgram FilesBinarysSP Task Manager ENSPTaskMgrEN.exe"><text></text></shortcut>


  <shortcut imagesource="repllog.exe" icon="0" icon-size="32" width="32" action="StoragewindowsStart MenuActiveSync.lnk"></shortcut>


	</plugin>




	<!-- row 1: missed calls --> 


	<plugin autohide="1" clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}" height="161" width="100%">


  <shortcut id="row3sc" width="100%"> 


 	 <plugin autohide="1" clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}" height="161" width="100%" handlekeys="CHILD"> 


    <shortcut width="100%"> 


   	 <plugin clsid="{0BA8ABB8-1F1D-417f-88C6-DA8530E2E7A6}" name="missedcalls" height="161"> 


      <label wrap="1" > 


     	 <text>Missed calls: <calls/></text>


      </label> 


   	 </plugin>


    </shortcut>  


 	 </plugin>                 


  </shortcut> 


	</plugin> 




	<!-- row 2: messages --> 


	<plugin  clsid="{A2536C54-6AC2-4c31-9542-B144B0E9D077}" height="161" width="100%" wrap="1" autohide="1" >


  <format wrap="1" />


  <format state="selected" wrap="1" />


  <label> 


 	 <text>new <sms/><mms/><email/></text>


  </label>


	</plugin>


	<!-- row 1 -->


	<plugin height="20" width="100%" group="p" handlekeys="CHILD" clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}" halign="center" >


  <format font-size="12" />


  <format state="selected" bgcolor="transparent" font-size="12"/>


  <background b-border-width="0" />  




  <!-- row1 col1: alarm -->


  <shortcut id="row1col1" width="100%" height="20">


 	 <plugin wrap="0" height="20" width="100%" handlekeys="FOCUS" clsid="{A2536C59-6AC2-4c31-9542-B144B0E9D077}">


    <format font-size="20"   />


    <format state="selected" font-size="20" />


    <background bgcolor="transparent"  />


    <label>


   	 <text>Alarm: <status off="Off" /></text>


    </label>


 	 </plugin>


  </shortcut> 




  <!-- row1 col2: portal line 1 -->


  <shortcut id="row1col2" width="100%" height="20">


 	 <plugin wrap="0" height="20" width="100%" handlekeys="FOCUS" clsid="{A2536C59-6AC2-4c31-9542-B144B0E9D077}">


    <format font-size="20"   />


    <format state="selected" font-size="20" />


    <background bgcolor="transparent"  />


    <label>


   	 <text>Alarm: <status off="Off" /></text>


    </label>


 	 </plugin>


  </shortcut>  




  <!-- row1 col3: write new message -->


  <shortcut  width="100%">


 	 <plugin height="20" width="100%" handlekeys="FOCUS" clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}">


    <format font-size="16" />


    <format state="selected" font-size="16" />


    <shortcut width="100%" icon="-2" height="20" action="windowstmail.exe" args="-new" _keys="!Inbox.MainWnd;~50;-TSOFT1" _action="storageWindowsStart MenuInbox.lnk">


   	 <label>


      <text>New message</text>


   	 </label>


    </shortcut>	


 	 </plugin>


  </shortcut>




  <!-- row1 col4: create appointment -->


  <shortcut height="30" id="row1col4" wrap="1" width="100%" icon="" action="storageWindowsStart MenuSettings.lnk">


 	 <plugin height="30" width="100%" handlekeys="FOCUS" clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}">


    <format font-size="16" wrap="1"/>


    <format state="selected" font-size="16" wrap="1"/>


    <shortcut width="100%" keys="!Calendar;~150;-TSOFT2;~150;-T1" icon="-2" height="30" action="storageWindowsStart MenuCalendar.lnk">


        <errortitle>


      <text>Busy</text>


   	 </errortitle>


        <errormessage>


      <text>Calendar busy</text>


   	 </errormessage>


   	 <label>


      <text>New appointment</text>


   	 </label>


    </shortcut>


 	 </plugin>


  </shortcut>




  <!-- row1 col5: ringtone-->


  <shortcut width="100%" >


 	 <plugin wrap="0" height="30" width="100%" clsid="{A2536C58-6AC2-4c31-9542-B144B0E9D077}">


    <format font-size="16" />


    <format state="selected" font-size="16" />


    <errortitle>


   	 <text>Busy</text>


    </errortitle>


       <errormessage>


   	 <text>Settings are in use</text>


    </errormessage>


    <label>


   	 <text><ringtone/></text>


    </label>


 	 </plugin>


  </shortcut>


	</plugin>




	<!-- row 2 -->


	<plugin height="30" width="100%" group="p" handlekeys="CHILD" clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}">


  <format font-size="12"/>


  <format state="selected" bgcolor="transparent" font-size="12"/>


  <background />




  <!-- row2 col1: clock -->


  <shortcut width="100%">


 	 <plugin clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}" height="40" handlekeys="CHILD" width="100%">


    <shortcut width="100%" wrap="0">


   	 <plugin file="sysplug.dll" clsid="{44FA0F8C-082F-42b4-BE49-82559F23D5D4}"  height="40" halign="center" >


      <format bgcolor="transparent"/>


      <background bgcolor="transparent"/>


          <time font-face="A.C.M.E. Secret Agent" font-size="52" mode="24" halign="center" />


   	 </plugin>


    </shortcut>


 	 </plugin>


  </shortcut>




  <!-- row2 col2: portal line 2-->


  <shortcut width="100%">


 	 <plugin clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}" height="20" handlekeys="CHILD" width="100%">


    <shortcut width="100%" wrap="0">


   	 <plugin file="sysplug.dll" clsid="{44FA0F8C-082F-42b4-BE49-82559F23D5D4}" height="20" halign="center" >


      <format bgcolor="transparent"/>


      <background bgcolor="transparent"/>


          <date font-face="A.C.M.E. Secret Agent" font-size="27" mode="short"/>   	 


   	 </plugin>


    </shortcut>


 	 </plugin>


  </shortcut>


  




  <!-- row2 col3: send picture -->


  <shortcut width="100%" height="20">


 	 <plugin height="20" width="100%" handlekeys="FOCUS" clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}">


    <format font-size="16" />


    <format state="selected" font-size="16" />


                  <shortcut width="100%" action="windowscamera.exe" args="-i" icon="" height="20">


   	 <label>


      <text>Send a picture</text>


   	 </label>


    </shortcut>


 	 </plugin>


  </shortcut>


  


  <!-- row2 col5: profile -->


  <shortcut width="100%">


 	 <plugin valign="center" width="100%" height="20" handlekeys="FOCUS" clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}">


    <shortcut width="100%">


    <plugin file="sysplug.dll" clsid="{95976968-45D5-40c9-9779-2B859B1C2FEC}"  width="100%" height="19">


   	 <format  />


   	 <format state="selected" font-size="16" />


   	 <label >


      <text font-size="16">Profile: <profile/></text>


   	 </label>


    </plugin>


    </shortcut>


 	 </plugin>


  </shortcut>  


	</plugin>




	<!-- row 5: calendar appointments --> 


	<plugin clsid="{A2536C55-6AC2-4c31-9542-B144B0E9D077}" height="30" width="100%" wrap="1" autohide="1" autoheight="1">


  <format font-size="14"  />


  <format font-size="14" state="selected"  />


  <label><text><time/><endtime/> <subject/><location/></text></label>


	</plugin> 




	<!-- row 6: all-day event --> 


	<plugin clsid="{A2536C55-6AC2-4c31-9542-B144B0E9D077}" height="30" width="100%" wrap="1" autohide="1" autoheight="1" b-border-width="2">


  <format font-size="14"  />


  <format font-size="14" state="selected"  />


  <label><text><event/></text></label>


	</plugin>  


</home>

Guest crafty
Posted

Hey Mr Magoo, thats exactly what i'd decided to do already, having the message plug below the top icons so that it is displayed. It's a shame as it's not quite as good as a full screen alert but never mind.

You seem to understand this plugin a little better, do you know what the attribute wrap="x" does?

Guest MrMagoo
Posted
Hey Mr Magoo, thats exactly what i'd decided to do already, having the message plug below the top icons so that it is displayed.  It's a shame as it's not quite as good as a full screen alert but never mind.

You seem to understand this plugin a little better, do you know what the attribute wrap="x" does?

Not a clue m8... :?

unless it just means wrap the text if it is too wide?

Guest crafty
Posted

Just a little tip for anyone wanting to put this into your homescreen. Instead of having to send yourself texts or delivery report you can mark a message as unread in your inbox which has the same effect as recieving a new text. MUCH easier way of doing things! 8)

Wish i'd found this earlier :)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.