Jump to content


.:NEW:. Smartphone 2003 Alarm Plug-in ~~

- - - - -

31 replies to this topic

#1
Richie M

Richie M

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,071 posts
  • Location:Stoke on Trent, England
I've finally got round to coding a 2k3 version of my popular Alarm plug-in  :mrgreen:
Its even quicker than the Orange one :D and unlike my original version it takes you straight to the actual alarm time.

As before, the included Homescreen is just added to show it and unfortunately the plugin isnt very customisable yet :|

At some time i'll get round to doing a complete re-code of it, which will hopefully give you more control of its formatting via the home XML!

If you've used my previous version (see link in my sig) you'll know what to expect, if you havent used it, dont expect too much  :lol:

Attached Files



#2
kjk

kjk

    Addict

  • Members
  • PipPipPipPipPip
  • 751 posts
  • Location:Norway
now i can buy a wm2003 smartphone  :lol:
great work!! it'll be a most used plugin on wm2003  :D


#3
mwille

mwille

    Diehard

  • Members
  • PipPipPipPip
  • 420 posts
  • Location:Netherlands
  • Devices:HTC S710
Yeeeeeeeeeesssssssss !

Richie rules  8)

First: Original SPV (Canary) > then: SPV-C500 > then: Qtek 8310 and HTC Wizard > then: HTC S710 > Now: Apple iPhone :)

**If electricity comes from electrons, does that mean that morality comes from morons ?**

#4
encece

encece

    Blackjack'd

  • Members
  • PipPipPipPipPipPip
  • 4,246 posts
  • Gender:Male
  • Location:Mt Laurel, NJ USA
  • Interests:The details of my life are quite inconsequential... very well, where do I begin? My father was a relentlessly self-improving boulangerie owner from Belgium with low grade narcolepsy and a penchant for buggery. My mother was a fifteen year old French prostitute named Chloe with webbed feet. My father would womanize, he would drink. He would make outrageous claims like he invented the question mark. Sometimes he would accuse chestnuts of being lazy. The sort of general malaise that only the genius possess and the insane lament. My childhood was typical. Summers in Rangoon, luge lessons. In the spring we'd make meat helmets. When I was insolent I was placed in a burlap bag and beaten with reeds- pretty standard really. At the age of twelve I received my first scribe. At the age of fourteen a Zoroastrian named Vilma ritualistically shaved my testicles. There really is nothing like a shorn scrotum... it's breathtaking- I highly suggest you try it.
  • Devices:iPhone4
  • Twitter:@nickcornaglia
Nice Richie! Thanks for taking the time.

-Nick

#5
Dumdidum

Dumdidum

    Diehard

  • Members
  • PipPipPipPip
  • 380 posts
  • Gender:Male
  • Location:Bern, Switzerland
Hi Richie

Thanks a lot, it's working really good

As far as I see, the text-color if selected is taken from COLOR_HIGHLIGHTTEXT! Can this be changed?

Only thing: If I am in the settings-menu and then press the home-button (so settings-menu stays open) and then I select the alarm-plugin it is stuck in the settings-menu and I have to take out the battery. Could you confirm this? It's not really serious if you know that you have to close the settings-menu correctly...


Thanks

Sven

Dumdidum - Moderator of www.mobiledevices.ch - best german website for smartphone and pocketpc!
Homescreen Designer, Media Remote and Powerpoint Remote? => visit www.ruttensoft.com
MobileHelp - Remote Support for your Windows Mobile Device => www.mobilehelp.ch

#6
Richie M

Richie M

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,071 posts
  • Location:Stoke on Trent, England

Quote

As far as I see, the text-color if selected is taken from COLOR_HIGHLIGHTTEXT! Can this be changed?

Only thing: If I am in the settings-menu and then press the home-button (so settings-menu stays open) and then I select the alarm-plugin it is stuck in the settings-menu and I have to take out the battery. Could you confirm this? It's not really serious if you know that you have to close the settings-menu correctly...


Thanks

