smartmadsoft    
 | Forums | Sign Up | Reply | Search | Statistics | | |
Windows Mobile smartmadsoft / Forum / Windows Mobile /

3rd party notifications support in smartWatchM

 Page:  1  2  »» 
smartmadsoft
Admin
#1 | Posted: 6 Jul 2008 11:20 | Edited by: smartmadsoft
Reply 
New smartWatchM API - this is the 3rd party notification support replacement, recomended to use instead of the file comunication.


This allow anyone to create a custom notification - vibrate the watch, display envelope and two lines of text.
To display this notification, just create or edit any *.txt file in smartWatchM\ext directory. (Read the smartWatchM directory from HKLM\Software\smartmadsoft\smartwatchm, Path).
To display the two lines, save these two lines (separated by new line) as a content of this txt file.
To customize the notification, put any of following commands in the filename. (For example My_notification_EnvelopeOn_TextOff.txt will display only envelope and vibrate.)

Copy .bmp file (96x16, monochrome) to smartWatchM\ext to display it on the screen. (Default timeout is 7 seconds, but it can be changed in registry - MessageDisplayTime)

EnvelopeOn - display envelope and vibrate (cannot be turned off)
EnvelopeOff (default) - not to display envelope

VibrateOn (default) - vibrate
VibrateOff - not to vibrate

TextOn (default) - load and display content of txt file
TextOff - not to display any text

AutoscrollOn (default) - scrollable display up to 192x16 px (MBW-150/200 only)
AutoscrollOff - standard 96x16 px, no arrow, no flicking

FulltextOff (default) - displays 2 lines
FulltextOn - displays the whole text

Currently not working...
CIDOff (default) - no Caller ID
CIDOn - displays text as Caller ID (one text line)
hacqua
Member
#2 | Posted: 3 Dec 2008 00:35 | Edited by: hacqua
Reply 
You read my mind, I was about to ask for this exact feature! One question, does this work with LM958? If yes, does the text scroll to show the entire line? Thanks and keep the excellent work!!!
smartmadsoft
Admin
#3 | Posted: 3 Dec 2008 13:15
Reply 
Kilrah
Member
#4 | Posted: 15 Jan 2009 10:42
Reply 
smartmadsoft:
New in version 1.2.0.6 (beta):

AutoscrollOn (default) - scrollable display up to 192x16 px (MBW-150/200 only)
AutoscrollOff - standard 96x16 px, no arrow, no flicking

FulltextOff (default) - displays 2 lines
FulltextOn - displays the whole text

I just tried the beta, and frankly can't see the difference between these 2 options... other than FullTextOn will wordwrap and ignore CRLF's in the text file... can you explain what it's supposed to be? With both sometimes the calling sign and the first bit of text briefly appears before the display turns to 2 lines, even if there are only 3 chars in the file.

Other than this the extra pixels of the arrow are put to use, I can now add the units to the values

And thanks for the change in update rate... I've now moved sWM to an old 1GB storage Card not to Kill my Flash memory with writes every 1 sec though ;)
smartmadsoft
Admin
#5 | Posted: 15 Jan 2009 11:02
Reply 
Fulltext displays the entire content of the text file... All the text. Just try sending 10 kB file and you will see.
Kilrah
Member
#6 | Posted: 15 Jan 2009 11:22
Reply 
Oh yes, OK.
So I guess the CRLFs being stripped is a bug?
smartmadsoft
Admin
#7 | Posted: 15 Jan 2009 11:29
Reply 
It's on purpose. New lines are removed, spaces are reduces and regex.txt is processed. (Just because its primary functionality is for quick viewing emails/sms).
Kilrah
Member
#8 | Posted: 15 Jan 2009 11:48 | Edited by: Kilrah
Reply 
OK. Maybe turn the newlines into spaces then? Makes it a tad clearer...
hacqua
Member
#9 | Posted: 4 Mar 2009 03:25
Reply 
Hello moneytoo!

Finally my LM-958 arrived, but I'm having a hard time trying to make the 3rd party notifications work with it. I edited a file directly on the \ext directory following the instructions above, but nothing happens. I also restarted and reinstalled the program. Is there anything else I can try?
smartmadsoft
Admin
#10 | Posted: 4 Mar 2009 19:35 | Edited by: smartmadsoft
Reply 
Seems like I added the the necessary code but I assigned it to wrong device. I will fix it soon.

Edit: I haven't tested it, but it should work. (Only first 3 commands supported.)
http://beta.smartmadsoft.com
hacqua
Member
#11 | Posted: 5 Mar 2009 19:24
Reply 
Thanks for the quick update, but unfortunately it still seems not to work. I even wrote a little app to throw something at \ext, but with no success. Please let me know if I can help you in any way.
smartmadsoft
Admin
#12 | Posted: 7 Mar 2009 16:21
Reply 
hacqua
I have just tested it and it works fine. Only the vibrate didn't worked but I have fixed it.
Make sure Settings -> Notify Events -> External is enabled. Try to just copy a .txt file to \ext directory.
hacqua
Member
#13 | Posted: 10 Mar 2009 14:56 | Edited by: hacqua
Reply 
Now it works, thank you very much!!!

Just want to report two issues:

1) Files remain in \ext after being processed, I think they should be removed to conserve space.

2) Several times I noticed notifications not being shown because the program exited unexpectly. I'm not sure it this is related to custom notifications though.
smartmadsoft
Admin
#14 | Posted: 10 Mar 2009 18:41
Reply 
1) This is up to the application/user that created the file

2) Try the beta.smartmadsoft.com and set in HKLM\Software\smartmadsoft\smartwatchm FSWait to some higher value. Try setting 1000 or 2000.
lakin
Member
#15 | Posted: 10 Mar 2009 23:10 | Edited by: lakin
Reply 
Just trying the latest beta (last time i tried these notifications i couldnt get it to work). I have an MBW-150. Couple of issues:

The AutoscrollOff which promises no flicking does flash the incoming call icon, then the text in a single line, then the expected result: text in 2-line with no arrow. Is that normal?

And the CIDOff/On setting doesnt seem to change anything for me?

Finally, a request: Would it be possible to be able to provide a .bmp (or similar) to display an image at will? Im not fussy about if theres an arrow or not but would prefere no other icons flashing (not sure if thats possible if you use the caller-id to display?)

Many thanks,
Paul
 Page:  1  2  »» 
Your reply
Bold Style  Italic Style  Image Link  URL Link     :) ;) :-p :-( More smilies...  Disable smilies in post

To prove that you are a human rather than spambot, please answer the following question:
How much is 6 + 5?
» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.
 

Forums are powered by miniBB®