Just finished my first app 😊 It was actually more a coding test than a app but I know some people wanted something like this, so I'll publish it.
What it does:
Only thing it does is open a new sms 😊
Requires:
OPL Runtime found here:
http://www.symbian.com/developer/downloads/v6oplrun.html
I hope you like it, and hope evenmore that it works 😉
Greetz Dazler
It's a great idea, but I can't get it to work. When I launch your app, I get the error message:
"Error in NEWSMS\GETSMSKEY%"
"Does not exist"
Any ideas what the problem may be? I've got the OPL runtime installed.
Oh man... i'm so proud of you, Dazler...
What??? it doesn't work??? errr... help this dude pls... err somebody??
Anyway... congrats for your first OPL baby!!!
Hello,
Nice app, well done! It works fine for me with version 4.13!
Omar, do you still have the first OPL runtime on your 9210?
Regards,
Tilman
Yeah I only tested it with the opl beta edition, the latest I could find on symbian. If the problem remains, just give me a call, I'll look in to it 😊
And thx Nik 😉
I downloaded the OPL Runtime module from the link you posted, installed that then tried your app. I think there's osmething fishy with my OPL installation because the demo file that comes in the Zip doesnt work either.
I've tried reinstalling but to no avail. I'll try agin, sod's law though isnt it, the one function i've always wanted from my 9210, and now it's here, FREE and i cant use it 😃
Does it make a difference if I install the OPL onto C:\ or D:\ ?
It shouldn't, I have installed OPL on D:.
Cool so it ain't my program that causes the problem 😉))
Maybe Ewan knows a sollution, must have been somebody else on this world with that problem 😊
I claim that last post to be mine 😉
to Dazler: kudos!! great job, keep us posted for any next versions. will try your new OPL creation after this! good luck.
Nice one Dazler my friend... how about the source code too for other people to learn?
rafe
I STILL cant get it to work. :cry:
I think it may be because I have firmware version V3.54? I can't even get an upgrade because my 9210 is from Germany, while I'm from the UK.
I'll keep trying to get it working, it's the one app (along with a better version of Active Desk) that i've always wanted.
Omar
Can the version really be the reason? Where are the OPL experts? Maybe they can help us here, but I'm still suspicious that it might depend on version. Dazler, are you running as well on 4.13?
Regards,
Tilman
This OPL exepert is watching his wife give birth to their first daughter. I'll see what i can help with midweek
Woohooooo nice one Ewan, congratz 😊 Do you have a name for her?
My version of firmware is 3.18(1)
I'm normally not a open-source person but 9210 needs more freestuff so encouraging people to make it is a nice goal 😉
[code:1]
include "const.oph"
rem here you place your uid that you get from symbian
rem also the app name and icon goes here
DECLARE EXTERNAL
INCLUDE "System.oxh"
INCLUDE "SendAs.oxh"
INCLUDE "newsms.tph"
rem newsms.tph just includes the different procedures in this program
rem main thingie :)
PROC Main:
LOCAL key%,dia%
OpenNew:(GetSmsKey%:)
STOP
ENDP
rem get the appropiate sms uid
rem sauid contains all available uids to send 2 (mail,fax,sms)
rem KUidMtmSMSValue& contains the sms uid.
PROC GetSmsKey%:
LOCAL i%,SaMaxTypes&,key%
i%=1
SaScanSendAsTypes:
SaMaxTypes&=SaMaximumTypes&:
WHILE i%<=SaMaxTypes&
IF SaUid&:(i%)=KUidMtmSMSValue&
key%=i%
i%=SaMaxTypes&
ENDIF
i%=i%+1
ENDWH
RETURN key%
ENDP
rem open a new sms by using the index found by the uid
PROC OpenNew:(key%)
LOCAL body&
BUSY "Creating new sms"
body&=SaNewBody&:
SaPrepareMessage:(key%)
SaSetBody:(body&)
SaLaunchSend:
SaDeleteBody:
BUSY OFF
ENDP
[/code:1]
Hi all,
I did tried out that Dazlers program - it works fine on my Nokia 9210 v. 3.54 from Germany - so, Omar, it's not the Problem with your, cause I have the same configuration and origin.
Tha program at itself is really useful and I have added it to my desktop, thanx again, dear Dazler and keep on!
Thx 😉
My best guess Omar is that your SendAs.opx module ain't the latest.
The info of my sendas module (control panel - install/remove):
SendAs OPX Symbian Ltd 0.30
Actually I should check all those opx for versions on install but didn't have the time to figure that out.
Greetz
My best guess Omar is that your SendAs.opx module ain't the latest. The info of my sendas module (control panel - install/remove):
SendAs OPX Symbian Ltd 0.30
Mine is 0.30 too.
By the way, I really appriciate everybody's help. Rafe has created a home for a great community.
Mushy stuff over with, the link you provided installs the following on my system:
AppFrame OPX Symbian Ltd. 0.30 (8kb)
OPL Runtime Symbian LTD. (389kb)
SendAs OPX Symbian Ltd 0.30 (8Kb)
System OPX Symbian Ltd. 0.30 (16kb)
Am I missing anything or are any of the file sizes wrong?
-Omar
Hello Omar,
I checked my OPXes and OPL and it is exactly the same.
Regards,
Tilman
P.S. Congrats Ewan for your daughter, you will have a lot of fun with her :P , ours is now 10 months... Well maybe we should move this topic to the community waffle
Mushy stuff over with, the link you provided installs the following on my system: AppFrame OPX Symbian Ltd. 0.30 (8kb)
OPL Runtime Symbian LTD. (389kb)
SendAs OPX Symbian Ltd 0.30 (8Kb)
System OPX Symbian Ltd. 0.30 (16kb)
Am I missing anything or are any of the file sizes wrong?
-Omar
Firstly, belated congratulations Ewan on the birth of your daughter.
😃
Does anybody, have ANY idea what may be wrong with my communicator?! I really want to be able to open an sms from desk!
-Omar
Do you still get the same error message?
Take a look at the source code. For some reason the "Get SmsKey%" does not run in your machine, but you have the same "setting" as Leo and in his machine it works, strange... 😮
I'm trying to get into the whole OPL stuff, but this requires an expert.
Ewan, do you have time between porting more levels for Vexed to get to the bottom of this challenge? 😉
I'm curious to hear what the problem is and sorry that I can't help you more.
Regards,
Tilman
Thanks for your help guys,
I finally managed to get it working. I formated the entire thing, both the 9210 and the MMC and have finally got it working. I'm restoring apps & data piece by piece until I find out what caused the error. It's taken me 4 hours to just put back my Contacts, Profiles, Bookmarks, and a couple of 'Must have' apps.
Thanks again guys!
I didn't want to suggest this drastic step, but apparently it helped. Good luck for restoring your 9210
😊 Glad it works now ... just a pitty you had to spend so much time in it :s