Sven
Yeah unfortunately at the moment to change the text colour you do have to change COLOR_HIGHLIGHTTEXT, this is due to two reasons, one COLOR_HOMEHIGLIGHTTEXT is not support as standard in the SDK :roll: and partly due to some problems i've had reading in the XML to the plug-in, Hopefully this will change in a future version.

As for getting stuck in the menu; i dont think i can do anything about that unfortunately.  But in a future version i am planning on using my own app to set the alarm, so this will banish this problem :lol:


#7
Dumdidum

Dumdidum

    Diehard

  • Members
  • PipPipPipPip
  • 380 posts
  • Gender:Male
  • Location:Bern, Switzerland
Thanks a lot for your answer...

Great release!

Sven

Dumdidum - Moderator of www.mobiledevices.ch - best german website for smartphone and pocketpc!
Homescreen Designer, Media Remote and Powerpoint Remote? => visit www.ruttensoft.com
MobileHelp - Remote Support for your Windows Mobile Device => www.mobilehelp.ch

#8
hubono

hubono

    Newbie

  • Members
  • Pip
  • 9 posts
hello there,
i uninstalled the previous version and installed the latest. for some reason it doesnt take me to the alarm settings. im using an mpx200 with wm2003. it takes me to owner information which one below the date and time settings.

any comments

cheers


#9
arman68

arman68

    Regular

  • Members
  • PipPip
  • 63 posts
Great. I will try it and let you know what I find. Until now I have been using the one labelled as v1 in the other thread, as it is the only one with a transparent background. FYI it works well in WM2003 as long as the settings menu is rewritten.

Rather than calling the date control panel, why don't you include a custom alarm control panel and call it from your plugin? The reason I think it is better, is the default date control panel stops the clock for as long as it is used, making the tim innacurate.

Here is the one I use (saved as alarm.cpl.xml):
<stinger-controlpanel-doc>

	<cpl-title res="30013"/>

	<characteristic type="Clock">

  <parm-query name="AlarmOn"/>

  <parm-query name="AlarmTime"/>

	</characteristic>

	<characteristic type="DeviceInformation">

  <parm-query name="BatteryStrength"/>

	</characteristic>

</stinger-controlpanel-doc>

Ideally I would also like to include the alarm sound settings but can't get it to work. I tried a few things, the latest saved on my HD is:
<stinger-controlpanel-doc>

	<cpl-title res="30030"/>

	<menu clsid="{89945303-BCBE-4774B231-0F47112586D6}"/>

	<menu clsid="{E64D0F99-A3E3-4D4D-94AB-BB090ACE0431}"/>

	<event-listener clsid="{89945303-BCBE-4774B231-0F47112586D6}"/>

	<characteristic type="Clock">

  <parm-query name="AlarmOn"/>

  <parm-query name="AlarmTime"/>

	</characteristic>

	<characteristic type="Sounds">

  <characteristic type="HKCUControlPanelSounds">

 	 <characteristic type="Clock">

    <parm-query name="Sound" refresh="1"/>

 	 </characteristic>

  </characteristic>

	</characteristic>

	<characteristic type="DeviceInformation">

  <parm-query name="BatteryStrength"/>

	</characteristic>

</stinger-controlpanel-doc>


#10
arman68

arman68

    Regular

  • Members
  • PipPip
  • 63 posts
I have not tried the plugin yet, but I think you can call a settings control panel directly rather than emulating keypresses:

23#"Windowssettings.exe" alarm.cpl.xml


#11
Richie M

Richie M

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,071 posts
  • Location:Stoke on Trent, England

Quote

hello there,  
i uninstalled the previous version and installed the latest. for some reason it doesnt take me to the alarm settings. im using an mpx200 with wm2003. it takes me to owner information which one below the date and time settings.
That will be because your menu is set out differently, as the plug-in uses key presses to get to the settings, i.e. 9 then 3.  The only way around this would be to code a different version - but as there is no official 2k3 ROM for the mpx200 and the fact that i dont have a mpx200 i wont be doing this, sorry.

arman68, i havent played with the cpl's before :| and i never knew/realised that the default date cpl stops the clock  :shock: i'll investigate this and may use in a future version :lol:


#12
zzp9cj

zzp9cj

    Newbie

  • Members
  • Pip
  • 23 posts
Does this show up on the standard C500 Homescreen ???  :?


#13
Richie M

Richie M

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,071 posts
  • Location:Stoke on Trent, England

Quote

Does this show up on the standard C500 Homescreen ???  :?
It wont show on any homescreen unless you add the code to its xml (easiest way is to rip the relevant code from the example i included) but as the standard c500 screen uses it as a single plug-in it wont work or look right


#14
MadTxn

MadTxn

    Newbie

  • Members
  • Pip
  • 14 posts

Quote


Rather than calling the date control panel, why don't you include a custom alarm control panel and call it from your plugin? The reason I think it is better, is the default date control panel stops the clock for as long as it is used, making the tim innacurate.

Here is the one I use (saved as alarm.cpl.xml):
<stinger-controlpanel-doc>

	<cpl-title res="30013"/>

	<characteristic type="Clock">

  <parm-query name="AlarmOn"/>

  <parm-query name="AlarmTime"/>

	</characteristic>

	<characteristic type="DeviceInformation">

  <parm-query name="BatteryStrength"/>

	</characteristic>

</stinger-controlpanel-doc>

I can't get this to work (mpx200, SP2003).  The shortcut says that the file can't be loaded.  Any idea what I'm doing wrong?


#15
sn1p3t

sn1p3t

    Newbie

  • Members
  • Pip
  • 18 posts
If you already have the settings window open (and you hit home so it's still open), selecting the alarm will crash the phone (SMT5600).


#16
Richie M

Richie M

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,071 posts
  • Location:Stoke on Trent, England

Quote

If you already have the settings window open (and you hit home so it's still open), selecting the alarm will crash the phone (SMT5600).

Yeah this has been said above (and it also happened in the original SPV version) i dont think i can do anything about that unfortunately. But in a future version i am planning on using my own app to set the alarm, so this will banish this problem. Easiest way around it is to make sure you exit out (press back instead of home, or dont let it timeout) of the settings menu :lol:


#17
LHospita1

LHospita1

    Newbie

  • Members
  • Pip
  • 6 posts

Quote

That will be because your menu is set out differently, as the plug-in uses key presses to get to the settings, i.e. 9 then 3.  The only way around this would be to code a different version - but as there is no official 2k3 ROM for the mpx200 and the fact that i dont have a mpx200 i wont be doing this, sorry.

please... please code a "9 then 2" version, I guess most mpx200 user with 2k3 rom are in that order.


#18
rortec

rortec

    Newbie

  • Members
  • Pip
  • 20 posts
  • Interests:Motorsport/electronics
Excellent, thank you


#19
chucky.egg

chucky.egg

    Did I say that out loud?

  • MoDaCo Ad Free
  • PipPipPipPipPipPip
  • 4,724 posts
  • Location:Kent, England
  • Interests:Sleeping
  • Devices:Desire S
  • Twitter:@chucky_egg
A note to the other dolts like me:
If you've never set your alarm to On you get the following message: "Alarm:Read Registry problem"

Set the alarm, and turn it back off if you don't want it, and hey presto - IT WORKS!

Cool, thanks Richie, and I apologise for questioning your parents marital status. :wink:


#20
SO333

SO333

    Newbie

  • Members
  • Pip
  • 4 posts

Quote

Quote

That will be because your menu is set out differently, as the plug-in uses key presses to get to the settings, i.e. 9 then 3.  The only way around this would be to code a different version - but as there is no official 2k3 ROM for the mpx200 and the fact that i dont have a mpx200 i wont be doing this, sorry.

please... please code a "9 then 2" version, I guess most mpx200 user with 2k3 rom are in that order.

Yes, I think all MPX200 2k3 users with the "international" ROM installed have this problem. It might be working on the "Fartman-version", but this is the german version.

I do not think that you have to spend much time to code a "9 then 2" version, but this would make lots of users happy  :lol:





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users